Conditional access, compliance, intent, app management policies list api do not support pagination
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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_
- Ngôn ngữ chính
- C#
- Star
- 114
- Fork
- 36
- Merge trung bình
- 13 giờ 37 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoftgraph/msgraph-beta-sdk-dotnet
-
status:waiting-for-triage type:feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
microsoftgraph/msgraph-beta-sdk-dotnet#1001 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
.NET target framework alignment with .NET support lifecyclesCó thể đã có người làm @gavinbarron đã nhận 7 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 18/100
microsoftgraph/msgraph-beta-sdk-dotnet#1195 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:waiting-for-triage type:feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1180 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:waiting-for-triage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoftgraph/msgraph-beta-sdk-dotnet#1156 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:waiting-for-triage type:bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1155 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoftgraph/msgraph-beta-sdk-dotnet
Issue tương tự
-
a-corriger bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
christian-raj/S-Aloha#340 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
microsoft/microsoft-ui-reactor#1626 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Triage:Untriaged Type:Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
-
area: opcua type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
RicoSuter/Namotion.Interceptor#1020 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area-messaging-patterns bug p1-recommended
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày