Remove-StaffHubUser

Note: This cmdlet is currently in Beta. Removes the specified user from StaffHub (Only for users deleted in AAD already)

Syntax

Remove-StaffHubUser
      [-UserId] <String>

Description

Removes the specified user from StaffHub. Pre-requisite is to delete the user from AAD.

Examples

Example 1

Remove-StaffHubUser -UserId "USER_1234"

This removes the user "USER_1234" from StaffHub, if the user has been deleted in AAD already.

Parameters

-UserId

UserId of the user to be removed from StaffHub

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft StaffHub

Inputs

None

Outputs

System.Object