Error: MigrationPermanentException -Unauthorized

%3CLINGO-SUB%20id%3D%22lingo-sub-1328700%22%20slang%3D%22en-US%22%3EError%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1328700%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20Migration%20from%26nbsp%3Bgoogle%20g%20suite%20to%20office%20365%20and%20when%20i%20make%20sync%20it%20issue%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22detailsLabel%22%3E%3CSPAN%3EUser%20status%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%20class%3D%22detailsItem%22%3E%3CDIV%3E%3CSPAN%3EData%20migrated%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EMigration%20rate%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3ELast%20successful%20sync%20date%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EError%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EMigrationPermanentException%3A%20The%20call%20to%20%3CA%20href%3D%22https%3A%2F%2Fwww.googleapis.com%2Foauth2%2Fv4%2Ftoken%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.googleapis.com%2Foauth2%2Fv4%2Ftoken%3C%2FA%3E%20returned%20with%20status%20code%20Unauthorized%3A%20Unauthorized%20Error%20response%3A%20unauthorized_client%20Error%20description%3A%20Client%20is%20unauthorized%20to%20retrieve%20access%20tokens%20using%20this%20method%2C%20or%20client%20not%20authorized%20for%20any%20of%20the%20scopes%20requested.%20--%26gt%3B%20The%20call%20to%20%3CA%20href%3D%22https%3A%2F%2Fwww.googleapis.com%2Foauth2%2Fv4%2Ftoken%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.googleapis.com%2Foauth2%2Fv4%2Ftoken%3C%2FA%3E%20returned%20with%20status%20code%20Unauthorized%3A%20Unauthorized%20Error%20response%3A%20unauthorized_client%20Error%20description%3A%20Client%20is%20unauthorized%20to%20retrieve%20access%20tokens%20using%20this%20method%2C%20or%20client%20not%20authorized%20for%20any%20of%20the%20scopes%20requested.%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3BCan%20help%20me%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1328700%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIdentity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Network%20Connectivity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1329223%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1329223%22%20slang%3D%22en-US%22%3E%3CP%3EWell%2C%20make%20sure%20the%20token%20is%20valid%2C%20and%20has%20the%20necessary%20permissions%2Fscopes%20as%20detailed%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-to-the-service-account-for-your-google-tenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-to-the-service-account-for-your-google-tenant%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOther%20than%20that%2C%20open%20a%20support%20case%2C%20this%20forum%20is%20not%20really%20for%20troubleshooting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1341697%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1341697%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%3E%40emadadel2008%3C%2FA%3E%26nbsp%3BHave%20you%20had%20any%20luck%20with%20this%3F%26nbsp%3B%20I%20am%20experiencing%20the%20same%20issue.%26nbsp%3B%20I%20also%20have%20two%20separate%20service%20requests%20open%20and%20MS%20tech%20have%20yet%20to%20assist%20in%20help%20me%20resolve%20this%20or%20point%20me%20in%20the%20right%20direction.%26nbsp%3B%20I%20have%20followed%20the%20steps%20outlined%20in%20the%20migration%20documents%20but%20still%20no%20resolve.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1341711%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1341711%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F638957%22%20target%3D%22_blank%22%3E%40MMartinez07%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EWell%2C%20make%20sure%20the%20token%20is%20valid%2C%20and%20has%20the%20necessary%20permissions%2Fscopes%20as%20detailed%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-to-the-service-account-for-your-google-tenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-t...%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emake%20sure%26nbsp%3B%20you%20have%20done%20this%20point%20%22Grant%20access%20to%20the%20service%20account%20for%20your%20Google%20tenant%22%20in%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-to-the-service-account-for-your-google-tenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23grant-access-t...%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%20id%3D%22toc-hId--1357091952%22%3EGrant%20access%20to%20the%20service%20account%20for%20your%20Google%20tenant%3C%2FH2%3E%3COL%3E%3CLI%3E%3CP%3EGo%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fadmin.google.com%2FAdminHome%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EG%20Suite%20Admin%20page%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20sign%20in%20as%20G%20Suite%20admin%20for%20your%20tenant.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EClick%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3ESecurity%3C%2FSTRONG%3E%2C%20then%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAdvanced%20settings%3C%2FSTRONG%3E%2C%20and%20then%20click%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EManage%20API%20client%20access%3C%2FSTRONG%3E.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EIn%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EClient%20Name%3C%2FSTRONG%3E%2C%20type%20the%20ClientId%20for%20the%20service%20account%20you%20created%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Fperform-g-suite-migration%23create-a-google-service-account%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECreate%20a%20Google%20Service%20Account%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esection%20above.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EIn%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAPI%20Scopes%3C%2FSTRONG%3E%2C%20add%20the%20required%20scopes%20in%20comma-separated%20format%2C%20with%20no%20spaces%20in%20between.%20For%20example%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmail.google.com%2F%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar%2Chttps%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.settings.sharing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmail.google.com%2F%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar%2Chttps%3A%2F%2Fwww.google.com%2Fm8%2Ffeeds%2F%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.settings.sharing%3C%2FA%3E.%20If%20the%20API%20Scopes%20are%20entered%20incorrectly%2C%20the%20resulting%20list%20won't%20match%20and%20the%20migration%20process%20will%20fail%20later%2C%20after%20you%20start%20the%20migration%20batch.%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3EClick%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAuthorize%3C%2FSTRONG%3E.%20Verify%20that%20the%20resulting%20list%20shows%20%22Email%20(Read%2FWrite%2FSend)%22%2C%20%22Calendar%20(Read-Write)%22%2C%20%22Contacts%20(Read%2FWrite)%22%2C%20and%20%22%3CA%20href%3D%22https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.settings.sharing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgmail.settings.sharing%3C%2FA%3E%22.%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22alert%20is-info%22%3E%3CP%20class%3D%22alert-title%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ENote%3C%2FP%3E%3C%2FDIV%3E%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1341720%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1341720%22%20slang%3D%22en-US%22%3E%3CP%3EFollow%20this%20link%20to%20get%20your%20problem%20solved.....%3CA%20href%3D%22http%3A%2F%2FWww.office365helparticle.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EWww.office365helparticle.com%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1400857%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1400857%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%3E%40emadadel2008%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20the%20same%20issue%20but%20from%20within%20Gsuite%20admin%20I%20went%20to%20Security%20%26gt%3B%20API%20Permissions%20and%20then%20added%20the%20Service%20Account%20as%20a%20trusted%20app.%26nbsp%3B%20I%20could%20then%20see%20mail%20migrating%20across%20to%20the%20O365%20mailboxes%20from%20gsuite.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20it%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1450704%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1450704%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F671977%22%20target%3D%22_blank%22%3E%40Cyber-groupcouk%3C%2FA%3E%26nbsp%3Band%20and%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F293460%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40emadadel2008%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E100%25%20completion%20report%2C%20too.%205th%20time%20lucky.%20%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1468528%22%20slang%3D%22es-ES%22%3ERe%3A%20Error%3A%20MigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468528%22%20slang%3D%22es-ES%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693089%22%20target%3D%22_blank%22%3E%40idacike%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHello%2C%20I%20have%20from%20same%20problem.%26nbsp%3B%3CSPAN%3EI%20have%20reviewed%20the%20solutions%20that%20you%20have%20commented%20but%20it%20still%20does%20not%20work.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EDid%20you%20do%20something%20else%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1468539%22%20slang%3D%22en-US%22%3ERe%3A%20Error%3A%26nbsp%3BMigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468539%22%20slang%3D%22en-US%22%3EThis%20video%20might%20be%20useful%20to%20cross-check%20the%20steps.%20%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2F1FTGIcNWRQ4%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2F1FTGIcNWRQ4%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20restarted%20the%20process%20from%20the%20beginning.%20There%20was%20a%20step%20which%20I%20missed%20the%20first%20couple%20of%20times%20and%20the%20video%20actually%20help%20me%20pick%20that%20up%20along%20with%20the%20suggestions%20in%20this%20forum%20thread.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1468972%22%20slang%3D%22es-ES%22%3ERe%3A%20Error%3A%20MigrationPermanentException%20-Unauthorized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468972%22%20slang%3D%22es-ES%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F693089%22%20target%3D%22_blank%22%3E%40idacike%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%26nbsp%3Bfixed%20with%20the%20video%20instructions.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I have Migration from google g suite to office 365 and when i make sync it issue 

 

