Purview
Microsoft Purview compliance-portal RBAC — role groups, their constituent management roles, membership, and the eDiscovery Administrator list, over Security & Compliance PowerShell. Exists because eDiscovery permission is invisible from Entra: Global Administrator maps to OrganizationManagement, which carries Case Management, Compliance Search, Hold and Search And Purge but not Export, Preview, Review, RMS Decrypt or Custodian, so a tenant admin can run a search yet be unable to export a single item. auditPrincipals separates canSearch from canExport and flags eDiscovery Administrators, who can open every case in the tenant. Carries its own credential surface because the compliance endpoint rejects Azure CLI tokens regardless of user.
First public release. Resolves eDiscovery capability that Entra cannot show: Global Administrator maps to OrganizationManagement, which grants Case Management, Compliance Search, Hold and Search And Purge but not Export, Preview, Review, RMS Decrypt or Custodian, so auditPrincipals separates canSearch from canExport and flags eDiscovery Administrators. Adds listCases, a search-only IPPSSession so Start-ComplianceSearch can run, and display-name normalization so shared mailboxes stop reporting false negatives.
| Argument | Type | Description |
|---|---|---|
| holdName | string | Name for the hold policy |
| Argument | Type | Description |
|---|---|---|
| searchName | string | Name for this search |
| contentQuery | string | KQL content query |
| Argument | Type | Description |
|---|---|---|
| roleGroup | string | Role group name, e.g. eDiscoveryManager |
| member | string | UPN of the principal to add |
| Argument | Type | Description |
|---|---|---|
| roleGroup | string | Role group name, e.g. eDiscoveryManager |
| member | string | UPN of the principal to remove |
Resources
Answer "what can this person actually do in eDiscovery?" across both layers that decide it, for any set of principals. Entra directory roles alone are not the answer: Global Administrator maps to the Purview OrganizationManagement role group, which carries Case Management, Compliance Search, Hold and Search And Purge but NOT Export, Preview, Review, RMS Decrypt or Custodian — Compliance Administrator is missing the same four, and only the eDiscoveryManager role group holds them. A tenant admin c
Initial release: Purview compliance-portal RBAC with eDiscovery capability auditing that separates search from evidence export.
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned