Hello Andrew Geriane
Thanks for reaching out on Microsoft Q&A and really appreciate your patience while we looked into this.
Understand from description that you are facing issue "error call auditIfNotExists" in your Azure Activity Log. This type of error typically occurs due to a policy that mandates certain auditing and diagnostic settings are enabled, particularly in the context of compliance and security for Azure resources.
Steps:
Check Azure Policy Assignments: This error often means there's a policy that requires certain resources or configuration settings to exist. You can find out which policy is triggering this error by checking your Azure Policy assignments within the Azure portal.
List Assigned Policies: You can run the following command in Azure CLI to list all policies assigned to your subscription:
az policy assignment list --scope /subscriptions/<your-subscription-id> Review Policy Definitions: Once you identify the specific policy, check its definition and compliance state. This will help you understand why your operation is being blocked.
Modify Your Resource Deployment: Depending on the policy requirements, you may need to adjust your resource parameters (like SKU, location, or tags) to comply.
Enable Diagnostic Logs: Since you're working with Azure Health Data Services, ensure that you have diagnostic logs enabled. You can refer to these resources for further help:
Enable Diagnostic Logging in Azure API for FHIR
Monitor the Azure Health Data Services de-identification service
References Logging for Azure Health Data Services
Monitor the Azure Health Data Services de-identification service
Troubleshoot Resource creation was disallowed by policy
I hope this helps in resolving the issue, do let me know if you have any further questions on this.
Thanks