-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Azure PS TeamTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported
Description
Description
StepsToReproduce:
On Windows 11 (Ent) install PowerShell 7.5.4
Install latest greatest Az modules with Install-Module -Name Az
All installed\updated components listed below:
WARNING: The version '5.3.0' of module 'Az.Accounts' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.1.1' of module 'Az.Advisor' is currently in use. Retry the operation after closing the applications.
WARNING: The version '7.0.0' of module 'Az.Aks' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.2.0' of module 'Az.AnalysisServices' is currently in use. Retry the operation after closing the applications.
WARNING: The version '4.1.0' of module 'Az.ApiManagement' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.0.1' of module 'Az.App' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.0.0' of module 'Az.AppConfiguration' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.3.1' of module 'Az.ApplicationInsights' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.ArcResourceBridge' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.ArizeAI' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.1.1' of module 'Az.Attestation' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.Automanage' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.11.2' of module 'Az.Automation' is currently in use. Retry the operation after closing the applications.
WARNING: The version '3.7.1' of module 'Az.Batch' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.2.0' of module 'Az.Billing' is currently in use. Retry the operation after closing the applications.
WARNING: The version '5.0.1' of module 'Az.Cdn' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.1.1' of module 'Az.CloudService' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.16.0' of module 'Az.CognitiveServices' is currently in use. Retry the operation after closing the applications.
WARNING: The version '10.4.0' of module 'Az.Compute' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.ConfidentialLedger' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.ConnectedMachine' is currently in use. Retry the operation after closing the applications.
WARNING: The version '4.1.2' of module 'Az.ContainerInstance' is currently in use. Retry the operation after closing the applications.
WARNING: The version '4.3.1' of module 'Az.ContainerRegistry' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.18.2' of module 'Az.CosmosDB' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.2.1' of module 'Az.DataBoxEdge' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.10.1' of module 'Az.Databricks' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.19.5' of module 'Az.DataFactory' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.0' of module 'Az.DataLakeAnalytics' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.5.0' of module 'Az.DataLakeStore' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.DataMigration' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.7.0' of module 'Az.DataProtection' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.DataShare' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.DataTransfer' is currently in use. Retry the operation after closing the applications.
WARNING: The version '5.4.1' of module 'Az.DesktopVirtualization' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.0.2' of module 'Az.DevCenter' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.0' of module 'Az.DevTestLabs' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.3.2' of module 'Az.Dns' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.DnsResolver' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.4.1' of module 'Az.ElasticSan' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.2.0' of module 'Az.EventGrid' is currently in use. Retry the operation after closing the applications.
WARNING: The version '5.4.0' of module 'Az.EventHub' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.Fabric' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.FirmwareAnalysis' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.13.0' of module 'Az.FrontDoor' is currently in use. Retry the operation after closing the applications.
WARNING: The version '4.2.1' of module 'Az.Functions' is currently in use. Retry the operation after closing the applications.
WARNING: The version '6.4.0' of module 'Az.HDInsight' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.1.1' of module 'Az.HealthcareApis' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.HealthDataAIServices' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.8.0' of module 'Az.IotHub' is currently in use. Retry the operation after closing the applications.
WARNING: The version '6.4.0' of module 'Az.KeyVault' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.4.0' of module 'Az.Kusto' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.0' of module 'Az.LambdaTest' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.1.1' of module 'Az.LoadTesting' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.6.0' of module 'Az.LogicApp' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.2.0' of module 'Az.MachineLearning' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.2.0' of module 'Az.MachineLearningServices' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.5.1' of module 'Az.Maintenance' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.0.0' of module 'Az.ManagedServiceIdentity' is currently in use. Retry the operation after closing the applications.
WARNING: The version '3.1.2' of module 'Az.ManagedServices' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.2.0' of module 'Az.MarketplaceOrdering' is currently in use. Retry the operation after closing the applications.
WARNING: The version '2.10.0' of module 'Az.Migrate' is currently in use. Retry the operation after closing the applications.
WARNING: The version '6.0.3' of module 'Az.Monitor' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.5.0' of module 'Az.MySql' is currently in use. Retry the operation after closing the applications.
WARNING: The version '7.21.0' of module 'Az.Network' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.2.1' of module 'Az.NetworkCloud' is currently in use. Retry the operation after closing the applications.
Run command:
New-AzADAppCredential -ObjectId 12345678-0000-0000-0000-123456789123 -CustomKeyIdentifier test -EndDate $(Get-Date).AddDays(1)
Issue script & Debug output
PowerShell window show error:
`New-AzADAppCredential: No Azure login detected. Please run 'Connect-AzAccount' to log in.`
and immediately closed upEnvironment data
Name Value
---- -----
PSVersion 7.5.4
PSEdition Core
GitCommitId 7.5.4
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Module versions
ModuleType Version PreRelease Name
---------- ------- ---------- ----
Script 5.3.0 Az.Accounts
Script 8.1.1 Az.ResourcesError output
Metadata
Metadata
Assignees
Labels
Azure PS TeamTrackingWe will track status and follow internallyWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported