Share via

Office 356 Autodiscover problem

Marc Schodermayr 21 Reputation points
2021-08-24T13:23:50.017+00:00

Good afternoon,

I created an application that uses the EWS to read calendar events from all Exchange users using Application Impersonation. I implemented support for OnPremise (using NTLM) and Office 356 (using OAuth2). While I created the OAuth2 implementation 2 years ago, everything was fine. However, the customers get a lot of problems now setting everything up.

The main problem is the Autodiscover server. I created a new Office 356 developer subscriptions and - well, same problem. I won't get access to the autodiscover server. I always get the following message:

Access has been blocked by Conditional Access policies. The access policy does not allow token issuance.

However, I don't have any conditional access plicies configured. I gave full access right to the impersonation user. If I get the autodiscover URL using the autodiscover.json url, access that site and try to lock in to that, I get the same message. So what's going on? What do I have to do to access the autodiscover using Exchange 356?

Best regards,
Marc Schodermayr

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

0 comments No comments

Answer accepted by question author

Andy David - MVP 160.3K Reputation points MVP Volunteer Moderator
2021-08-24T13:42:11.96+00:00

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Marc Schodermayr 21 Reputation points
    2021-08-24T13:59:30.99+00:00

    Oh my gosh... I don't belive it. That's it. Now it works fine. Thank you very much for that precious information!

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.