
User17033682086731155642 (Customer) asked a question.
Hello everyone,
I'd like to ask for help about the Microsoft enterprise apps federated login to Okta.
My okta account has multi branding feature enabled as I have 2 different brandings, so then I created those 2 brandings and added the custom domains and styled them.
However, whenever I tried to login to MS enterprise apps, the federated login redirects to "<mycompany>.okta.com" instead of my configured custom domains. These custom domains have been configured properly on Microsoft admin already.
Some MS enterprise apps especially those been setup on Microsoft Azure usually shows the 'login.microsoftonline.com' login page first where the user would have to put their email so that it would then redirect to proper Okta login page.
As an example, what I wanted to happen is when the user typed in their email on 'login.microsoftonline.com' login page, for example, user@domain1.com, it should then redirect to domain1.com Okta custom domain login page. and when user@domain2.com signs in, then it should redirect to domain2.com Okta custom domain login page, and so forth, instead of "<mycompany>.okta.com" default okta subdomain.
PS: I already configured some apps on Microsoft Azure long before I began using Okta and I currently do not have enough time to migrate/rebuild the apps one by one to Okta.

Hi, @User17033682086731155642 (Customer)
Thank you for posting on our Community page!
Please take a look in this article and make sure all the steps were followed: https://help.okta.com/en-us/content/topics/apps/office365/multiple-domains-support.htm
Moreover, I would suggest opening a case with Support so they can take a better look at the architecture.
Earn Today: New Okta Community Badges Have Arrived
Community members help others by clicking Like or Select as Best on responses. Try it today.
_____________________________________________________________________________