IBM Cognos Analytics is telling me my B2C tenant endpoint should be reachable in the servers. Is that possible?

IGhoseHome 0 Reputation points
2023-01-17T22:26:23.5733333+00:00

Is B2C tenant endpoint pingable from a desktop? [https://login.microsoftonline.com is accessible using curl command but not the b2cc tenant.

curl https://tenantname.b2clogin.com

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,961 Reputation points Microsoft Employee Moderator
    2023-01-27T12:28:35.3266667+00:00

    Hello IGhoseHome

    Thanks for your time and patience. I was able to review this and got same results for my B2C tenant :

    User's image

    On checking further I found that :

    A registered application receives tokens and communicates with Azure AD B2C by sending requests to these endpoints:

    https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/authorize

    • https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/oauth2/v2.0/authorize?p=<policy-name>

    https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/token

    This is because when you ping or access login.microsoftonline.com it redirects you to default /authorize endpoint of Azure AD which is not the case with [ https://tenantname.b2clogin.com as it is dedicated to B2C.

    User's image

    Please do let me know if you have any further queries.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer", "Upvote" and share your feedback (Yes/No) if the suggestion works as per your business need. This will help us and others in the community as well.


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.