lwhitelock / HuduAutomation

72 stars 77 forks source link

M365_Apps_Hudu.ps1 - Permissioned Need in SAM #31

Open davichics opened 1 year ago

davichics commented 1 year ago

Hi Luke

i have this script working, but only if i manually log in to run the line "$Customers = Get-AzureADContract -All:$true"

If i use the SAM app and refresh token Get-AZureADContract retrieves no results, so i assume its a permission missing under the GraphAPI however for the life of me i cant find it

Do you know what permission it would be?

Rhys