microsoftgraph / microsoftgraph/msgraph-sdk-java

appRoleAssignments is missing from servicePrincipalsWithAppId

未关闭
#2,418 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

status:waiting-for-triage type:feature
主要语言
Java
星标
444
派生
154
平均合并
18 小时 28 分钟
30 天内合并 PR
4

描述

Is your feature request related to a problem? Please describe the problem.

The API support both of these:
GET /servicePrincipals/{id}/appRoleAssignments
GET /servicePrincipals(appId='{appId}')/appRoleAssignments

When i do .servicePrincipals().byServicePrincipalId() I can then do .appRoleAssignments().get()
but when I do .servicePrincipalsWithAppId() it does not have the .appRoleAssignments() method.

Describe the solution you'd like.

Add the .appRoleAssignments() method to the ServicePrincipalsWithAppIdRequestBuilder

Additional context?

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 ServicePrincipalsWithAppIdRequestBuilder 开始,将其可用方法与请求路径 servicePrincipals().byServicePrincipalId() 进行比较,后者已经暴露了 appRoleAssignments()。当基于 appId 的 builder 为文档所述的 API 路由暴露相同的 appRoleAssignments() 入口点时,这项工作即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。