-
Notifications
You must be signed in to change notification settings - Fork 6
Export‐PIMEntraRolePolicy
Loïc MICHEL edited this page Mar 5, 2024
·
2 revisions
Export the rules of rolename to a csv file
🔷 Export configuration of all roles at a subscription scope to c:\temp\pim.csv
Backup-PIMAzureResourcePolicy -TenantID <tenantID> -SubscriptionId <subscriptionID> -exportFilename c:\temp\RG.csv
🔷 Export configuration of all roles at a Management Group scope to c:\temp\MG.csv
$scope = "providers/Microsoft.Management/managementGroups/MG_All_Subscriptions"
Backup-PIMAzureResourcePolicy -tenantID $tenantID -scope $scope -exportFilename c:\temp\MG.csv
Parameter | description |
---|---|
$TenantID |
Entra ID TenantID |
$SubscriptionId |
Subscription ID |
$Scope |
If you want to manage the role at other scope than subscription |
$exportFilename |
Path to csv file |