Paginate List Query Results For Subscription Level Policy Assignment

Gonzalo Avalos Ribas 0 Reputation points
2024-10-01T15:44:06.4+00:00

Hi everyone,

I’m having trouble using this service to get information about policy states. It seems to only return up to 1,000 entries per call, and the @odata.nextLink parameter mentioned in the docs always comes back as null.

I tried adjusting the "top" value, but I can't get past around 4,000 due to size limitations.

Is anyone else experiencing this? It’s really important for me to access all the policy states related to my assignments. Is there a way to get the complete set?

Thanks for your help!

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,175 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
918 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.