[BUG] Export-AzPolicyAssignmentRuleData unable to export Azure policy as PSRule (The function "field" was not found) [Microsoft policy ID: 817dcf37-e83d-4999-a472-644eada2ea1e] #2724
Labels
bug
Something isn't working
feature: policy-as-rules
Issues that related to exporting policy as rules.
Milestone
Existing rule
No response
Description of the issue
Unable to export policy assignment data to PSRule.
PolicyDefinitionId: /providers/Microsoft.Authorization/policyDefinitions/817dcf37-e83d-4999-a472-644eada2ea1e
DisplayName: App Service Environment should be configured with strongest TLS Cipher suites
Error messages
An error occurred evaluating expression '[less(length(field('Microsoft.Web/HostingEnvironments/clusterSettings[*].value')), 80)]' line 8658. The function "field" was not found.
Reproduction
Exporting policy assignment data of Microsoft policy /providers/Microsoft.Authorization/policyDefinitions/817dcf37-e83d-4999-a472-644eada2ea1e
Version of PSRule
2.9.0
Version of PSRule for Azure
1.33.2
Additional context
This bug is related to #1323
The text was updated successfully, but these errors were encountered: