A simple guide to login to a G suite account

Account Login Email ID: Enter the Account Login Email ID to connect to the mailboxes. It has two options:

  • Single Mailbox - to backup a single mailbox, you can use any G Suite mailbox Email ID.
  • List all Mailboxes using above credentials - to back up multiple mailboxes, you need to use a Super Admin Email ID.

Service Account Email - Enter the Google Service Account Email. The steps to create a service account are given below.

P 12 File Path - Provide the P 12 Key File path for the service account. The steps to create and save a P 12 Key for a service account are given below.

JSON Key - It is another encrypted key useful in accessing G Suite account during restore process. The steps to create and utilize a JSON key are given below.

Create a Service Account in G Suite

Step 1: Type the URL https://console.cloud.google.com/

Step 2: Go to your domain and select an existing project, or create a new project. (In the Google cloud platform, go to APIs and services, and click Enable APIs and Services. In the API Library, Please search and enable required API, Gmail API, Admin SDK API, Google Drive API, Contacts API, Google People API, Google Calendar API, Google Chat API.)

Step 3: Go to APIs & Services, then choose Credentials.

Go to APIs & Services

Step 4: In the new window, click Create Credentials.

click Create Credentials

Step 5: In the drop-down, choose Service account.

choose Service account

Step 6: Enter the name of the new Service account. The Service Account ID will be filled automatically as per your given name. Click Create.

Name of the new Service account

Step 7: To Provide a Role to the Service account, you can choose Project and select the role, for example, Owner.

Provide a Role to the Service account

Step 8: Click Continue. A new Service Account has been created. Now double click on the service account.

New Service Account has been created

NOTE:
  1. Service Account is needed to log in to the software.
  2. The Unique ID of the service account is needed to assign domain-wide delegation as given below.

Unique ID of the service account

Now we have to assign Domain Wide Delegation to Service Account

Step 1: Type https://admin.google.com/ac/home in the web browser. After opening the Admin Console, click Security It will open several categories where you should open Access and data control and select APIs controls there.

In Admin Console, click on Security

Step 2: In the App Access Control page, click Manage domain-wide delegation option under Domain-wide delegation.

Manage domain-wide delegation

Step 3: Click Add New.

Click Add New

Step 4: Input the Unique ID of the Service account, and in the OAuth scopes, you need to input the URL of scopes are given below.

https://mail.google.com

https://www.googleapis.com/auth/contacts.readonly

https://www.googleapis.com/auth/calendar.events.readonly

https://www.googleapis.com/auth/calendar.events

https://www.googleapis.com/auth/admin.directory.user.readonly

https://www.googleapis.com/auth/admin.directory.user

https://www.googleapis.com/auth/calendar

https://www.googleapis.com/auth/contacts

https://www.googleapis.com/auth/admin.directory.userschema.readonly

https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly

https://www.googleapis.com/auth/calendar.readonly

https://www.googleapis.com/auth/calendar.settings.readonly

https://www.googleapis.com/auth/gmail.readonly

https://www.googleapis.com/auth/admin.directory.group.readonly

https://www.googleapis.com/auth/drive.readonly

https://www.googleapis.com/auth/drive.metadata.readonly

https://www.googleapis.com/auth/drive

https://www.googleapis.com/auth/drive.file

https://www.googleapis.com/auth/userinfo.profile

https://www.googleapis.com/auth/gmail.labels

https://www.googleapis.com/auth/gmail.settings.basic

https://www.googleapis.com/auth/tasks

https://www.googleapis.com/auth/ediscovery.readonly

Step 5: You can add above multiple Google APIs in the list. Click Authorize.

Add multiple Google APIs

Create P12 key (P12 File Path)

Step 1: Go to the same Service Accounts again and edit or double click.

Go to Service Accounts

Step 2: Go to the Keys section and click ADD KEY.

click ADD KEY

Step 3: Choose to Create new key.

Create new key

Step 4: Choose P12 and click Create.

Choose P12

Step 5: A message will appear to show that the Private key is saved to your computer.

Private key is saved to your computer

Step 6: On your computer, you can find the newly downloaded key. And add the same P12 File path in the tool.

Add the same P12 File path

Create JSON key

Step 1: Go to the service account and double-click on it or choose edit. Under key tab, choose ADD KEY, then select Create new key.

ADD JSON KEY

Step 2: Choose JSON key as the recommended key format. Then, click Create.

Choose JSON ke

Step 3: Select the folder to save JSON key and click Save for saving the key.

Select the folder to save JSON key

Step 4: In the tool’s login page, browse the JSON file through its location. Then, you go ahead in the restore procedure.

Go ahead in the restore procedure

How to login Google Chat Account?

Super Admin Email Address - Enter the Google Workspace Super Admin Email Address to connect with the application.

Service Account Email Address - Enter Google Service Account Email Address. The steps to create a Service Account are given below.

Private Key Path(.P12) - Enter the P12 key's file path with Service Account. The steps to create and save a P12 key for a Service Account are given below.

Create the Service Account in Google Workspace

Step 1- Click on the given link to open Google Cloud Platform Console in web browser - https://www.console.cloud.google.com

Step 2- Login as the Super Administrator and under the Quick Access section on the home screen click on IAM and admin.

Login as the Super Administrator

Step 3- Now under the IAM and admin page, click on Manage resources.

Manage resources

Then, click on CREATE PROJECT option.

CREATE PROJECT option

Step 4- Type a unique project name and leave other details to default. Then, click CREATE button. You will be notified when the project is created.

click CREATE button

