Enable-O365Integration

Enables the office_365_2 Integration Module.

Syntax

Enable-O365Integration
      [-O365AccountUPN] <String>
      [-Password] <SecureString>
      [<CommonParameters>]

Description

The Enable-O365Integration cmdlet enables integration between Windows Server Essentials and office_365_1 for an office_365_2 user. After you enable the office_365_2 Integration Module, you can manage office_365_2 user accounts and licenses from the dashboard.

Examples

Example 1: Enable the Office 365 Integration Module

PS C:\> $SecureString_pwd = ConvertTo-SecureString "P@ssW0rD!" -AsPlainText -Force
PS C:\> Enable-O365Integration -O365AccountUPN "Admin@Contoso.onmicrosoft.com" -Password $SecureString_pwd
Office 365 is now integrated with the server.

The first command converts the plain text string "P@ssW0rD!" into a secure string and stores the result in the $SecureString_pwd variable.

The second command enables integration between Windows Server Essentials and office_365_2 for the office_365_2 user account named Admin@Contoso.onmicrosoft.com, and the password created in the previous command.

Parameters

-O365AccountUPN

The Enable-O365Integration cmdlet enables integration between wseblue_1 and office_365_1 for an office_365_2 user. After you enable the office_365_2 Integration Module, you can manage office_365_2 user accounts and licenses from the dashboard.

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

-Password

Specifies the password, as a secure string, for the user that you specify in the O365AccountUPN parameter. To obtain a secure string, use the ConvertTo-SecureStringhttp://go.microsoft.com/fwlink/?LinkID=113291 cmdlet. For more information, type Get-Help ConvertTo-SecureString.

Type:SecureString
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

System.String,System.Security.SecureString

O365AccountUPN Type: System.String Description: user principal name

Password Type: System.Security.SecureString Description: user password