azure - 资源 'appid or objectid' 不存在或其查询的引用属性对象之一不存在

标签 azure azure-ad-graph-api azure-service-principal

我正在尝试将 ClaimMappingPolicy 与图形 API 中的主要服务关联起来: enter image description here

我尝试使用对象id和appid进行调用,但它不起作用,找不到资源,但资源退出: enter image description here

并且该政策也存在: enter image description here

为什么不使用图形 API 找到服务主体?

最佳答案

您正在查看应用程序注册,这意味着您正在查看应用程序对象的 ID。 您需要服务主体 objectId。

您可以在应用程序注册中单击“本地目录中的托管应用程序”,或转到“企业应用程序”并从那里找到您的服务主体(具有相同的名称)。

文档:Application and service principal objects in Azure Active Directory

关于azure - 资源 'appid or objectid' 不存在或其查询的引用属性对象之一不存在,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72897618/

相关文章:

azure - 是否可以使用单个服务主体来访问 Azure 中的多个资源?

azure - 如果我不是租户中的全局管理员,如何在 azure 中授予我自己的应用程序同意?

azure - 无法使用来自 PostMan 的服务主体访问 token 访问 Datalake

Azure API管理和App Function后端: Backend with id 'foo' could not be found

azure - DNN 9.01.01 导出/导入卡在已提交状态

azure - 在用户流 JWT Azure AD B2C 中添加应用程序扩展属性

azure - 如何以编程方式枚举 Azure 订阅和租户?

git - 如何从 Visual Studio Team Services 构建更改 Azure 部署中使用的 cscfg 文件?

Azure存储: Enable blob versioning on storage account programmatically

azure - 通过postman调用microsoft graph api