Conditional access, compliance, intent, app management policies list api do not support pagination
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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_
- Lenguaje dominante
- C#
- Estrellas
- 114
- Forks
- 36
- Merge medio
- 13 h 37 min
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoftgraph/msgraph-beta-sdk-dotnet
-
status:waiting-for-triage type:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
microsoftgraph/msgraph-beta-sdk-dotnet#1001 ·
Los mantenedores suelen responder en 1 día
-
.NET target framework alignment with .NET support lifecyclesPosiblemente ocupada @gavinbarron la tomó hace 7 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 18/100
microsoftgraph/msgraph-beta-sdk-dotnet#1195 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage type:feature
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1180 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
microsoftgraph/msgraph-beta-sdk-dotnet#1156 ·
Los mantenedores suelen responder en 1 día
-
status:waiting-for-triage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
microsoftgraph/msgraph-beta-sdk-dotnet#1155 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoftgraph/msgraph-beta-sdk-dotnet
Issues similares
-
a-corriger bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
christian-raj/S-Aloha#340 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/microsoft-ui-reactor#1626 ·
Los mantenedores suelen responder en 1 día
-
Triage:Untriaged Type:Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
-
area: opcua type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
RicoSuter/Namotion.Interceptor#1020 ·
Los mantenedores suelen responder en 1 día
-
area-messaging-patterns bug p1-recommended
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día