Rediģēt

Kopīgot, izmantojot


New-AzureADMSApplicationExtensionProperty

Creates an extension property on an application object.

Syntax

New-AzureADMSApplicationExtensionProperty
   -ObjectId <String>
   [-Name <String>]
   [-DataType <String>]
   [-TargetObjects <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]

Description

Creates an extension property on an application object.

Examples

Example 1: Create an extension property

PS C:\>New-AzureADMSApplicationExtensionProperty -ObjectId "3ddd22e7-a150-4bb3-b100-e410dea1cb84" -DataType "string" -Name "NewAttribute" -TargetObjects "Application"


          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.

Parameters

-DataType

Specifies the data type of the extension property.

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

-Name

Specifies the data type of the extension property.

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

-ObjectId

The unique identifier of the object specific Azure Active Directory object

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

-TargetObjects

Specifies target objects.

Type:List<T>[String]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

string

List<T>[String]

Outputs

Microsoft.Open.MSGraph.Model.ExtensionProperty