# Zoom Server-to-Server OAuth or OAuth app for Azure AD?

**URL:** <https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857>\
**Category:** Users and Groups\
**Created:** [February 9, 2023, 3:50pm UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857 "2023-02-09T15:50:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RM7](https://avatars.discourse-cdn.com/v4/letter/r/c37758/32.png) [@RM7](https://devforum.zoom.us/u/RM7)\
**Post date:** [February 9, 2023, 3:50pm UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857/1 "2023-02-09T15:50:33Z")

</div>

With the deprecation of the JWT app type in Zoom, we are looking to change to either server-to-server oauth or OAuth. We only use the JWT secret token for Zoom and our Zoom App in Azure to sync with user data. This then allows us to enable auto-provisioning for user Zoom accounts from our Azure AD tenant. We want to continue this process, but we are having trouble finding the correct instructions that will integrate with Azure AD.

We created both OAuth and Server-to-Server app types in Zoom. The zoom app we created in azure requires a secret token from the Zoom S2S or OAuth app. Both app types are configured differently. Which app type is best for Azure to Zoom auto-provisioning? Since scopes are required, which scopes do we need for auto-provisioning?

---

<div class="post-metadata">

**Author:** ![philip.ross](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/philip.ross/32/19627_2.png) [@philip.ross](https://devforum.zoom.us/u/philip.ross)\
**Post date:** [February 9, 2023, 8:51pm UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857/2 "2023-02-09T20:51:51Z")

</div>

I found that this article:

[https://support.zoom.us/hc/en-us/articles/115005887566-Configuring-Zoom-with-Azure](https://support.zoom.us/hc/en-us/articles/115005887566-Configuring-Zoom-with-Azure)

It states:

> At this time, configuring Zoom with Azure only supports JWT. We are currently working with Microsoft to implement OAuth support for Azure Enterprise Applications and will provide updates as this becomes available

It could be that it’s not possible yet, using S2S OAuth, but might need a Zoom developer to confirm

---

<div class="post-metadata">

**Author:** ![dshumate](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dshumate](https://devforum.zoom.us/u/dshumate)\
**Post date:** [August 25, 2023, 7:15pm UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857/3 "2023-08-25T19:15:00Z")

</div>

And, so with a little over a week left before JWT is terminated, are we going to get any confirmation from Zoom engineers?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 29, 2023, 8:29pm UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857/4 "2023-08-29T20:29:23Z")

</div>

Hi @dshumate  
Thanks for reaching out to us.  
Here is a helpful support article that you could benefit from

> **[Managing the AD Sync Tool](https://support.zoom.us/hc/en-us/articles/115005865543-Managing-the-AD-Sync-Tool)**
>
> The AD Sync Tool is a command line tool that you can run on a Windows, Linux, or macOS system to sync users between your Active Directory (AD) or LDAP Server and your Zoom account. With this tool, ...

---

<div class="post-metadata">

**Author:** ![austinjoy51](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/austinjoy51/32/61575_2.png) [@austinjoy51](https://devforum.zoom.us/u/austinjoy51)\
**Post date:** [July 18, 2024, 9:47am UTC](https://devforum.zoom.us/t/zoom-server-to-server-oauth-or-oauth-app-for-azure-ad/82857/5 "2024-07-18T09:47:21Z")

</div>

When integrating Zoom with an application running on Azure AD, within the Azure Application Development framework. Each approach has its use cases, advantages, and considerations.

Zoom’s Server-to-Server OAuth is designed for server-to-server communication without user interaction.

Use the Client ID and Client Secret to generate an access token. Include the access token in your API requests.

import requests

client\_id = ‘your\_client\_id’  
client\_secret = ‘your\_client\_secret’

response = requests.post(‘[https://zoom.us/oauth/token](https://zoom.us/oauth/token)’, data={  
‘grant\_type’: ‘client\_credentials’  
}, auth=(client\_id, client\_secret))

token = response.json()[‘access\_token’]

Using an OAuth app with Azure AD involves user interaction and is suitable for applications that require user context, such as accessing user-specific resources on Zoom.

Implement the OAuth flow in your application to handle user authentication and token retrieval.

[https://zoom.us/oauth/authorize?response\_type=code&client\_id=your\_client\_id&redirect\_uri=https://yourapp.com/callback](https://zoom.us/oauth/authorize?response_type=code&client_id=your_client_id&redirect_uri=https://yourapp.com/callback)
