Edit

Share via


Remove-AzureADMSRoleDefinition

Removes an Azure AD role definition.

Syntax

Default (Default)

Remove-AzureADMSRoleDefinition
    -Id <String>
    [<CommonParameters>]

Description

The Remove-AzureADMSRoleDefinition cmdlet removes a role definition from Azure Active Directory (Azure AD).

Examples

Example 1

PS C:\> Remove-AzureADMSRoleDefinition -Id f2ef992c-3afb-46b9-b7cf-a126ee74c451

This command removes the specified role definition from Azure AD.

Parameters

-Id

Spevifies the ID for the role definition.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
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.

Inputs

string