Export‐PIMAzureResourcePolicy - kayasax/EasyPIM GitHub Wiki

Description:

Export the rules of rolename at the specified subscription/scope to a csv file

Samples:

🔷 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

Parameters:

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
⚠️ **GitHub.com Fallback** ⚠️