Hi, @Muhammad Uzair
I understand that you are getting an error when migrating from Google Workspace to M365 and need to confirm the following information with you:
- How did you go about the migration? Whether to follow the documentation that follows Perform a Google Workspace migration to Microsoft 365 or Office 365 | Microsoft Learn
- Review the detailed logs or error messages to get a deeper understanding of what might be causing the SyncProviderTokenUnexpectedInvalidationException.
- Considering that you are migrating from Google Workspace, the problem may be present in Google, you can contact Google technical support for thorough guidance. In my personal experience, you may need to turn on the corresponding API in Google.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".