Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

appRoleAssignments is missing from servicePrincipalsWithAppId

未關閉
#2,418 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

  • #2541 來自 @Ashutosh0x —— 已關閉,未合併

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
55/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
java
領域
api

研究方向

從 ServicePrincipalsWithAppIdRequestBuilder 開始,將其可用方法與請求路徑 servicePrincipals().byServicePrincipalId() 進行比較,後者已經公開了 appRoleAssignments()。當以 appId 為基礎的 builder 為文件所述的 API 路由公開相同的 appRoleAssignments() 進入點時,這項工作便完成。

由索引模型根據 Issue 內容生成。

描述

status:waiting-for-triage type:feature
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

主要語言
Java
星號
445
分支
154
平均合併
17 小時 22 分鐘
30 天內合併 PR
3

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoftgraph/msgraph-sdk-java 的其他 Issue

查看 microsoftgraph/msgraph-sdk-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。