Set-AzureADMSPrivilegedRoleSetting

Update role setting

Syntax

Set-AzureADMSPrivilegedRoleSetting
   -ProviderId <String>
   -Id <String>
   [-ResourceId <String>]
   [-RoleDefinitionId <String>]
   [-AdminEligibleSettings <System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]>]
   [-AdminMemberSettings <System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]>]
   [-UserEligibleSettings <System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]>]
   [-UserMemberSettings <System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]>]
   [<CommonParameters>]

Description

Update role setting

Examples

Example 1

PS C:\> $setting = New-Object Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting
				  PS C:\> $setting.RuleIdentifier = "JustificationRule"
				  PS C:\> $setting.Setting = "{'required':false}"
				  PS C:\> Set-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Id ff518d09-47f5-45a9-bb32-71916d9aeadf -ResourceId 3f5887ed-dd6e-4821-8bde-c813ec508cf9 -RoleDefinitionId 2387ced3-4e95-4c36-a915-73d803f93702 -UserMemberSettings $setting

Update a role setting by setting the justification to be false

Parameters

-AdminEligibleSettings

The rule settings that are evaluated when an administrator tries to add an eligible role assignment.

Type:System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AdminMemberSettings

The rule settings that are evaluated when an administrator tries to add an activate role assignment.

Type:System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

The unique identifier of the specific role setting

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ProviderId

The unique identifier of the specific provider

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-ResourceId

The unique identifier of the specific resource

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RoleDefinitionId

The unique identifier of the specific role definition

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserEligibleSettings

The rule settings that are evaluated when a user tries to add an eligible role assignment. This is not supported for pimforazurerbac scenario for now, and may be available in the future scenarios.

Type:System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserMemberSettings

The rule settings that are evaluated when a user tries to activate his role assignment.

Type:System.Collections.Generic.List`1[Microsoft.Open.MSGraph.Model.AzureADMSPrivilegedRuleSetting]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Object