parameters associated with it which exceeds the maximum limit of '100'

Kristiansen, Håvard 16 Reputation points

We're importing an entire compliance policy from

But when we try to apply the import we're reciving the error due to parameter restricitons on 100:

Error: creating Policy Set Definition "Azure CIS": policy.SetDefinitionsClient#CreateOrUpdateAtManagementGroup: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="TooManyPolicySetParameters" Message="The policy set 'Azure CIS' has '111' parameters associated with it which exceeds the maximum limit of '100'."

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
756 questions
{count} votes

1 answer

Sort by: Most helpful
  1. tbgangav-MSFT 10,236 Reputation points

    Hi @Kristiansen, Håvard ,


    Built-in policies sometimes have different limits than custom policies. The limit on policies per policySet was increased to allow users to duplicate large policySets but it looks like now the parameter limit has been exceeded as well in a policySet that users want to duplicate. So we will open a task to increase the parameter limit to match what built-ins allow. In the meantime that policySet is a built-in policySet that is already available for any customer in the portal so you do not have to create it yourself.