-
Couldn't load subscription status.
- Fork 23
Export‐PIMAzureResourcePolicy
Loïc MICHEL edited this page Jan 14, 2025
·
3 revisions
Export the rules of rolename at the specified subscription/scope to a csv file
🔷 Export contributor and webmaster role settings at a subscription scope to a CSV file
Export-PIMAzureResourcePolicy -TenantID <tenantID> -SubscriptionId <subscriptionID> -rolename "webmaster","contributor" -export -exportFilename .\EXPORTS\roles.csv| Parameter | description |
|---|---|
$TenantID |
Entra ID TenantID |
$SubscriptionId |
Subscription ID |
$scope |
If you want to manage the role at other scope than subscription |
$rolename |
Name of the role |
$exportFilename |
Path to csv file |