-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed
Labels
AADAzAd cmdlets in Az.ResourcesAzAd cmdlets in Az.Resourcesfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.
Description
Description
This might be a duplicate, but creating it for an issue tracker product. Azure/Azure-Landing-Zones#3230
Get-AzContext doesn't always grab the UPN.
Steps to reproduce
#sign in to Azure from Powershell, this will redirect you to a web browser for authentication, if required
Connect-AzAccount
Get the UPN from this:
(Get-AzContext).Account
(Get-AzContext).Account.Id
``simone-bennett
Metadata
Metadata
Labels
AADAzAd cmdlets in Az.ResourcesAzAd cmdlets in Az.Resourcesfeature-requestThis issue requires a new behavior in the product in order be resolved.This issue requires a new behavior in the product in order be resolved.