First, if this isn’t the right forum, my apologies, and please direct me to the correct one…
I have read, and searched for a week now, and I just don’t seem to get it.
I have a Microsoft Partner Center Global Admin User; “SvcUser”
Using the Partner Center API with this user, I can list all our customers, and get their tennantIds.
Using a TennantId, I gan get the customers users and subscriptions, and all is well.
The App registered in Azure have all the permissions set up…
Now I need to get all domains of a specific tennant… The Partner Center API does not support this, so I turn to Microsoft Graph.
The concept, as I understand it, is to use the “common” endpoint to log in with my “SvcUser” and get a Autherntication code. Then connect to the specific tennant endpoint, supplying the code from the previous step, to get an Authorization token.
Once I have this “Authorization token”, I should be home free…
A.) Can anyone provide me with a clear example on how to implement the Authentication and Authorization calls (C# preferably ) ?
B.) secondary; straighten me out, if all of the above is completely rubbish ?