Where to find Exchange ActiveSync OAuth Sign In URL and OAuth Token Request URL field entries

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 03-07-2022 02:11 PM
Here's what you need to input into the "OAuth Sign In URL" and "OAuth Token Request URL" fields for the Exchange ActiveSync device payload for when you need to account for modern authentication:
OAuth Sign In URL: https://login.microsoftonline.com/ENTER-THE-TENANT-ID/oauth2/v2.0/authorize
OAuth Token Request URL: https://login.microsoftonline.com/ENTER-THE-TENANT-ID/oauth2/v2.0/token
To find the Tenant ID: Go to Portal.azure.com > Azure Active Directory > Properties. The ID it shows there is your tenant ID.
Enjoy.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 03-08-2022 03:03 PM
I was just looking for this infor and found it here. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-11-2022 02:55 AM
Hi @jbutler47
i just configured it in jamf but it didn't work, i got following: OAuthSignInURL contains invlaid vlaue.
did you do something extra as App Registration in Azure to prepare it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 09-19-2022 10:57 AM
Same here, I get an OAuthTokenRequestURL invalid value error.
Any ideas?
thanks in advanced!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 06-27-2023 11:26 AM
Same as well. Wondering if someone solved this issue. I have an open ticket with jamf at the moment.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 06-27-2023 11:33 AM
For clarification, we were doing iPad testing over a year ago and the URL info seemed to work at the time for what we were attempting to do. However, that testing was ultimately abandoned sometime later and those profiles were taken offline. Perhaps Jamf support will be able to provide the solution you may need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 05:48 AM - edited 06-30-2023 05:49 AM
I am not sure why but there is something wrong with the formatting of the first link that wasn't allowing it to be pushed. Should have noticed that the entire link is not blue and underlined. Jamf sent these ones along which should work with everyones tenent ids.
https://login.microsoftonline.com/TENENT_ID_HERE/oauth2/v2.0/authorize
https://login.microsoftonline.com/TENENT_ID_HERE/oauth2/v2.0/token
Thanks @jbutler47 for getting this topic posted.
