web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Managing Partner Center / Admin Center with their APIs

(0) ShareShare
ReportReport
Posted on by 5

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.

  • issue #1 : i have a lot of customers (100+)
    issue #2 : to add things manually is time consuming. asking 100+ customers to add my app in their tenant and grant me consent so i can manage their admin center is going to take a lot of time 
  • issue #3 : i have the GDAP , i don't know why i can't access their tenant with api

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.

I have the same question (0)
  • Community member Profile Picture
    2 on at
    Did you get this to work?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans