azure-docs-powershell-azuread/azureadps-2.0/AzureAD/New-AzureADApplicationExten...

100 строки
3.1 KiB
YAML

### YamlMime:PowershellCmdlet
summary: |-
Creates an application extension property.
module: AzureAD
notes: ""
syntaxes:
- >-
New-AzureADApplicationExtensionProperty -ObjectId <String> [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [-Name <String>] [-DataType <String>]
[-TargetObjects <System.Collections.Generic.List`1[System.String]>] [<CommonParameters>]
examples:
- title: 'Example 1: Create an extension property'
code: |-
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 {}
description: |-
This command creates an application extension property of the string type for the specified object.
summary: ""
parameters:
- type: <xref href="String" data-throw-if-not-resolved="False" />
name: DataType
description: |+
Specifies the data type of the extension property.
defaultValue: None
position: Named
aliases: ""
parameterValueGroup: ""
- type: <xref href="ActionPreference" data-throw-if-not-resolved="False" />
name: InformationAction
description: |+
Specifies how this cmdlet responds to an information event.
The acceptable values for this parameter are:
- Continue
- Ignore
- Inquire
- SilentlyContinue
- Stop
- Suspend
defaultValue: None
position: Named
aliases: infa
parameterValueGroup: ""
- type: <xref href="String" data-throw-if-not-resolved="False" />
name: InformationVariable
description: |+
Specifies an information variable.
defaultValue: None
position: Named
aliases: iv
parameterValueGroup: ""
- type: <xref href="String" data-throw-if-not-resolved="False" />
name: Name
description: |+
Specifies the data type of the extension property.
defaultValue: None
position: Named
aliases: ""
parameterValueGroup: ""
- type: <xref href="String" data-throw-if-not-resolved="False" />
name: ObjectId
isRequired: true
description: |+
Specifies a unique ID of an application in Azure Active Directory.
defaultValue: None
pipelineInput: true
position: Named
aliases: ""
parameterValueGroup: ""
- type: <xref href="System.Collections.Generic.List`1" data-throw-if-not-resolved="False" /><span>[</span><xref href="System.String" data-throw-if-not-resolved="False" /><span>]</span>
name: TargetObjects
description: |+
Specifies target objects.
defaultValue: None
position: Named
aliases: ""
parameterValueGroup: ""
uid: AzureAD.New-AzureADApplicationExtensionProperty
name: New-AzureADApplicationExtensionProperty
description: |-
The New-AzureADApplicationExtensionProperty cmdlet creates an application extension property for an object in Azure Active Directory.
metadata:
external help file: Microsoft.Open.AzureAD16.Graph.PowerShell.dll-Help.xml
Module Name: AzureAD
online version: ""
schema: 2.0.0