This blog is all about life of being a systems administrator, it highlights the achievements and hurdles of managing small to large systems running on Unix/Linux platforms.
Wednesday, March 5, 2014
Troubleshooting Google Apps Migration for Microsoft Exchange – OAuth Authentication Failure
When trying to use the Google Apps Migration for Microsoft Exchange tool, I came across the following error:
Invalid Consumer Secret specified. Google Apps server has denied access to these credentials.
I checked and double-checked to make sure I had the correct OAuth Domain Key and Consumer Secret entered, and when it still failed, I re-generated the Consumer Secret. Still no love. After some searching, I came across this thread on Google’s Product Forums:
In a nutshell, when configuring your OAuth Domain Key, you have the option to “Allow Access to All API’s”. For, me this box was checked. Turns out when they say “All API’s”, they didn’t include some new ones that the latest version of the GAMME tool requires. The tool looks for those API’s, can’t access them with the credentials you’ve supplied it, and falls on its face. The fix involves you removing that checkmark next to “Allow Access to All API’s” and then heading to the “Manage Third-Party OAuth Client Access” page. Type in your domain name into the “Client Name” field, and then paste the following into the “One or More API Scopes” field: