3.6 KiB
external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Open.AzureAD16.Graph.PowerShell.dll-Help.xml | AzureAD | 2.0.0 |
New-AzureADApplicationExtensionProperty
SYNOPSIS
Creates an application extension property.
SYNTAX
New-AzureADApplicationExtensionProperty -ObjectId <String> [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [-Name <String>] [-DataType <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.
PARAMETERS
-DataType
Specifies the data type of the extension property.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
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
Parameter Sets: (All)
Aliases: infa
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InformationVariable
Specifies an information variable.
Type: String
Parameter Sets: (All)
Aliases: iv
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
Specifies the data type of the extension property.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ObjectId
Specifies a unique ID of an application in Azure Active Directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-TargetObjects
Specifies target objects.
Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
NOTES
See the migration guide for New-AzureADApplicationExtensionProperty to the Microsoft Graph PowerShell.