Hi
The sync process will delete the mailbox as even though you have converted to shared, it is still linked via the Immutable ID to the users AD Account.
You would need to run this command to break the sync:
Set-MSOLUser -UserPrincipalName user@yourdomain.com -ImmutableID "$null"
Then restore the Shared Mailbox from the Deleted Users section of M365
Hope this helps,
Thanks
Michael Durkan
- If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!