Enable-O365Integration

Enable-O365Integration

Enables the Integration Module.

Syntax

Parameter Set: Default
Enable-O365Integration [-O365AccountUPN] <String> [-Password] <SecureString> [ <CommonParameters>]

Detailed Description

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

Parameters

-O365AccountUPN<String>

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

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-Password<SecureString>

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-SecureString cmdlet. For more information, type Get-Help ConvertTo-SecureString.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String,System.Security.SecureString

    O365AccountUPN
    Type: System.String
    Description: user principal name

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

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Enable the Office 365 Integration Module

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 for the user account named Admin@Contoso.onmicrosoft.com, and the password created in the previous command.

PS C:\> $SecureString_pwd = convertto-securestring "P@ssW0rD!" -Asplaintext -Force
PS C:\> Enable-O365Integration -O365AccountUPN "Admin@Contoso.onmicrosoft.com" -Password $SecureString_pwd

Disable-O365Integration