Jump to content

Recommended Posts

Posted

Is there a possibility to force a directory sync using a API call? I'm trying to further automate the onboarding process. 

After the creation of an active directory user, force the synchronization to workspace one access so the information is there to send out the magic link.

The synchronization is set-up using the Omnissa Access Connector and we don't want to wait an hour for the sync to complete.

  • Solution
Posted

I tested in my environment and it's possible to run directory sync using the API with following parameters:
 -Request URL: https://[YOUR TENANT]/SAAS/jersey/manager/api/connectormanagement/directoryconfigurations/[Directory GUID]/sync/v2
 -HTTP Method: POST
 -Request Headers:
   -Content-Type: application/vnd.vmware.horizon.manager.connector.management.directory.sync.trigger.v2+json
   -Accept: application/vnd.vmware.horizon.manager.connector.management.directory.sync.trigger.v2+json
 -Body: {"ignoreSafeguards":false}

And you can obtain the directory GUID that you need when running the directory sync API by accessing the directory settings page for your target directory.
image.thumb.png.a96e66cf64a2ba7968d986f5190fe0d6.png

  • Insightful 5

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...