Bernie White
Bernie White
@ArmaanMcleod Seems like a good idea to me.
An additional thought, for anyone picking this up would be to double check that functions in `Azure.Common.Rule.ps1` are referenced somewhere before writing a test. It's possible there is some unreferenced...
@aavdberg It's under the tasks instead of the command pallet. Terminal menu.
Repoduction: ```powershell Export-AzPolicyAssignmentRuleData -AssignmentFile .\policy\nnn.assignment.json -OutputPath .\policy-rule\ ``` Some additional information about these errors when running `Export-AzPolicyAssignmentRuleData` includes: ```text Export-AzPolicyAssignmentRuleData: An error occurred evaluating expression '[field('type')]' line 63. The function...
Simple cases such as `[field('type')]` can be converted to a PSRule object path. Complex cases will need additional complex expression support upstream in PSRule. For example: - `[first(split(field('fullName'), '/'))]` -...
@Dylan-Prins Thanks for reporting the issue.
@Dylan-Prins Are you able to provide an example of the configuration that specifies `properties.redirectConfiguration.properties`. From what I can find, `properties.redirectConfiguration.properties` might be a runtime property that doesn't exist in infrastructure...
@ArmaanMcleod I've had quite a bit of time to think about this one. I think for the most part we should provide a way to export Azure Policy assignments and...
@ArmaanMcleod Yes. I was thinking: - Default to the current subscription scope or provide the specific scope that you want to export. - Export policy assignments and referenced policy definitions....
@abelal83 Thanks for your interest in this issue.