
ShoichiroK.00155 (LAC Co., Ltd) asked a question.
Integration Method: WS-Federation
Administrator Account: testuser@test.onmicrosoft.com (Global Administrator)
Domain: test.onmicrosoft.com
Custom Domain: mydomain.com
Is it possible to set mydomain.com as the primary domain on the MS365 side and proceed with the integration?
The following error is displayed: Please review the form to correct the following error: Federation to the default domain is not allowed. Please change the Office 365 domain for this app. domain=mydomain.com Please retry the federation setup for this domain in a few hours.
Is it absolutely necessary to set the primary domain in MS365 to test.onmicrosoft.com?
I would be grateful if someone could inform me. Thank you in advance.

Hello @ShoichiroK.00155 (LAC Co., Ltd) Thank you for posting on our Community page!
When federating a domain from Office side, the domain you are trying to federate can not be the default one and also the onmicrosoft.com domain can not be federated with Okta.
You can add a new domain mydomain2.com, make that one default and then you can federate the mydomain.com domain with Okta.
Please see our deployment guide as well:
https://help.okta.com/en-us/content/topics/apps/office365-deployment/configure-sso.htm
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Ask Us Anything thru 7/14: Okta WIC leadership want to hear from you