Enable-WssMsoIntegration
Enables aad_2 integration.
Syntax
Enable-WssMsoIntegration
[-MsoUserName] <String>
[-Password] <SecureString>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Enable-WssMsoIntegration cmdlet enables integration between Windows Server Essentials and aad_1. You must integrate these two products before you can further integrate Windows Server Essentials with office_365_1 and wit_1.
Examples
Example 1: Enable integration
PS C:\> $Password = ConvertTo-SecureString "PassWord1" -AsPlainText -Force
PS C:\> Enable-WssMsoIntegration -MsoUserName "PattiFuller@TSQA.Contoso.com" -Password $Password
This example enables integration between Windows Server Essentials and aad_2. To enable integration, supply an online service account and a secure string that contains the password for that account.
The first command creates a secure string by using the ConvertTo-SecureStringhttp://go.microsoft.com/fwlink/?LinkID=113291 cmdlet, and then stores it in the $Password variable.
For more information, type Get-Help ConvertTo-SecureString
.
The second command enables integration. The command specifies the UPN of the online service account and the password stored in the $Password variable.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MsoUserName
Specifies the user principal name (UPN) of the account with administrator permissions that is to be used to manage the online user accounts.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Password
Specifies a password for a user, as a secure string.
To obtain a secure string, use the ConvertTo-SecureStringhttp://go.microsoft.com/fwlink/?LinkID=113291 cmdlet.
For more information, type Get-Help ConvertTo-SecureString
.
The password that you specify belongs to the online service account specified by the MsoUserName parameter.
Type: | SecureString |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
The MsoUserName in UPN form for the administrator account to be used to administer the online user accounts.
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