Set-AzureADMSCustomSecurityAttributeDefinitionAllowedValue

Updates an existing custom security attribute definition predefined value.

Syntax

Set-AzureADMSCustomSecurityAttributeDefinitionAllowedValue
   -CustomSecurityAttributeDefinitionId <String>
   -Id <String>
   [-IsActive <Boolean>]
   [<CommonParameters>]

Description

Updates an Azure Active Directory (Azure AD) custom security attribute definition predefined value object identified by ID.

Examples

Example

Set-AzureADMSCustomSecurityAttributeDefinitionAllowedValue -CustomSecurityAttributeDefinitionId "Engineering_Project" -Id "Alpine" -IsActive $false

Deactivate a predefined value.

  • Attribute set: Engineering
  • Attribute: Project
  • Predefined value: Alpine

Parameters

-CustomSecurityAttributeDefinitionId

The unique identifier of a custom security attribute definition in Azure AD.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Id

Predefined value for the custom security attribute.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-IsActive

Specifies whether the predefined value is active or deactivated. If set to false, this predefined value cannot be assigned to any additional supported directory objects.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Object