# AD Sync error: code 200 access restricted

**URL:** <https://devforum.zoom.us/t/ad-sync-error-code-200-access-restricted/25679>\
**Category:** API and Webhooks\
**Created:** [July 30, 2020, 4:21am UTC](https://devforum.zoom.us/t/ad-sync-error-code-200-access-restricted/25679 "2020-07-30T04:21:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeb](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@mikeb](https://devforum.zoom.us/u/mikeb)\
**Post date:** [July 30, 2020, 4:21am UTC](https://devforum.zoom.us/t/ad-sync-error-code-200-access-restricted/25679/1 "2020-07-30T04:21:55Z")

</div>

Trying to get AD sync working as per [https://support.zoom.us/hc/en-us/articles/115005865543-AD-Sync-to-Zoom](https://support.zoom.us/hc/en-us/articles/115005865543-AD-Sync-to-Zoom)

Set up my JWT app w/ key and secret. When executing jar file I get the following error:

zoom.httpclient.RestTemplateClient: Error, code: 200, message: Access restricted, no privilege to do this action.

Where do I set privileges?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 31, 2020, 8:40pm UTC](https://devforum.zoom.us/t/ad-sync-error-code-200-access-restricted/25679/2 "2020-07-31T20:40:15Z")

</div>

Hey @mikeb,

Can you share a screenshot of the error page? Are you on a [Pro or higher](https://www.discourse.org/pricing) account?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 10, 2020, 8:40pm UTC](https://devforum.zoom.us/t/ad-sync-error-code-200-access-restricted/25679/3 "2020-08-10T20:40:22Z")

</div>

Closed on August 10, 2020, 8:40pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
