Why am I receiving this error: AADSTS70025: Client application has no configured federated identity credentials.

Aundrea Vickers 0 Reputation points
2024-09-16T18:01:07.7533333+00:00

Why am I receiving the federated identity error , when I'm using a client certificate/client_assertion key (jwt)?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,653 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
70 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Yakun Huang-MSFT 8,355 Reputation points Microsoft Vendor
    2024-09-17T08:55:34.4333333+00:00

    Hello Aundrea Vickers,

    Thank you for reaching Microsoft Support!

    According to the documentation, check that the federation credentials are configured on the App registration or Managed Identity.

    User's image

    If no configuration, please follow the documentation tutorial to configure.

    Hope this helps.

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


  2. Kevin Kimotho 0 Reputation points
    2024-09-22T08:49:11.1+00:00

    I am running into the same exact error. For the same App Registration, I am able to access an API through it using client, secret. But not successful with the certificate method.

    What i have done:

    • Used python to generate a JWT payload and sign with the private key
    • Uploaded a .pem of the certificate
    0 comments No comments

  3. Kevin Kimotho 0 Reputation points
    2024-10-10T05:42:23.3166667+00:00

    After some tinkering, I was able to resolve this. Essentially, you need to add a Federated credential to your App Registration. Navigate to Certificates & Secrets, then to the 'Federated credentials' tab and configure as follows:

    User's image

    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.