azucar icon indicating copy to clipboard operation
azucar copied to clipboard

Account without access to any subscriptions

Open DavidDeLille opened this issue 4 years ago • 2 comments

I'm trying to use Azucar to retrieve information about only Azure Active Directory. The account I'm using doesn't have access to any subscriptions.

My command and output:

PS C:\SomeDirectory> .\Azucar.ps1 -TenantID <redacted> -ForceAuth -ExportTo CSV,JSON,XML,EXCEL -Analysis ActiveDirectory
https://management.azure.com/subscriptions?api-version=2016-06-01
[Exception][Main][661]:Unable to retrieve resource groups....

I'm guessing the code doesn't account for the possibility of not having any subscriptions, even though I specify to only check Azure AD.

DavidDeLille avatar Jun 17 '20 05:06 DavidDeLille

Same issue. Is having a subscription a requirement or is there a way to pull Azure AD information without this?

mkannan22 avatar Feb 11 '21 22:02 mkannan22

Any updates on this? Having the exact same problem here.

thistehneisen avatar Jul 07 '21 12:07 thistehneisen