azure - 在哪里可以从 Azure 门户找到服务主体 GUID

标签 azure azure-active-directory azureportal azure-sdk-python

我需要创建一个服务主体并通过 Python SDK 为其分配一个新角色。我目前正在执行此 stackoverflow question 中列出的步骤.

我目前正在处理角色分配,但我陷入了需要输入 principal_id 的步骤。例如根据需要here创建新的角色分配。在 Azure 门户中哪里可以找到此服务主体 ID?是 Azure 门户 -> Active Directory -> 应用注册 -> 我的应用下的 appIdobjectId 吗?

最佳答案

What I am confused about is which Id for my app is corresponding to the principal_id it's asking here. Is it the appId or the objectId for my app?

这些都不是。应该有一个与应用程序绑定(bind)的服务主体。这将有一个 ID。

enter image description here

PS。该屏幕截图是 Azure 门户中的“应用程序注册”边栏选项卡。

关于azure - 在哪里可以从 Azure 门户找到服务主体 GUID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59882486/

相关文章:

azure - 从 Azure 辅助角色将结果返回给客户端的最具可扩展性的方法

使用 CI 时 Azure Functions 修改时间触发间隔

azure - Visual Studio Online 的“生成”部分中缺少托管池

linux - 如何正确更改 Microsoft Azure 中的 SSH 端口?

c# - 通过 Azure Functions 对 Azure AD 中的用户进行身份验证(验证用户名和密码)

azure - 尝试部署 Azure 云服务 ES 时出现 "PackageUriForbidden"错误

azure - 如何在 Azure Active Directory 中启用隐式授予

asp.net-mvc - 使用 Azure Active Directory OAuth 时没有名字或姓氏声明

azure - 在 Terraform 中创建和链接 Azure 资源

azure - 有没有办法在标准逻辑应用程序中获取特定工作流程的 azure 门户 URL?