Announcements
Hey Everyone,
i m trying to create Powershell scripts that will help me manage the customer's admin center, i registred my app in my Microsoft Azure and i have all this permissions granted :
the goal of the app is to get all the customer's tenant id from Partner Center API (working perfectly), those ids will let me access their admin center using the admin center API authentication and manage their envs.
when i try to authenticate in the customer's admin center with my scripts i always get this error:
AADSTS90099: The application 'XXX' (My Application Name) has not been authorized in the tenant 'YYY'.
Applications must be authorized to access the customer tenant before partner delegated administrators can use them.
how can i resolve this ?
should i add my app manually to the customer's admin center tenant Authorized AAD Apps and ask the admin of the admin center tenant to grant my app consent manually? or is there a way to add automatically my app in every customer's tenant that i have using a script and also grant myself consent ? or none of these and i should do something in the customer's azure tenant.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,186 Super User 2024 Season 2
Martin Dráb 227,996 Super User 2024 Season 2
nmaenpaa 101,148