12.Then select Credentials under API and Services and select + Create credentials
13.Under + Create Credentials click on OAuth ClientID.
14. Create a OAuth ClientID as mentioned in below Screenshot and click on create
15.Again go back to Credentials and again click on +Create Credentials and under it select Service Account.
16.Under Service account ,fill service account name as "TLMS",then click on create and continue,then click done under Grand this service account access to this project & Grant user access to this service account.
17.Go back click Google Cloud dashboard and on the dashboard click on IAM & ADMIN,under IAM & ADMIN go to Service accounts and follow the steps as mentioned in below screenshot and save the unique ID.
18.Then, navigate to the Keys section and click Add key. Select Create new key and choose the JSON option. Click Create to download a JSON file in the background.
19. Navigate to admin.google.com,search API Control under Security.
20.Under API controls select Manage Domian Wide Delegation 21.Click on add new and paste the UniqueID copied in step 17.
23. Navigate
to the User & Groups section. In this section, the admin will find the Import with
G-Suite option located at the top right corner of the page. They are required to click on
this option to proceed.
24.Click on add domain.
25.After that fill your domain information and click on add domain.
26.Update the TXT value in your DNS to verify your domain,then click on verify.(It might take few hours to get the domain verified)
27.Add the
Admin console ID on which we have used in above steps and then
upload the downloaded JSON file.
28.Once the above steps are completed we can click on Sync Users and fetch users automatically.