AADSTS7000218 - one of my application receives the following error when authenticates Entra id

James Stall 0 Reputation points
2025-01-31T08:31:31.16+00:00

AADSTS7000218 - one of my application receives the following error when authenticates Entra id

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,919 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,835 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 45,016 Reputation points
    2025-01-31T09:26:29.1866667+00:00

    Hi @James Stall

    Is your app a confidential client app? If it is a confidential client app, then the 'client_assertion' or 'client_secret' parameter is necessary during authorization.

    On the contrary, if it is a public client app, then the 'client_assertion' or 'client_secret' parameter is not required. However, you need to enable the public client flow for the app.

    User's image

    Hope this helps.

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

    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.