Azure-docs: Azure PIM API 似乎需要 R/W 权限,即使对于 GET/Read 操作

创建于 2020-05-28  ·  1评论  ·  资料来源: MicrosoftDocs/azure-docs

Azure List 治理角色 API 文档表明我们只需要
应用 | PrivilegedAccess.Read.AzureResources 权限。

https://docs.microsoft.com/en-us/graph/api/governanceroleassignment-list?view=graph-rest-beta

但是,当实际仅使用 PrivilegedAccess.Read.AzureResources 权限调用该 API 时,我们看到了如下错误 - 这是文档问题还是产品错误?

{ "error": { "code": "UnknownError", "message": "{\"errorCode\":\"PermissionScopeNotGranted\",\"message\":\"由于缺少权限范围 PrivilegedAccess.ReadWrite,授权失败.AzureResources.\",\"target\":null,\"details\":null,\"innerError\":null,\"instanceAnnotations\":[],\"typeAnnotation\":null}", " innerError": { "request-id": "44bfc8bb-d502-4fb4-bd46-2855b53adf99", "date": "2020-05-11T15:51:22" } }}
io.cloudknox.plugins.azure.AzureRuntimeException: { "error": { "code": "UnknownError", "message": "{\"errorCode\":\"PermissionScopeNotGranted\",\"message\":\"由于缺少权限范围 PrivilegedAccess.ReadWrite.AzureResources,授权失败。\",\"target\":null,\"details\":null,\"innerError\":null,\"instanceAnnotations\":[],\ "typeAnnotation\":null}", "innerError": { "request-id": "44bfc8bb-d502-4fb4-bd46-2855b53adf99", "date": "2020-05-11T15:51:22" } }}


文件详情

请勿编辑此部分。

Pri3 cxp microsoft-graptech microsoft-identity-platforprod product-question triaged

最有用的评论

@pratima-cloudknox 感谢您提醒我们注意这一点。 我会让内容团队审查文档,如果文档需要更新,请提交 PR 以正确反映必要的权限。

>所有评论

@pratima-cloudknox 感谢您提醒我们注意这一点。 我会让内容团队审查文档,如果文档需要更新,请提交 PR 以正确反映必要的权限。

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

ianpowell2017 picture ianpowell2017  ·  3评论

bityob picture bityob  ·  3评论

spottedmahn picture spottedmahn  ·  3评论

mrdfuse picture mrdfuse  ·  3评论

AronT-TLV picture AronT-TLV  ·  3评论