Hello,
Firstly I know that what I am trying to accomplish is not an easy task, possibly? But I have a scenario where I need to use FIM to enable remote mailboxes for new users being provisioned. I already have AD, and Office 365 licensing setup and working. The environment has a single Exchange 2013 server on-premises for management purposes and all mailboxes live in Exchange Online. All existing objects are remote mailboxes today as they have been moved to Exchange Online or provisioned as a remote mailbox manually.
Would it be best to use the PowerShell MA developed by Søren Granfeldt to create a new remote mailbox after the AD user has been provisioned? If so does anyone have any tips on the process and the PowerShell code to accomplish this task?
I was thinking I could basically write the import script to include attributes where I can determine if a remote mailbox already exists or not. Then write the export script based on an attribute like RemoteMailboxEnabled (true of false) and define my set and workflows to run the Exchange Outbound rule. Then let DirSync/ AADConnect take care of the rest as the account will have the necessary items for a mailbox to be created in Exchange Online at this point.
Any help is greatly appreciated.
Thank you so much.
TM