Skip to main content

Recreate foreign principal role assignment (for CSP)

As a CSP, you may need to recreate the foreign principal role assignment on a customer subscription. First, you need to get the ID of your “AdminAgents” security group from the Azure Active Directory of your CSP tenant.

Then, using Azure CLI, connected with a user having appropriate IAM role to assign roles on the subscription:

az role assignment create --assignee <AdminAgents_group_id> --role "Owner" --scope "/subscriptions/<subscriptionID>"
Close Menu

WHERE TO FIND US


PARIS

Bâtiment Crisco Duo
7 avenue de la Cristallerie
92310 Sèvres, France

NANTES

Centre d’affaires Euptouyou
4 rue Edith Piaf Immeuble Asturia C
44800 Saint-Herblain, France

PHONE

+33 1 46 48 26 00

EMAIL

[email protected]