Remove-WssMsoUserAssignment

Removes the assignment between an online service account and an account.

Syntax

Remove-WssMsoUserAssignment
      [-WssUserName] <String>
      [<CommonParameters>]

Description

The Remove-WssMsoUserAssignment cmdlet removes the online service account (the Microsoft account) from its assignment to a local network user account. This cmdlet does not otherwise modify or delete either account.

Examples

Example 1: Remove an assignment

PS C:\> Remove-WssMsoUserAssignment -WssUserName "PattiFuller"

This command removes the assignment between the user account named PattiFuller and an online service account.

1:

PS C:\>

Parameters

-WssUserName

Specifies the name of a user account. The cmdlet removes the assignment to the online service account for the user account that you specify.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

WssUserName Type: System.String Description: local network account name of user

Notes

  • Note: If you run this command against a local network user account that does not have a Microsoft account it generates an error.