I’m trying to integrate Duo Gateway with SSO for out existing O365. We’ve been using azure directory sync for the local domain to O365. I’ve installed the Duo Gateway but when running the powershell command to federate the O365 domain I receive the following:
Set-MsolDomainAuthentication : You cannot remove this domain as the default domain without replacing it with another
default domain. Use the the Set-MsolDomain cmdlet to set another domain as the default domain before you delete this
domain.
At line:1 char:1
- Set-MsolDomainAuthentication –DomainName $dom -Authentication Federat …
-
+ CategoryInfo : OperationStopped: (:) [Set-MsolDomainAuthentication], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.DefaultDomainUnsetException,Microsoft.Online.
Administration.Automation.SetDomainAuthentication
There is only one domain in O365 besides onmicrosoft.com, and this domain is set as default.