Hi @Edmund Lee , Thank you for reaching out to us.
I have reviewed the above query and I understand that you'd like to confirm if the above steps/ process is the appropriate way of permanently removed the user as well as the mailbox in the Hybrid scenario.
I an confirm that the below process is good to go.
- Remove the mailbox license
- disable the exchange online object by calling the command - Disable-remotemailbox
Ref.: https://learn.microsoft.com/en-us/powershell/module/exchange/disable-remotemailbox?view=exchange-ps - Once the mailbox and the details are remove, we can safely remove the MSOL user object.
However, I have seen some issues with Disable-remotemailbox sometimes, hence, I would recommend you to test out the script/ commands on test users first.
Please let us know if you have any further queries.
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.