Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.24k stars 214 forks source link

Connecting to Partner Center #17

Closed aliyss closed 2 years ago

aliyss commented 2 years ago

I tried connecting to the partner center.

Seems like I get a working Access Token when using the following:

Get-AccessToken -Resource "https://api.partnercenter.microsoft.com" -ClientId "04b07795-8ddb-461a-bbee-02f9e1bf7b46"

Just thought you might want to know.

NestoriSyynimaa commented 2 years ago

Do you have problems with AADInternals when connecting to partner center? Or did you just find working resource/clientid?

aliyss commented 2 years ago

Hiya sry. No I did not have any issues.

Or I'm not sure if the issue was on my side.

What I did with AzureAD is; connect with AADInternals, and then use the Access Token for Connect-AzureAD with the official Module.

The same didnt work when trying to do it with the partner center, or I didnt know which function to use.

But I just found a working resource and client id, which wasnt documented.

NestoriSyynimaa commented 2 years ago

Great to hear!