Skip to main content
Question

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

  • Mar 7, 2022 10:11 PM UTC
  • 6 replies
  • 390 views

jbutler47
Forum|alt.badge.img+14

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.

 

6 replies

Forum|alt.badge.img+9
  • Contributor
  • Mar 8, 2022 11:03 PM UTC

I was just looking for this infor and found it here.  Thank you!


Forum|alt.badge.img+3
  • New Contributor
  • Apr 11, 2022 9:55 AM UTC

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?

 


Forum|alt.badge.img+3
  • New Contributor
  • Sep 19, 2022 5:57 PM UTC

Same here, I get an OAuthTokenRequestURL invalid value error. 

Any ideas?

 

thanks in advanced!


Forum|alt.badge.img+1
  • New Contributor
  • Jun 27, 2023 6:26 PM UTC

Same as well.  Wondering if someone solved this issue.  I have an open ticket with jamf at the moment.


jbutler47
Forum|alt.badge.img+14
  • Author
  • Valued Contributor
  • Jun 27, 2023 6:33 PM UTC

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. 


Forum|alt.badge.img+1
  • New Contributor
  • Jun 30, 2023 12:48 PM UTC

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.