[英]Is it possible to use Azure Graph API to change Notifications in PIM
[英]How to call the PIM Graph API endpoints?
我正在尝试使用 PowerShell 通过 Graph API 调用 PIM(特权身份管理)REST 端点。在 Graph Explorer 中,我尝试https://graph.microsoft.com/beta/policies/roleManagementPolicies
但它返回"{\"errorCode\":\"MissingProvider\",\"message\":\"The provider is missing.\",\"instanceAnnotations\":[]}"
我在 MS 文档中陷入了困境。 我最接近的是他们建议使用 Powershell SDK,这是新的 Microsoft.graph 模块。 等效的 cmdlet 是Get-MgPolicyRoleManagementPolicy
,它返回类似的错误{"errorCode":"MissingProvider","message":"The provider is missing.","instanceAnnotations":[]}
。 我无法在任何地方找到如何向它提供缺失的信息。 我知道这是测试版并且非常前沿,但我希望有人已经解决了这个问题并找到了解决方案。 GitHub 上有一个未解决的问题,但作者/所有者明显缺席
以下查询将有助于解决问题。
URL 中需要 scopeId 和 scopeType,将提出 PR 来修复文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.