Normally the default way to configure CloudM Migrate and G Suite should be used. The information here is available for special use cases only.
Google Drive migrations require 'Allow users to access Google Drive with the Drive SDK API' to be enabled on the G Suite domain. To avoid this requirement there is an alternative method, which is as follows. This method requires some advanced setup steps involving the Google Developer and Chrome consoles and is only recommended when it is not possible to allow users to install Google Drive apps.
Step-by-step guide
- Follow this guide up to step 8 to create the project and enable the APIs in the Developer Console
- Save the P12 file and note the service account's email address
- Enable the Google Apps Marketplace SDK then go to 'Configuration'
- Uncheck 'Enable individual install' and complete the required fields:
- Application name
- Application description
- Application icons
- Terms of service URL -
Enter the following API scopes individually under 'OAuth 2.0 scopes'
https://apps-apis.google.com/a/feeds/calendar/resource/ https://apps-apis.google.com/a/feeds/emailsettings/2.0/ https://mail.google.com/ https://sites.google.com/feeds/ https://www.google.com/m8/feeds https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/apps.groups.migration https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/email.migration https://www.googleapis.com/auth/tasks
- Check the 'Drive extension' box under 'Extensions' and open 'Configure Drive SDK' in a new browser tab or window.
- Complete the required fields and Save Changes.
- Go back to the Google Apps Marketplace SDK page and Save changes.
-
You now need to publish the app through the Chrome Developer Console and install it. Full instructions are available here. The manifest file should look like this:
{
"manifest_version": 2,
"name": "CloudMigrator",
"version": "0.0.0.1",
"description": "cloudmigrator",
"icons": {
"128": "icons/logo-128.png",
"16": "icons/logo-16.png"
},
"container": ["DOMAIN_INSTALLABLE"],
"api_console_project_id": "000000000001",
"app" : {
"launch" : {
"web_url" : "http://cloudsolutions.co.uk/"
}
}
}The api_console_project_id is your app's project number (shown as App ID in the Google Apps Marketplace API configuration)
The icon fields are the paths to your icon files in the zip file -
Once the app is published, install it as a Google Apps Marketplace App by going to the app's marketplace URL an selected Install App.
- Enter the Project's Service Account Email Address that you noted earlier specify the Private Key Path in the CloudM Migrate configuration
Comments
0 comments
Please sign in to leave a comment.