B2C single sign on for Zendesk

James 21 Reputation points
2025-02-21T13:10:33.0966667+00:00

We are trying to implement sso to Zendesk in our b2c directory. This is documented in this link:

https://learn.microsoft.com/en-us/entra/identity/saas-apps/zendesk-tutorial

The problem is when a user email is in both the b2c directory and also in a Microsoft directory, such as with a hotmail email address. In this case the process redirects to the Microsoft directory for authentication and not to the b2c directory. The authentication will then fail. How do we force the process to route authentication to the b2c directory if an (e.g.) hotmail email address user is logging in.

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Raja Pothuraju 23,465 Reputation points Microsoft External Staff Moderator
    2025-02-21T15:21:17.05+00:00

    Hello @James,

    Thank you for posting your query on Microsoft Q&A.

    Based on your description, I understand that you're trying to integrate the Zendesk application into your Azure AD B2C tenant but are facing authentication issues, as the redirection is going to your Microsoft Entra tenant instead of Azure AD B2C.

    The documentation you followed is intended for Microsoft Entra tenants ("Microsoft Entra SSO integration with Zendesk") and not for Azure AD B2C. As a result, it is expected that authentication is redirecting to Microsoft Entra ID instead of Azure AD B2C since no custom policy has been configured for it.

    To register a SAML application in Azure AD B2C, you must use custom policies. Below are the steps to create a custom policy for supporting SAML SSO in your applications:

    1. Create Policy Keys and Identity Experience Framework Application.
    2. Create Certificate
    3. Download Sample Policies
    4. Update Base file
    5. Update Base_Extension File
    6. Create policy file.
    7. Upload Policy in Azure Portal
    8. Run Policy.

    You can refer to the following links for detailed guidance:

    I hope this information is helpful. Please feel free to reach out if you have any further questions.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. James 21 Reputation points
    2025-02-24T07:57:35.99+00:00

    Thanks for the answer. Would recommend adding a paragraph to this acticle covering the situation with b2c.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.