Hi,
As per the authorization documentation, it mentions we can use normal http method, oauth and also using a certificate. Calling up options command on Active Sync Server using normal http method of authentication, the server returns http response code 200. But if i am using oauth method, i pass the bearer + token in the "Authorization" header, but the command request returns 401. I am also passing the host, which is office365 in my case.
What could i be missing or doing wrong? Does this work if i use oauth method?
Please guide.
Thanks