Hero Banner

Microsoft Partner Network

Where Microsoft's CSP, MSP, SI, and ISV partners seek new opportunities and learn from each other

Reply
YinonG
Level 1 Contributor

Link a partner ID via API

Hi all,

I'm looking to add the partner ID through service principal.

but I can't find how to do it via RESI API

Is there any guide available? 

3 REPLIES 3
YinonG
Level 1 Contributor

@JanoschUlmer 

Hi Janosh,

Thank you for the response.

I'm looking to forge a PUT request on Postman so I can add the partner ID to the customer.

I tried via PowerShell and got an error

JanoschUlmer
Microsoft

What was the error?

Note that when using PowerShell, you need to be logged in the customer context, and also you need to use a MPN location ID and not the MPN Global ID.

Kind regards, Janosch
Receive consultations via Technical Presales and Deployment Services team
JanoschUlmer
Microsoft

@YinonG : When you look at the sources for this Powershell module that is available for PAL: azure-powershell/PSManagementPartner.cs at main · Azure/azure-powershell · GitHub

, you can find the classes/namespaces used:

JanoschUlmer_0-1644481654798.png

 

Quick search on the namespace resolves to: 

Microsoft.Azure.Commands.ManagementPartner Namespace | Microsoft Docs

Kind regards, Janosch
Receive consultations via Technical Presales and Deployment Services team