To reset Office 365 authentication and change it back to the managed authentication, run the following command:
Set-MsolDomainAuthentication -domainName 'domain name' -Authentication Managed
To reset Office 365 authentication and change it back to the managed authentication, run the following command:
Set-MsolDomainAuthentication -domainName 'domain name' -Authentication Managed