Remove-AzureADUserExtension
Removes a user extension.
Syntax
Remove-AzureADUserExtension
-ObjectId <String>
-ExtensionName <String>
[<CommonParameters>]
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ExtensionNames
Specifies an array of extension names.
Type: | List<T>[String] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ObjectId
Specifies an object ID.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |