Remove-AzureADUserExtension
Removes a user extension.
Syntax
SetSingle
Remove-AzureADUserExtension
-ObjectId <String>
-ExtensionName <String>
[<CommonParameters>]
SetMultiple
Remove-AzureADUserExtension
-ObjectId <String>
-ExtensionNames <System.Collections.Generic.List`1[System.String]>
[<CommonParameters>]
Description
The Remove-AzureADUserExtension cmdlet removes a user extension from Azure Active Directory (AD).
Examples
Example 1
PS C:\> Remove-AzureADUserExtension -ObjectId TestUser@example.com -ExtensionName "Test Extension"
This will remove the "Test Extension" attribute from user: TestUser@example.com.
Parameters
-ExtensionName
Specifies the name of an extension.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SetSingle
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ExtensionNames
Specifies an array of extension names.
Parameter properties
Type: | |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
SetMultiple
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-ObjectId
Specifies an object ID.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.