Edit

Share via


Remove-EntraBetaAdministrativeUnitMember

Removes an administrative unit member.

Syntax

Default (Default)

Remove-EntraBetaAdministrativeUnitMember

    -AdministrativeUnitId <String>
    -MemberId <String>
    [<CommonParameters>]

Description

The Remove-EntraBetaAdministrativeUnitMember cmdlet removes an administrative unit member in Microsoft Entra ID. Specify AdministrativeUnitId and MemberId to remove an administrative unit member.

To remove a member from an administrative unit, the calling principal must have at least the Privileged Role Administrator role in Microsoft Entra.

Parameters

-AdministrativeUnitId

Specifies the ID of an administrative unit in Microsoft Entra ID.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ObjectId

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-MemberId

Specifies the ID of the administrative unit member.

Parameter properties

Type:System.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.