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

jbutler47
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.

 

Enjoy.

 

6 REPLIES 6

jafuller
Contributor

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

rasy
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?

 

jlnstglr
New Contributor II

Same here, I get an OAuthTokenRequestURL invalid value error. 

Any ideas?

 

thanks in advanced!

firearmman
New Contributor

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

jbutler47
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. 

firearmman
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.

 

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.