I am facing issue while trying to achieve Azure AD - Okta federation use case.
Describing it further:
I have created a Okta application in Azure AD.
Configured the application and updated the metadata which is created in Okta for Azure SAML authentication.
While I am testing the application from Azure AD, I am getting 400 (Your request resulted in an error. Error Code: GENERAL_NONSUCCESS) error.
I have tried to configure the Provisioning as Automatic in Okta application created in Azure but getting invalid credentials error for valid tenant URL and security token which is created by super admin user.
Can any one please help here to achieve this set up.
I am trying with populating various user mapping but no luck. Whether I am missing something here !!
This is the message I received from Azure AD, " Azure AD successfully issued a token (SAML response) to the application (service provider). If you still can’t access the application you need to contact the software vendor and share the information below." and received the SAML request and response. But not finding any error there.
Not encouraging to have this issue…. find a post where two people have had it but no suggestions for resolving it. Wondering if either of you remember how it was resolved in your environment?
This is why I was getting the 400 error.
In Azure Active Directory admin center → Enterprise applications → Okta (or whatever you named it) → Single sign-on → (Section 1) Basic SAML Configuration
When I created the Entity ID, Microsoft had auto-populated a generic entry and even though I had marked the www.okta.com/saml2… entry as the default, that “stray” entry was causing my 400 error. Deleted that extra entry and boom, it took me to my okta desktop.