New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-AzureRmSubscription does not return all available subscriptions from other Azure ADs #5255
Comments
@slavizh Can you provide the debug logs during login and switching subscriptions when this occurs? Depending on the details hf how you have access to those tenants, you may need to provide tenantId specifically. The debug logs will tell us. To create debug logs, set $DebugPreference="Continue" |
@markcowl is there secure way to provide those. I do not want they to be exposed publicly here. |
@slavizh Would it be possible to go through and redact the confidential information? We do not need account specific information, just the general information from the logs. |
Hi
|
Turned out this was caused by ARM and AD Graph API issue. We have tracked down the issue to delays in api calls between Azure Resource Manager and Azure Active Directory Graph API. We're following up to get the issue addressed. Sorry for the delay here. Thanks, madhur For more info the following people can be contacted from MSFT: e-mails are intentionally not posted. |
Cmdlet(s)
Get-AzureRmSubscription
PowerShell Version
PS C:\WINDOWS\system32> $PSVersionTable
Name Value
PSVersion 5.1.16299.98
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.98
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Module Version
OS Version
BuildVersion 10.0.16299.98
Description
When I login with MSA account that has access to different subscriptions in different Azure ADs I only see the subscription that is in my Azure AD.
Azure Portal also have issue from time to time displaying all Azure AD's so you can switch to another subscription in another Azure AD.
Some of the values above were intentionally modified to hide sensitive information but the output was from actual execution. As you can see the subscription/tenant I am selecting is not available via Get-AzureRmSubscription cmdlet.
Debug Output
Debug is not provided as it contains sensitive information.
Script/Steps for Reproduction
The description has all the steps needed.
Login with MSA account that has access to subscription under multiple tenants.
The text was updated successfully, but these errors were encountered: