MIM 2016 SP1: Configure using Exchange Online mailbox for notifications and approvals


O365 Exchange has a webservice api for easy integration of other applications. MIM 2016 is going to connect to the Exchange webservice and call commands to send emails. When you connect to the O365 Exchange webservice https://outlook.office365.com/ews/exchange.asmx it will prompt you for an id and password. So MIM 2016 needs to store an id and password for a mailbox in O365 Exchange.


Create an O365 mailbox and get the id and password for the mailbox.


You can do this during initial installation of MIM 2016 or you can do it after you install MIM 2016. For the purpose of this blog post I will be doing it after installing MIM 2016.

Run the MIM Service setup

Click Change. Select next until you get to the two screens below and make the changes.

Click next until you get the install button, click install and then finish.

Post-Install checks and verification

Verify correct Webservice address

Go to the MIM Service resourcemanagement config file, make sure mailserver says https://outlook.office365.com/ews/exchange.asmx
not http://outlook.office365.com/ews/exchange.asmx

If you have to change this, then restart MIM Service after the change.

Test that notification works.

If you have a notification template mpr/set/workflow you can use for test, then use it. Else do this

  1. Go to MIM Portal, create a user Tom Brown, with a real email address [say tbrown@aol.com]
  2. Create a Set called “Test Notification”. Add Tom Brown to the set.
  3. Create a Notification template called “Test Notification”, subject and body should say “This is a Test”
  4. Create an Action workflow called “Test Notification”, add a notification activity, send to “//Target”, select Test Notification template.
  5. Create a transition-in MPR called “Test Notification” Enable Run On Policy Workflow. The Target set will be “Test Notification”, attach the Test Notification workflow.
  6. Disable and Enable the MPR to fire off the notification. You should see it in the aol mailbox or look in the Sent items folder of the O365 mailbox