FHIR AuditEvent resource creation

Rajat Singhal 25 Reputation points
2026-03-27T07:35:45.3533333+00:00

Does Azure FHIR service support automatically generated AuditEvent for any interaction with FHIR service. Many of FHIR server have implicit support for this

Azure Health Data Services
Azure Health Data Services

An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.

0 comments No comments

2 answers

Sort by: Newest
  1. kagiyama yutaka 5,330 Reputation points
    2026-03-29T00:33:44.49+00:00

    I think azure fhir just can’t produce auditEvent; the engine has no hook for that path, so nothing shows up no matter the op u call. if it still won’t work, turn on portal→diagnostic settings→audit/resource logs and build only from whatever trace actually lands there.

    Was this answer helpful?


  2. Pravallika KV 18,850 Reputation points Microsoft External Staff Moderator
    2026-03-27T18:40:22.2866667+00:00

    Hi @Rajat Singhal ,

    Thanks for reaching out to Microsoft Q&A.

    Azure’s managed FHIR service does not automatically create FHIR “AuditEvent” resources inside your FHIR store the way some on-prem servers do.

    Instead it provides two audit-style mechanisms:

    1. Azure resource AuditLogs:
      • Captures every call to the FHIR API (caller IP, URL, operation, status, etc.)
      • Exposed as Azure Monitor resource logs (category AuditLogs) that you can stream to Log Analytics, Event Hub, Storage, etc., via Diagnostic Settings https://learn.microsoft.com/azure/healthcare-apis/logging
    2. Azure Health Data Services Events (Event Grid)

    If you specifically need FHIR AuditEvent resources persisted in your FHIR store, you’d need to build a small pipeline for example, an Azure Function or Logic App that:

    • Reads AuditLogs or Event Grid messages
    • Transforms them into FHIR AuditEvent resources
    • Writes them back into your FHIR service

    Hope this helps!


    If the resolution was helpful, kindly take a moment to click on User's imageand click on Yes for was this answer helpful. And, if you have any further query do let us know.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.