Edit

Share via


Invoke-ProvisioningVerifyRbacDiagnostic

This cmdlet is available only in the cloud-based service.

Use the Invoke-ProvisioningVerifyRbacDiagnostic cmdlet to analyze and repair role-based access control (RBAC) configurations in cloud-based organizations.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

CmdletCheck

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

Compare

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

Description

The Invoke-Provisioning*Diagnostic cmdlets are intended for targeted troubleshooting, not bulk diagnostics. To protect service health, these cmdlets are currently limited 100 diagnostic calls per hour per organization.

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Invoke-ProvisioningVerifyRbacDiagnostic -User arnold@contoso.onmicrosoft.com -CmdletName Set-Mailbox -CmdletParameters DisplayName

This example verifies whether the specified user has access to the specified cmdlet and parameter on that cmdlet.

Parameters

-CmdletName

Applicable: Exchange Online

The CmdletName parameter specifies the cmdlet you want to check.

To check specific parameters on the cmdlet, use the CmdletParameters parameter.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CmdletCheck
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CmdletParameters

Applicable: Exchange Online

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CmdletCheck
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Applicable: Exchange Online

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReferenceUser

Applicable: Exchange Online

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Compare
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-User

Applicable: Exchange Online

The User parameter specifies the email address of the user you want to check.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Applicable: Exchange Online

This parameter is reserved for internal Microsoft use.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.