We want to start using Active Roles to offboard users instead of our legacy methods. Here is what I'm trying to accomplish:
For the deprovision policy, I want to take the users mailbox, covert it to a shared mailbox and give the manager full access. All users have a manager assigned in AD so that info is there. Here is the catch, we are set up as a hybrid environment, but mailboxes are created with a e3 license (from a security group) and only live in exchange online.
looking through the forums just so I understand this right, I'll need to use the O365ServicesScriptExecution - Configuration to connect to exchange online, then create another script for converting the usermailbox to a sharedmailbox and set the manager with full access.
Just want to make sure I'm going about this correctly and understanding everything.
Thanks