Hello Ashutosh Jadhav,
As discussed in the call, kindly delete the unused resource and see if it resolves?
If not follow the below steps
- Understanding Policy Assignment Scope: Ensure that when you're assigning the policy, the scope is appropriate for the resources you want to affect. If certain resources don't need the Standard tier, the policy might need to exclude them explicitly.
- Custom Policy Definition: Since Azure Policy does not have an "Exempt" option for the particular assignment you are working with, you might consider creating a custom policy definition that allows for the exclusion of specific resources. More details on creating a custom policy definition can be found here.
- Utilize Policy Remediation: If the resources you’re trying to mark as compliant truly don't benefit from the Standard tier, you could look into using remediation tasks for policies that have actions such as
deployIfNotExistsormodify. This can help bring resources into compliance without manual upgrades, as long as they are set to a suitable state as per the policy requirements. - Policy Feedback Submission: If the lack of an exempt option is a significant pain point, consider submitting a feature request in the Azure Policy Ideas Forum for better flexibility with policy exemptions.