Closed mattyt0406 closed 4 years ago
Hi @mattyt0406 . thanks for your feedback! Could you tell us which GovCloud are you using?
Fairfax
Hi @wyunchi-ms just checking in to see if any updates?
Hi @mattyt0406 , sorry for the late response.
GraphUrl
of the cloud you are using. You can get the info by executing
Get-AzEnvironment | fl
AzureUSGovernment
@mattyt0406 , do you have permission to view service principals in portal using your account ***@directory.va.gov (i.e. Azure AD->App registration-> All applications)? If you do have the permission, probably it is service related issue, and I'll route to service team.
BTW, are you able to successfully run other cmdlets like Get-AzSubscription? And how about
New-AzADServicePrincipal -DisplayName erichtest1
Erich, yes global/sub admin. I showed this to CSS yesterday that it errors out from both the API standpoint and PowerShell
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @adamedx.
@mattyt0406 , do you still can see the same error? Can you see get service principal on Portal?
@dingmeng-xue - this appears to have been fixed. What was the resolution or what caused the break?
@mattyt0406, I believe it was server side issue. We have no information because no service API is changed. I close this issue and please contact if you have any further question.
Description
When trying to get all SPNs from AzureAD we are getting multiple errors. We either get InternalServerError or Gateway Timeout PS C:\Windows\system32> get-azadserviceprincipal get-azadserviceprincipal : Operation returned an invalid status code 'InternalServerError' At line:1 char:1
Steps to reproduce
Environment data
Module versions
Debug output
Error output