There is an issue, where policy is incorrectly defined, gives fail message task, but task status stays successful.
Run azure/manage-azure-policy@c693881e3b39a41eadc4b74de0ab032a73eeab3b
----------------------------------------------------------------------------------------------------
Failed to get policy with id /subscriptions/#{SubscriptionId}#/providers/Microsoft.Authorization/policyAssignments/<redacted>, path config-files/policy/initiatives/<redacted>/assign.<redacted>.json. Error : {"code":"MissingApiVersionParameter","message":"The api-version query parameter (?api-version=) is required for all requests."}
There is an issue, where policy is incorrectly defined, gives fail message task, but task status stays successful.