Get-AzureADDomain should return connected domains.
Get-AzureADUser should return users in the tenant.
Etc.
Is this specific to Cloud Shell?
It seems to be specific to Cloud Shell. However, when testing connectivity from my desktop, I observe that the AccountType is User, not ManagedService:
# Connect-AzureAD on my dekstop does not support the `-identity` parameter.
> connect-azuread
Account Environment TenantId TenantDomain AccountType
------- ----------- -------- ------------ -----------
timatlee@tenant.onmicrosoft.com AzureCloud 110c8ae9-30a5-431f-a1d8-827e3b7077d6 domain.com User
Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example,
by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with,
not in Cloud Shell. Please file the issue with the appropriate project.
To Reproduce
Deleted existing cloud shell storage account
Created new storage account.
Logged into Azure Cloud shell
Run:
Observed Behavior
After connecting, the
get-azuread*
set of cmdlets do not work.Expected behavior
Get-AzureADDomain should return connected domains.
Get-AzureADUser should return users in the tenant.
Etc.
Is this specific to Cloud Shell?
It seems to be specific to Cloud Shell. However, when testing connectivity from my desktop, I observe that the
AccountType
is User, not ManagedService:Please verify if the same issue can be reproduced by running the same tool outside Cloud Shell - for example, by installing it on your own computer. If so, it is likely to be a bug in that tool or in the Azure service it communicates with, not in Cloud Shell. Please file the issue with the appropriate project.
Interface information
https://admin.microsoft.com/Adminportal/Home?#/homepage in Edge on Windows 10.
Additional context
Add any other context about the problem here.