You can set up automated user provisioning (autoprovisioning) so that any changes you make to user accounts in Google Workspace are automatically synced with this third-party app.
Automated user provisioning operates only on active, suspended, or deleted users. It doesn't include archived users.
Before you begin: Set up SSO for this app
Set up auto-provisioning for the Sugar application-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- In the Auto-provisioning section, click Configure auto-provisioning.
- Enter your Sugar Administrator’s Username and Password.
- Edit the Token Url field, replacing {your-sugarcrm-domain} with the domain name of your Sugar instance.
- If you've already created OAuth Keys for Google Workspace user provisioning on the Sugar Admin portal, enter the Consumer Key value in the Client Id field and the Consumer Secret value in the Client Secret field.
- Click Continue.
Important: You might have to reauthorize if the admin password for Sugar changes. Changing the admin password will cause the original authorization to be revoked.
- Edit the endpoint URL, replacing {your-sugarcrm-domain} with the domain name of your Sugar instance.
- Click Continue.
- Verify that all mandatory Sugar attributes (those marked with an *) are mapped to Google Cloud Directory attributes. If not, click the Down arrow and map to the appropriate attribute.
- Click Continue.
- Optional) Restrict provisioning to specific groups:
- Enter all or part of a group name in the Search groups field.
A list of available groups appears. Select a group to add it and open a new search field. - If necessary, add more groups and choose a scope.
- To remove any group you added, click next to it.
- Enter all or part of a group name in the Search groups field.
- Once you’re done, click Continue.
- Choose how long deprovisioning actions should be delayed before taking effect. You can set the time to: within 24 hours or after one, 7, or 21 days. The default for each is to suspend the account within 24 hours. Select at least one of these options:
- When an app is turned off for the user, suspend their account, hard delete their account, or both, after the number of days you choose.
A suspended account is temporarily unavailable until it's restored.
A hard-deleted account can not be restored from either Google Workspace or Sugar. Please contact Sugar support to restore the user and their data. - When a user is suspended on Google, suspend their account, hard delete their account, or both, after the number of days you choose.
- When a user is deleted from Google, suspend their account, hard delete their account, or both, after the number of days you choose.
Tip: Always set more time before hard deleting a user's account than for suspending a user's account.
- When an app is turned off for the user, suspend their account, hard delete their account, or both, after the number of days you choose.
- Click Finish.
- In the Auto-provisioning section, click the activation slider.
Note: The activation slider is disabled if Sugar isn’t turned on for any users. Click User access and turn the app on to enable the slider.
- In the confirmation dialog box, click Turn on.
Once provisioning is on, Google starts collecting usage information. You'll see the usage information in the Auto-provisioning section. There won't be any numbers next to the event names until you enable provisioning.
The following event names provide the usage information for the last 30 days:
- Users created
- Users suspended
- Users deleted
- Failures
For more information, see Monitor automated user provisioning.
You may want to restrict the scope of provisioning to members of groups you define.
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- Click the Auto-provisioning section to open the settings page.
- Under Provisioning scope, click Edit.
- Enter all or part of a group name in the Search groups field. A list of available groups appears.
- Select a group to add it and open a new search field.
- If necessary, add more groups and choose a scope.
- To remove any group you added, click next to it.
If a group has users from a secondary domain or from outside the organization, those users are not provisioned.
- Once you’re done, click Update.
The next time you edit provisioning scope, the groups you added appear in the Provisioning scope window. If you turned on the Sugar application for a set of organizational units, the provisioning scope is restricted to those users in the added groups who are also members of those organizations.
To disable auto-provisioning for the Sugar application without losing all the configuration information:
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- Do one of the following:
- In the Auto-provisioning section, click the activation slider.
- Click the Auto-provisioning section to open the settings page, then click StatusTurn off.
- In the confirmation dialog box, click Turn off.
To define how long deprovisioning actions should be delayed before taking effect:
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- Click the Auto-provisioning section to open the settings page.
- Under Deprovisioning, click Edit.
- Choose how long deprovisioning actions should be delayed before taking effect. You can set the time to: within 24 hours or after one, 7, or 21 days. The default for each is to suspend the account within 24 hours. Select at least one of these options:
- When an app is turned off for the user, suspend their account, hard delete their account, or both, after the number of days you choose.
A suspended account is temporarily unavailable until it's restored.
A hard-deleted account can not be restored from either Google Workspace or Sugar. Please contact Sugar support to restore the user and their data. - When a user is suspended on Google, suspend their account, hard delete their account, or both, after the number of days you choose.
- When a user is deleted from Google, suspend their account, hard delete their account, or both, after the number of days you choose.
Tip: Always set more time before hard deleting a user's account than for suspending a user's account.
- When an app is turned off for the user, suspend their account, hard delete their account, or both, after the number of days you choose.
- Click Update to save your edited deprovisioning configuration.
To disable auto-provisioning for the Sugar application and remove all configuration information:
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- Click the Auto-provisioning section to open the settings page.
- Under Delete configuration, click Delete.
- Click Delete to both deactivate auto-provisioning and remove all the configuration information.
Existing users on Sugar will not be deprovisioned.
If the admin password for Sugar has changed, automatic provisioning will stop working. In this case, the original authorization is revoked by Sugar, and you must reauthorize automatic provisioning.
-
Sign in to your Google Admin console.
Sign in using your administrator account (does not end in @gmail.com).
-
In the Admin console, go to Menu AppsWeb and mobile apps.
- Click the Sugar application.
- Click the Auto-provisioning section to open the settings page.
- Under App authorization, click Reauthorize.
- Enter your Sugar username and password, then click Re-authorize.
After reauthorization completes, you're returned to the Auto-provisioning settings page in the Admin console.
Note: Your third-party application might revoke authorization for reasons other than the admin password changing. These reasons can include account inactivity, for example. Check with the documentation for the third-party application for scenarios in which authorization can be revoked.
Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.