-
Notifications
You must be signed in to change notification settings - Fork 7
Copy‐PIMAzureResourcePolicy
Loïc MICHEL edited this page Jan 26, 2024
·
2 revisions
Copy the rules from role $copyFrom to $rolename at the specified subscription/scope
🔷 Copy settings from the role Contributor to the roles webmaster and role1
Copy-PIMAzureResourcePolicy -TenantID <tenantID> -SubscriptionId <subscriptionID> -rolename "webmaster", "role1" -copyFrom "contributor"
Parameter | description |
---|---|
$TenantID |
Entra ID TenantID |
$SubscriptionId |
Subscription ID |
$SubscriptionId |
If you want to manage the role at other scope than subscription |
$roleName |
Name of the role to configure |
$copyFrom |
Name of the role containing the settings to copy |