User status
Data migrated:
Migration rate:
Last successful sync date:
Error: MigrationPermanentException: The call to https://www.googleapis.com/oauth2/v4/token returned with status code Unauthorized: Unauthorized Error response: unauthorized_client Error description: Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested. --> The call to https://www.googleapis.com/oauth2/v4/token returned with status code Unauthorized: Unauthorized Error response: unauthorized_client Error description: Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested.
 
 Can help me 
9 Replies
Highlighted

Well, make sure the token is valid, and has the necessary permissions/scopes as detailed here: https://docs.microsoft.com/en-us/exchange/mailbox-migration/perform-g-suite-migration#grant-access-t...

 

Other than that, open a support case, this forum is not really for troubleshooting.

Highlighted

@emadadel2008 Have you had any luck with this?  I am experiencing the same issue.  I also have two separate service requests open and MS tech have yet to assist in help me resolve this or point me in the right direction.  I have followed the steps outlined in the migration documents but still no resolve.

Highlighted

@MMartinez07  

Well, make sure the token is valid, and has the necessary permissions/scopes as detailed here: https://docs.microsoft.com/en-us/exchange/mailbox-migration/perform-g-suite-migration#grant-access-t...

 

make sure  you have done this point "Grant access to the service account for your Google tenant" in  https://docs.microsoft.com/en-us/exchange/mailbox-migration/perform-g-suite-migration#grant-access-t...

 

 

 

