Received error - "AADSTS399266: Blob grant token received with wrong issuer type."

Narisetti, Bernard 0 Reputation points
2024-09-05T20:42:40.4133333+00:00

I am trying to use the code from this microsoft learn page - https://learn.microsoft.com/en-us/samples/azure-samples/ms-identity-ciam-javascript-tutorial/ms-identity-ciam-javascript-tutorial-0-call-api-vanillajs/ and configure the Ids. When trying to authenticate and access the API, seeing below error with status code 400.

{

"error": "invalid_request",

"error_description": "AADSTS399266: Blob grant token received with wrong issuer type. Trace ID: 2cd9ffce-cb70-454d-be7f-d8f39dfc0401 Correlation ID: e689aacd-7c78-42e6-93d0-12b70b24620c Timestamp: 2024-09-05 15:49:43Z",

"error_codes": [

    399266

],

"timestamp": "2024-09-05 15:49:43Z",

"trace_id": "2cd9ffce-cb70-454d-be7f-d8f39dfc0401",

"correlation_id": "e689aacd-7c78-42e6-93d0-12b70b24620c"

}

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
794 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,851 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,457 questions
{count} votes

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.