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

Contributor II

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.






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

New Contributor II

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?


New Contributor II

Same here, I get an OAuthTokenRequestURL invalid value error. 

Any ideas?


thanks in advanced!

New Contributor

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

Contributor II

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. 

New Contributor

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.






Thanks @jbutler47  for getting this topic posted.