Enable-HostedEmailIntegration
Enables the hosted email integration module.
Syntax
Enable-HostedEmailIntegration
[-AddInId] <Guid>
[-AdminAccount] <String>
[-Password] <SecureString>
[-EnablePasswordSync]
[<CommonParameters>]
Description
The Enable-HostedEmailIntegration cmdlet enables the hosted email integration module. Run this cmdlet after you install the hosted email add-in. The third-party hosted email provider builds the hosted email add-in on the Hosted Email Add-in Framework.
Examples
Example 1: Enable the hosted email integration module
PS C:\> $SecureString_pwd = ConvertTo-SecureString "P@ssW0rD!" -AsPlainText -Force
PS C:\> Enable-HostedEmailIntegration -AddId 26a21bda-a627-11d7-9931-806e6f6e6963 -AdminAccount "HEadmin01" -Password $SecureString_pwd -EnablePasswordSync
The first command creates a password as a secure string for use in the second command.
The second command enables the hosted email integration module, specifying the administrator account to use and its password that was created in the previous step.
Parameters
-AddInId
Specifies the GUID of the hosted email add-in to enable.
Type: | Guid |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AdminAccount
Specifies the name of the administrator account for the hosted email service.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-EnablePasswordSync
Indicates that the hosted email service enables password synchronization.
Type: | SwitchParameter |
Position: | 3 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Password
Specifies the password, as a secure string, of the administration account for the hosted email service.
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: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.Guid,System.String,System.Security.SecureString,System.Management.Automation.SwitchParameter
AddInId Type: System.Guid Description: add-in ID for the hosted email integration
AdminAccount Type: System.String Description: name of the administrator account
Password Type: System.Security.SecureString Description: password of the administrator account
EnablePasswordSync Type: System.Management.Automation.SwitchParameter Description: whether to enable password synchronization feature
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