MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

policySetDefinitions documentation properties incorrect #4001

Open lukelloydagi opened 6 months ago

lukelloydagi commented 6 months ago

Both the ARM template and API documentation for policySetDefinitions state the "policyDefinitionId" property is "The ID of the policy definition or policy set definition". However unless I'm mistaken only policy definitions are supported within a policySetDefinition?

https://learn.microsoft.com/en-us/azure/templates/microsoft.authorization/policysetdefinitions?pivots=deployment-language-arm-template#policydefinitionreference-1:~:text=ParameterValues-,policyDefinitionId,The%20ID%20of%20the%20policy%20definition%20or%20policy%20set%20definition,-.

https://learn.microsoft.com/en-us/rest/api/policy/policy-set-definitions/create-or-update?view=rest-policy-2023-04-01&tabs=HTTP#policydefinitionreference:~:text=the%20parameter%20names.-,policyDefinitionId,The%20ID%20of%20the%20policy%20definition%20or%20policy%20set%20definition,-.

welcome[bot] commented 6 months ago

Thank you for opening an issue! One of our team members will get back to you with additional information.

If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.

gewarren commented 5 months ago

@tfitzmac FYI.