Partner center - automation to add security group to relationships

Jérôme 90 Reputation points
2024-04-23T11:27:47.88+00:00

Hello,

I would like to automate the ways we onboard our customer in partner center. When one of our customer accept the request, we are adding some security groups in the relationships with different Entra delegated roles (Under the tab "admin relationships").

I have tried with powershell module "PartnerCenter" but I didn't find anything to satisfy my needs.

It seems that the answer is more on module "Microsoft.Graph.Identity.Partner" with maybe this "Update-MgTenantRelationshipDelegatedAdminRelationshipOperation" but I didn't found the right command to add a security group with a set of Entra roles.

Does someone know if it's even possible to do that ? If yes, then I will be grateful to have some examples please.

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
{count} votes