Commands › Exchange Online

Invoke-ProvisioningVerifyRbacDiagnostic

Exchange Online ExchangeOnlineManagement Invoke-*

Analyze and repair role-based access control (RBAC) configurations in cloud-based organizations.

Quick start script

# Invoke-ProvisioningVerifyRbacDiagnostic — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Invoke-ProvisioningVerifyRbacDiagnostic -CmdletName <String> -ReferenceUser <String> -User <String> | Format-List

# 3. Export for evidence / drift tracking
Invoke-ProvisioningVerifyRbacDiagnostic | Export-Clixml .\ProvisioningVerifyRbacDiagnostic-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

CmdletCheck

Invoke-ProvisioningVerifyRbacDiagnostic -CmdletName <String> [-CmdletParameters <String[]>] -User <String>
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

Compare

Invoke-ProvisioningVerifyRbacDiagnostic -ReferenceUser <String> -User <String>
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-CmdletName String yes The CmdletName parameter specifies the cmdlet you want to check.
-ReferenceUser String yes This parameter is reserved for internal Microsoft use.
-User String yes The User parameter specifies the email address of the user you want to check.
-CmdletParameters String[]
-Confirm SwitchParameter This parameter is reserved for internal Microsoft use.
-WhatIf SwitchParameter This parameter is reserved for internal Microsoft use.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.