Scenario
You have configured Exclaimer and are using OKTA to sync user details to Google workspace. Some user details, such as Job Title, are missing from your signatures.
Reason
Exclaimer for Google workspace uses Google's API to query for data for each account and requires that the field data has the primary: true value set against it.
By default, OKTA does not set this value for the 'Organizations' attributes.
Resolution
To set the Organization data as primary:
- Browse to the Google Workspace Admin console -Directory API site (https://developers.google.com/admin-sdk/directory/v1/reference/users/get).
- From the right-hand pane, in userKey, enter the email address of the user you wish to query.
- From the projection drop-down list select full.
Example:
- Once the details are filled in, click EXECUTE.
- When prompted, sign into a scoped Google Workspace account to authenticate the query:
- Copy the required parameter, including all sub-parameters.
Example:
"organizations": [ { "title": "Title", "customType": "", "department": "IT" } - Navigate to https://developers.google.com/admin-sdk/directory/v1/reference/users/update
- Set the userKey as the user's email address.
- In Request body, specify the parameters you want to set.
Example:
{ "organizations": [ { "title": "Title", "primary": true, "customType": "", "department": "IT" } ] }
WARNING! You must specify all sub-parameters for the Organization; otherwise, they will be overwritten with blank values. - Click EXECUTE.
- When prompted, sign into a scoped Google Workspace-Suite account to authenticate the query.
- When prompted, allow the Google APIs Explorer permission:
- Repeat this process for all affected users.
- Once the process is complete, synchronize your user data in Exclaimer.
NOTE: It is possible to add the Primary attribute for newly created users in OKTA. For more information, see a third-party guide for a solution: https://support.bettercloud.com/s/article/Okta-to-G-Suite-Provisioning-bc88101