nccgroup/azucar

Account without access to any subscriptions

DavidDeLille opened this issue · 1 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.

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

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