大网数据广告活动
域与目录服务

The Identity of the Calling Application Could Not Be Established

· 52CE 我爱测

Provides solutions to the identity of the calling application could not be established error when using Microsoft Graph.

This article provides solutions to the error message "The identity of the calling application could not be established" when using Microsoft Graph.

Symptoms

When using Microsoft Graph or some services that rely on it, you encounter the following error message:

The identity of the calling application could not be established

Cause

This error occurs because the oid and sub claims are missing from the access token. The root cause is that the service principal doesn't exist in the tenant or the tenant isn't aware of the application.

Solution

To resolve this error, add the service principal to the tenant and consent to the permissions required by the application.

You can build an admin consent URL like the following one:

https://login.microsoftonline.com/{organization}/adminconsent?client_id={client-id}

Then, sign in with a Global Administrator account of the tenant where you are trying to access resources.

Note:

  • Replace {organization} with the tenant ID, for example, aaaaaaaaaaaa-bbbb-cccc-1111-22222222.
  • Replace {client-id} with the application ID, for example, dddddddddddd-eeee-ffff-3333-44444444.

References

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/03/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。