Turn off Basic authentication in Exchange Online and handeling exceptions.

Gurudas 951 Reputation points
2022-04-07T08:13:05.817+00:00

Hello All,

Greetings!

Please help me with the process to turn off Basic authentication in Exchange Online and handling exceptions.

Product: Exchange Online Office 365
Requirement: 1. Removing basic authentication from Exchange Online.
2. Creating an exception for any email application relay to send out an external email.

Please provide me Powershell commands or GUI process whichever is feasible.

Thank you in advance :)

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,185 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Carlos Solís Salazar 18,196 Reputation points MVP Volunteer Moderator
    2022-04-07T09:50:00.297+00:00

    Hi @GurudasSatardekar

    Thank you for asking this question on the **Microsoft Q&A Platform. **

    For both cases, you can do it via Conditional Access Policy, Create a policy like this:

    1. Create a Conditional Access Policy
      190860-0.png
    2. Select All Users
      190923-1.png
    3. In Exclude, add the users that you allow to use Basic Auth. in my case I use a Security Group.
      190903-2.png
    4. Select de Cloud App
      190847-3.png
    5. Select the Condition
      190866-4.png
    6. Block the access
      190914-5.png

    This is Literally the setting where I have to do what you require,

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.



  2. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2022-04-07T11:31:03.027+00:00

    Hi, note that Basic Authentication is being turned off in Exchange Online this October.
    I would highly recommend you do not create exceptions at this point and rather you work quickly to get your clients to using Modern Auth
    You can do nothing, and it will be off in October, or turn it off now, and create exceptions with an auth policy:
    https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/disable-basic-authentication-in-exchange-online
    https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/disable-basic-authentication-in-exchange-online#create-and-apply-authentication-policies

    More info:

    https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online

    There is a temporary opt-out process:
    https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-september-2021-update/ba-p/2772210

    0 comments No comments

Your answer

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