These scripts are designed to automate the steps needed to create a service account for use with Google Workspace migration & sync products. They are meant to be executed within a Google Cloud Shell. The scripts generate a service account's private key JSON file which can then be provided to the migration or sync tool. The scripts automate the following:
- Creates a GCP project
- Enables APIs
- Creates a service account
- Authorizes the service account
- Creates and downloads a service account key
In order to run these scripts, you must be a Google Workspace Super Administrator. The script that you execute will depend on which tool you are using. To get started, first select the tool that you are planning to use.
- Google Workspace Migration for Microsoft Exchange (GWMME)
- Google Workspace Migrate (GWM)
- Password Sync
To create an authorized service account for Google Workspace Migration for Microsoft Exchange, copy and paste the command below in Cloud Shell.
- Open Cloud Shell
- Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/gwmme-create-service-account)
To create an authorized service account for Google Workspace Migration, copy and paste the command below in Cloud Shell.
- Open Cloud Shell
- Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/gwm-create-service-account)
To create an authorized service account for Password Sync, copy and paste the command below in Cloud Shell.
- Open Cloud Shell
- Copy and paste the following command into Cloud Shell and press Enter.
python3 <(curl -s -S -L https://git.io/password-sync-create-service-account)
These scripts are not an officially supported Google product. Therefore, there is no guarantee or ETA for bug fixes or feature requests. That being said, if you think that there may be a bug or you want to request a feature, then please create a new issue.
If these scripts are not working for you, then you can use the manual steps instead. Select which product you are trying to create a service account for to see the manual steps
- Google Workspace Migration for Microsoft Exchange (GWMME)
- Google Workspace Migrate (GWM)
- Password Sync
This is not an officially supported Google product.