Step 5- Again, click on Navigation menu, then choose Cloud Overview and select Dashboard.

Choose Cloud Overview and select Dashboard

Step 6- Click on the dropdown beside Google cloud logo above title bar to check if the created project is selected or not.

check if the created project is selected or not

If the newly created project is not selected select it from the dropdown menu.

select project from the dropdown menu

Step 7- Now, go to the Navigation menu and click on VIEW ALL PRODUCTS.

click on VIEW ALL PRODUCTS

Then, under the Management section, click on APIs and services.

click on APIs and services choose External option as the User Type

Step 9- Under the Edit app registration page, provide required application details. Start by providing the App name and an email address as the User support email.

provide the App name

Note: Under the App logo section, you can upload logo file if you have one or can ignore this step and can leave App domain section as default.

Step 10- Click on ADD DOMAIN under Authorized domains. Enter the name of your domain and under Developer Contact Information, input the email address so Google can inform you about all the changes in your project. Then, click SAVE AND CONTINUE.

click SAVE AND CONTINUE

TIP: Note down the App name for future references.

Step 11- Now, you must add all scopes as per Kernel Google Chat to Microsoft Team Chat Migration Tool. So, click on ADD OR REMOVE SCOPES.

click on ADD OR REMOVE SCOPES

Step 12- Under Manually add scopes, you must input all the following scopes manually.

https://www.googleapis.com/auth/chat.spaces,
https://www.googleapis.com/auth/chat.messages,
https://www.googleapis.com/auth/chat.memberships,
https://www.googleapis.com/auth/chat.messages.reactions,
https://www.googleapis.com/auth/admin.directory.user,
https://www.googleapis.com/auth/drive,
https://www.googleapis.com/auth/drive.file,
https://www.googleapis.com/auth/documents

input all the scopes manually

Step 13- Then, click ADD TO TABLE >> UPDATE.

Step 14- After adding all the scopes, click SAVE.

click SAVE

Step 15- Now again, go to Navigation menu>VIEW All PRODUCTS>APIs & Services.

Step 16- Beside APIs & Services, click on + ENABLE APIS AND SERVICES option.

ENABLE APIS AND SERVICES option

Step 17- In the API Library, search and enable all the required APIs.

search and enable all the required APIs

Note: After enabling one API you might need to go back manually to + Enable APIs & Services page to add enable another API.

Step 18- Now, enable these APIs one by one - Admin SDK API, Google Drive API, and Google Chat API.

Enable APIs SDK API, Google Drive API, and Google Chat API

After enabling Google Chat API, on the same page, go to CONFIGURATION tab.

go to CONFIGURATION tab

Step 19- Under Application info, enter App name (Which user created in OAuth consent screen), Avatar URL - https://localhost and input proper Description.

Enter App name

Step 20- In Connection settings, Choose App URL, and enter App URL - https://localhost.

Choose App URL

Step 21- In Visibility, enter email addresses to add individuals and groups in your domain. Separate multiples with commas. It may take up to 24 hours for group access changes to take effect.

Step 22- In Logs, Check Log errors to Logging checkbox, and click SAVE.

Check Log errors to Logging checkbox

Step 23- After enabling APIs and Configuring Google Chat API, go to Credentials.

Go to Credentials

Step 24- In the new window, click on + Create Credentials and select Service account.

Create Credentials and select Service account option

Step 25- Input a new name of the Service Account. The Service Account ID section will be filled automatically as per your given name. Click Create.

Create service account

Step 26- You can provide access on the 2-step or also ignore the step and click on CONTINUE. On the 3rd step, again click on CONTINUE, and then, click on Done.

Step 27- The new service account email address is created in the Service Account list. Click on it.

New service account email address is created

Step 28- Copy the Service Account Email address and the Unique ID and keep them in a safe location.

Copy the Service Account Email address

Assign Domain Wide Delegation to Service Account

Domain Wide Delegation provides the necessary scopes to the newly created Service Account.

Step 1- Type https://admin.google.com/ac/home in the web browser and login using Super Administrator credentials. After opening the Admin Console, click Security>>Access and data control>>API controls.

Login using Super Administrator credentials

Step 2- In the App Access control page, click MANAGE DOMAIN-WIDE DELEGATION option under Domain-wide delegation.

click MANAGE DOMAIN-WIDE DELEGATION option

Step 3- Click on the Add New option.

Click on the Add New option

Step 4- Input the Unique ID of the Service account, and in the OAuth scopes, you need to input the URL of scopes given below and then, click AUTHORISE.

https://www.googleapis.com/auth/chat.spaces,
https://www.googleapis.com/auth/chat.messages,
https://www.googleapis.com/auth/chat.memberships,
https://www.googleapis.com/auth/chat.messages.reactions,
https://www.googleapis.com/auth/admin.directory.user,
https://www.googleapis.com/auth/drive,
https://www.googleapis.com/auth/drive.file,
https://www.googleapis.com/auth/documents

Click AUTHORISE

Private Key Path(.P12)

Step 1- Now, go back to Google Cloud Platform Console. Then, click on the APIs and services under the Quick access section on the home screen.

Click on the APIs and services

Step 2- Select the Credentials >> Service Accounts again. Click on the email.

Click on the email

Step 3- Go to the Keys section > ADD KEY and choose to Create new key.

Choose to Create new key

Step 4- Choose P12 and click Create.

Choose P12 and click Create

Step 5- A message will appear to show that Private key is saved to your computer. Click Close.

Step 6- On your computer, you can find the newly downloaded key and add the same P12 File path in Kernel Tool.

Add the P12 File path in Kernel Tool