New-AzPolicySetDefinition ignores policyDefinitionReferenceId value passed to PolicyDefinition #26003
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Policy
Azure Resource Policy
Service Attention
This issue is responsible by Azure service team.
Description
Using New-AzPolicySetDefinition, policyDefinitionReferenceId is not populated if passed as json into PolicyDefinition.
In the deployed set definition the policyDefinitionReferenceId is not what was passed in but a random generated number.
Issue script & Debug output
Environment data
Module versions
Error output
The text was updated successfully, but these errors were encountered: