Avatar of Ronnie Alstrup Ziegler
Ronnie Alstrup Ziegler
 asked on

Enable basic authentication for Office 365 account


I'm using a Office 365 account in our phone system to access all users Exchange calendar, but after Microsoft Security Defaults have been enabled, it's no longer working. I'm getting this message:

the OIP cannot successfully connect to the Exchange Server.

2020-03-16 15:06:03:142 22  >   Microsoft Exchange version:        EXCHANGE_2016
2020-03-16 15:06:03:142 22  >   Microsoft Exchange server address: outlook.office365.com
2020-03-16 15:06:03:142 22  >   Domain:                          
2020-03-16 15:06:03:142 22  >   User name:                         XXX@XXX.XX
2020-03-16 15:06:03:142 22  >   Notification interval:             5s
2020-03-16 15:06:03:142 22  >   ------------------------------------------------------------
2020-03-16 15:06:03:142 22  >   Calendar synchronization:          yes
2020-03-16 15:06:03:142 22  >   E-mail synchronization:            no
2020-03-16 15:06:03:142 22  >   Private contacts synchronization:  yes
2020-03-16 15:06:03:142 22  >   Public contacts synchronization:   no
2020-03-16 15:06:03:142 22  >   ------------------------------------------------------------
2020-03-16 15:06:03:142 22  >   Primary phone mapping:             Company Main Phone
2020-03-16 15:06:03:142 22  >   ============================================================
2020-03-16 15:06:05:783 195  >   ExchUser.DoNotification(): Connection to server still NOK (wrong user name or password?): Unauthorized !!!!!!!!!!!!!!!!!!!!
2020-03-16 15:06:05:783 195  >   ExchUser.DoNotification(): Check connection to server again !!!!!!!!!!!!!!!!!!!!

This may have the following reasons:
- Incorrect User or password
- Domain name cannot be determined, or is incorrectly specified.
- The user has no impersonation rights   --> see on the online help OIP
- Basic authentication in Exchange Online was not activated   -->

I've reset the password and can login to the office portal with the account. I've tried creating a app password and use this, but with no luck. How can I enable basic authentication for just this one account in Office 365?

Microsoft OfficeExchangeMicrosoft 365* mitel

Avatar of undefined
Last Comment
Vasil Michev (MVP)

8/22/2022 - Mon
Hayes Jupe

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Vasil Michev (MVP)

You cannot, security defaults are not customizable and the restrictions they enforce apply to all users. If you have Azure AD Premium licenses, disable security defaults and configure a matching CA policy instead, excluding said account.
Your help has saved me hundreds of hours of internet surfing.