SetConnect

ManageExchangeMailbox

Active Directory::ManageExchangeMailbox

Description

Create/Enable or Change an Exchange mailbox. This plugin uses powershell and requires "Basic Authentication" to be enabled on the powershell IIS webservice.

Tips on how to make this work:

CLIENT

You need to configure WinRM on the client to:
1. Allow unencrypted traffic
2. Trust the remote machine

The easiest way to to this is via the Local Group Policy user interface. To access it, hit the windows start button, type run, run the “run” program, this opens the famous “run” window (which is wired to the Windows Key + R shortcut), on the run window enter gpedit.msc . You’re now looking at the Local Group Policy user interface. In the tree view go to “Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Client” and configure the previously listed items.

 

SERVER

Exchange

“Exchange Management Tools” must be installed.

You must configure the PowerShell IIS virtual directory to:
1. Not Require SSL
2. Allow Basic Authentication
To not require SSL, you simply go to “IIS Manager > Sites > Default Website > Powershell”, then select the “SSL Settings” feature and make sure “Require SSL” is not checked.

To allow Basic Authentication you go again to “IIS Manager > Sites > Default Website > Powershell”, this time select the “Authentication” feature and enable “Basic Authentication”.

If Basic Authentication is not an option on the Authentication feature page, you need to install it by going to the Server Manager, select the Web Server role, say “Add Role Services”, under the Security node in the treeview, select Basic Authentication.

Exchange Server Configuration
Exchange server powershell URL

The URL which points to the powershell website on the Exchange server

Exchange database
Optional name of the Exchange database to use
Username
Username to use for the "Basic Authentication" connection.
Password
Password to use for the "Basic Authentication" connection.
Mailbox Configuration
Create/Enable/Change
Create, Enable or Change a mailbox
Organizational unit
Optional OU in which the account will be created
Account name
The SamAccountName of the new account
Firstname
The "First name" of the new account
Lastname
The "Last name" of the new account
Password
The password of the new account
Primary SMTP address
Optional SMTP email address which will be used as the primary SMTP address
Fallback-1 primary address
Optional SMTP email address which will be used as the primary SMTP address in case the "Primary SMTP address" already has been used
Fallback-2 primary address
Optional SMTP email address which will be used as the primary SMTP address in case the "Primary SMTP address" and the "Fallback-1 primary address" already have been used
Save address to variable
Saves the primary SMTP address to the configured variable
Extra email addressess
Optional ; separated list of email adressess which will be set as extra email addressess for the mailbox. If "Remove Addresses" is enabled these addresses will be removed from the mailbox
Remove address(es)
When enabled, removes the "Extra email addresses" from the mailbox
Reset Password On Next Logon
When enabled, the "reset password on next logon" will be set for the new account

Documentation

Release notes