Hi @kedar giri,
Welcome to the Microsoft Q&A platform!
Please understand that the tag “Microsoft Exchange Online” is for general questions related to Exchange Online. From the exchange side, please kindly check the steps in the guide to migrate your Gmail to O365 Migrate Google Workspace mailboxes to Microsoft 365 or Office 365 | Microsoft Learn.
However, based on my experience, the error could be that 2-Step Verification isn't enabled on your Google account.
- Log in to your Google account.
- Go to
Security
in your Google Account settings. - Under
Signing in to Google
, enable2-Step Verification
and complete the setup.
Once 2-Step Verification is enabled, you should be able to create an app password.
- Go to the
Security
section of your Google Account settings. - Under
Signing in to Google
, selectApp passwords
. - Select the app and device you want to generate the app password for, and then generate the password.
Use this app password in the CSV file for your migration batch then you should be able to migrate successfully.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".