Conditional access, compliance, intent, app management policies list api do not support pagination
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the report: call https://graph.microsoft.com/beta/identity/conditionalAccess/policies?$count=true&$top=100 and check whether ODataNextLink is absent — this strongly suggests a service-side behavior rather than an SDK defect, so confirm where the next-link is produced (service response vs. the .NET page extraction in the request adapter) before writing code. Inspect the generated request builder for identity/conditionalAccess/policies and the Kiota-generated page collection classes to see if any client-side trimming drops the link. Done means a clear verdict on whether the fix belongs in this repository, with an issue response or a minimal repro attached either way.
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
According to docs https://learn.microsoft.com/en-us/graph/api/conditionalaccessroot-list-policies?view=graph-rest-beta&tabs=http, this api support pagination via top / skip.
But we faced an issue: we have 164 conditional access policies, we call api with $top=100 parameter, and ODataNextLink is missing in the response. Response contained exactly 100 policies. So we cannot load all policies if specify any top parameter.
Api returns all policies only if we remove the $top completelly. But in this variant we cannot control page and request size, and cannot be sure that all policies are loaded.
Expected behavior
If we provide some $top parameter, which is less then total policies amount, the response should contain ODataNextLink
How to reproduce
Call https://graph.microsoft.com/beta/identity/conditionalAccess/policies?$count=true&$top=100 or with any top which is less then total policies amount in your environment.
See that ODataNextLink is missing.
SDK Version
No response
Latest version known to work for scenario above?
No response
Known Workarounds
Load conditional access policies without any top parameter.
Currently it returns all 164 policies on one page.
But this solution is 'uncontrolled'
Debug output
Click to expand log
```</details>
### Configuration
_No response_
### Other information
_No response_
- 主要言語
- C#
- スター
- 114
- フォーク
- 36
- 平均マージ
- 13時間 37分
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-beta-sdk-dotnet のほかの issue
-
status:waiting-for-triage type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
microsoftgraph/msgraph-beta-sdk-dotnet#1001 ·
メンテナーはふだん 1 日以内に返信
-
.NET target framework alignment with .NET support lifecycles対応中かも @gavinbarron が 7 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 18/100
microsoftgraph/msgraph-beta-sdk-dotnet#1195 ·
メンテナーはふだん 1 日以内に返信
-
status:waiting-for-triage type:feature
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1180 ·
メンテナーはふだん 1 日以内に返信
-
status:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoftgraph/msgraph-beta-sdk-dotnet#1156 ·
メンテナーはふだん 1 日以内に返信
-
status:waiting-for-triage type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1155 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
microsoftgraph/msgraph-beta-sdk-dotnet の issue をすべて見る
似ている issue
-
a-corriger bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
christian-raj/S-Aloha#340 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/microsoft-ui-reactor#1626 ·
メンテナーはふだん 1 日以内に返信
-
Triage:Untriaged Type:Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
area: opcua type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
RicoSuter/Namotion.Interceptor#1020 ·
メンテナーはふだん 1 日以内に返信
-
area-messaging-patterns bug p1-recommended
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信