Export‐PIMAzureResourcePolicy - kayasax/EasyPIM GitHub Wiki
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 |