You must obtain a JSON file with Private Key to authorize the APIs to access data on
G Suite domain. Create and enable the service account to obtain the private key (JSON file).
To create a project and enable the API
Login to Google Cloud Platform.
Click on the drop-down list next to the Google Cloud Platform label and select an organization.
The Select a Project window is displayed.
The New Project page is displayed.
Enter the specific details in the relevant text field.
Click on the drop-down list next to the Google Cloud Platform label and select the project you created.
Click APIs & Services tab.
Search for the phrase Admin SDK in the search bar and select Admin SDK from the results.
The API Library page is displayed.
To create a service account
Click APIs & Services tab.
On the Credentials tab, click Manage Service Accounts available at the bottom right corner.
The Service Accounts window is displayed.
Click + CREATE SERVICE ACCOUNT.
Create service account window is displayed.
Enter the name of the service account in Service account name text field.
Select the service JSON as an account Key type.
|
IMPORTANT: A JSON file is required to generate an access token and it is downloaded automatically after selecting the above option. |
To select and authorize the API scopes
Login to the G Suite admin console with your domain.
On the Admin console home page, click Security.
Click Advanced settings.
Click Managed API client access.
Enter the client name and the description in the Name and Description text field respectively.
Enter the email in the Email text field.
Add the preferred API scopes that you want to use.
For example, API scopes can be https://www.googleapis.com/auth/admin.directory.user, https://www.googleapis.com/auth/admin.directory.group, or https://www.googleapis.com/auth/admin.directory.group.member.
For more information on API scopes, see https://developers.google.com/identity/protocols/googlescopes
The unique Id and the scopes added is displayed.
To login to the Saleforce application, you must create a trail account. The sections below briefs about the process to create a trial account .
To setup a trial account
Login to the Salesforce developer edition link: https://developer.salesforce.com/signup?d=70130000000td6N.
A trail account is created and an instance is assigned.
To generate a security token
A security token is sent to the registered email address. If not received, follow the below steps to generate a token.
On the home page, click My Settings.
|
IMPORTANT:
|
The following procedure briefs about the steps to register application, provide appropriate permissions, retrieve client ID, and client secret.
Working with Azure AD
Login to the Microsoft Azure portal and select Azure Active Directory from FAVORITES.
The registered application must have User.ReadBasic.All, User.Read, User.ReadWrite, User.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Directory.AccessAsUser.All, Group.Read.All, and Group.ReadWrite.All permissions.
Providing permission to update or delete users password
Install the Azure AD PowerShell v1 module (MSOnline).
Connect to your Azure AD B2C tenant.
Use the Application(client) ID in the PowerShell script to assign the application the user account administrator role.
For more details on Azure AD, refer the following links:
A private key has to be generated to access the GoToMeeting service account.
Generating a private key
Create an account in GoToMeeting.
© 2024 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center