Grant access to the service account for your Google tenant

  1. Go to the G Suite Admin page and sign in as G Suite admin for your tenant.

  2. Click Security, then click Advanced settings, and then click Manage API client access.

  3. In Client Name, type the ClientId for the service account you created in the Create a Google Service Account section above.

  4. In API Scopes, add the required scopes in comma-separated format, with no spaces in between. For example, https://mail.google.com/,https://www.googleapis.com/auth/calendar,https://www.google.com/m8/feeds/,h.... If the API Scopes are entered incorrectly, the resulting list won't match and the migration process will fail later, after you start the migration batch.

  5. Click Authorize. Verify that the resulting list shows "Email (Read/Write/Send)", "Calendar (Read-Write)", "Contacts (Read/Write)", and "https://www.googleapis.com/auth/gmail.settings.sharing".

     

     

     Note

Highlighted

Hi @emadadel2008 ,

 

I had the same issue but from within Gsuite admin I went to Security > API Permissions and then added the Service Account as a trusted app.  I could then see mail migrating across to the O365 mailboxes from gsuite.

 

Hope it helps.

Highlighted

Thank you @Cyber-groupcouk and and @emadadel2008

100% completion report, too. 5th time lucky.  

Highlighted

@idacike 

Hello, I have de same problem. I have reviewed the solutions that you have commented but it still does not work.

Did you do something else?

Thank you.

Highlighted
This video might be useful to cross-check the steps. https://youtu.be/1FTGIcNWRQ4

I restarted the process from the beginning. There was a step which I missed the first couple of times and the video actually help me pick that up along with the suggestions in this forum thread.
Highlighted

@idacike 

Thanks! fixed with the video instructions.

Highlighted