Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 1783

How does MIM know if EOL mailbox been created by AADConnect?

$
0
0

Hi,

We have an Exchange Hybrid environment, and MIM is issuing the 'enable-remotemailbox' cmdlet against the on-prem Exchange server. AADConnect then creates the online mailbox, when it runs every 30 minutes.

We would like for MIM to send the user a 'Welcome Message'...however, we can only do that once AADConnect has run and created the mailbox (otherwise the mail will NDR).

What are some of the ways that MIM can use to confirm that the remote mailbox has been created by AADConnect?

- Does AADConnect write something back to on-prem AD that we can check? Maybe check for the existence of the "msDS-ExternalDirectoryObjectID" attribute in on-prem AD? Or if "msDS-ExternalDirectoryObjectID" starts with "User_"?

- Or does MIM have to issue a Exchange Online Powershell query to find out if the mailbox has been created...if yes, what should we look for?

Thank you,

SK







Viewing all articles
Browse latest Browse all 1783

Trending Articles