New-​Azure​AD​Application​Extension​Property

Creates an application extension property.

Syntax

New-AzureADApplicationExtensionProperty
   [-DataType <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-Name <String>]
   -ObjectId <String>
   [-TargetObjects <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]

Description

The New-AzureADApplicationExtensionProperty cmdlet creates an application extension property for an object in Azure Active Directory.

Examples

Example 1: Create an extension property

PS C:\>New-AzureADApplicationExtensionProperty -ObjectID "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -DataType "string" -Name "NewAttribute"


ObjectId                             Name                                                    TargetObjects
--------                             ----                                                    -------------
3ddd22e7-a150-4bb3-b100-e410dea1cb84 extension_36ee4c6c081240a2b820b22ebd02bce3_NewAttribute {}

This command creates an application extension property of the string type for the specified object.

Required Parameters

-ObjectId

Specifies a unique ID of an application in Azure Active Directory.

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

Optional Parameters

-DataType

Specifies the data type of the extension property.

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

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the data type of the extension property.

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

Specifies target objects.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False