Set-MsolDomainAuthentication disable code example
Example: Set-MsolDomainAuthentication disable
Set-MsolDomainAuthentication -DomainName <YourO365Domain.com> -Authentication managed
Set-MsolDomainAuthentication -DomainName <YourO365Domain.com> -Authentication managed