Set-WssMsoUserAssignment
Assigns an online service account to a user account.
Syntax
Set-WssMsoUserAssignment
[-WssUserName] <String>
[-MsoUserName] <String>
[<CommonParameters>]
Description
The Set-WssMsoUserAssignment cmdlet assigns an online service account to a local network user account.
Examples
Example 1: Assign an online service account
PS C:\> Set-WssMSOAssignedUser -WssUserName "Admin" -MsoUserName "DavidChew@TSQA.Contoso.com"
This command assigns the online service account DavidChew@TSQA.Contoso.com to the local network user account named Admin.
1:
PS C:\>
Parameters
-MsoUserName
Specifies a user principal name (UPN). The cmdlet assigns the online service account for the UPN that you specify to a user account.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WssUserName
Specifies the name of a user account. The cmdlet assigns the online service account to the user account that you specify.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
WssUserName Type: System.String Description: local network account name of user
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for