Migrating from Azure API for FHIR to Medplum

Azure API for FHIR is deprecated as of September 30, 2026, so teams need a dated exit plan. This page covers what maps to Medplum, which documented export and import paths apply, and what drives effort.

On this page

Why teams are migrating from Azure API for FHIR to Medplum now

Microsoft deprecated Azure API for FHIR on September 30, 2026, so teams running it must now decide where their FHIR data goes next. Microsoft's guidance is to open an Azure support request for questions or for an extension, which buys time but does not change the platform. Treat the move as a platform change rather than a file copy. It touches four things at once: the data itself, the access model that decides who can read which resources, the applications and SMART on FHIR clients that call the API, and the audit evidence your compliance team relies on. Each one needs an owner and a test before cutover.

The effort depends mainly on three variables you can measure now: the volume of data to export and reload, the number of custom operations or stored procedures your team has built against the server, and the count of SMART on FHIR clients and their scopes. Ask any partner to size the work from those three inputs in writing, and confirm how many of your clients use access patterns that have no direct equivalent on the target. Duration and cost will follow from that inventory, so build it before you request a quote.

Medplum is a self-hosted option here: you run the server in your own Azure subscription using the documented Terraform for infrastructure (virtual network, AKS, PostgreSQL, storage, CDN and Redis) and a Helm chart for the application. That Azure path is marked Beta, even though the documentation describes it as validated for production use, so confirm its current status and your support boundaries with Medplum before you commit. Review the Medplum install on Azure documentation with your platform team early, because the infrastructure choices you make now shape every later phase.

Which Azure API for FHIR capabilities map cleanly to Medplum

This table compares the Azure API for FHIR capabilities you likely use today with their closest Medplum equivalents. Read each row as a question to answer in your own environment: where the mapping is direct, where it needs design work, and where the facts do not confirm a match. The main takeaway is that the FHIR data model carries over, while identity, authorization and persistence need deliberate rebuilding.

CapabilityAzure API for FHIR (source)Medplum (target)
FHIR R4 resources and searchFHIR R4 remains supported on the microsoft/fhir-server codebaseFHIR R4 API with GraphQL support; confirm search parameter coverage for your queries
FHIR R4B resourcesR4B support ended July 1, 2026, so R4B data does not carry over unchangedNot a supported starting point; convert R4B content to R4 before load
Bulk ExportBulk Export is documented for extracting data from the serverConfirm export tooling and file format against your extraction plan before cutover
Data conversion ($convert-data)The $convert-data operation converts source data into FHIRMedplum does not map one-to-one; plan mapping in your own pipeline and validate output
RBAC through Microsoft Entra IDScripts map Azure Active Directory identities to role-based access controlAccess policies are assigned inside Projects; redesign roles rather than copying role names
SMART on FHIR authorizationSMART scopes and client registrations depend on your Azure configurationMedplum Auth supports SMART on FHIR; re-register each client and retest scopes
Identity provider sign-inMicrosoft Entra ID as the identity sourceSupports external providers and domain-level corporate identity; confirm Entra ID setup for your tier
Audit loggingAzure diagnostic and audit logs depend on your Azure configurationConfirm audit log export and retention in your self-hosted setup; not covered by supplied facts
Persistence layerSQL Database provider remains supported; Cosmos DB provider support ended September 30, 2026Runs on PostgreSQL with Redis as cache; Cosmos DB data needs migration to a new store
Subscriptions and server-side logicEvent notifications depend on your Azure configuration and integrationsBots and Subscriptions run server-side logic; rebuild and retest each one

Documented export and import paths for the move

A move from Azure API for FHIR has two sides: getting data out of the source server and loading it into a self-hosted Medplum deployment. The cards separate what Microsoft's documentation describes on the export side from what Medplum documents on the load and deployment side, and mark where you need to confirm details with the vendor before you commit to a path.

Bulk Export from the source server

The microsoft/fhir-server documentation covers Bulk Export, which is the first export option to test against your own tenant. Bulk Export writes resources in bulk rather than through paged searches, so it suits large datasets better than ad hoc queries. Confirm with your Azure support contact which resource types, output formats and authorization settings apply to your deployment, and run a full export on a copy before planning the cutover window.

FHIR server docs

The $convert-data operation

The microsoft/fhir-server documentation also covers the $convert-data operation, which converts data into FHIR. It is relevant when your legacy sources are not yet FHIR resources, such as HL7 v2 or CSV extracts, and need conversion before they reach Medplum. Confirm the supported input formats and the templates you must provide, because the conversion output still needs your own mapping review against your source data.

Medplum FHIR R4 API for loading

Medplum's FHIR R4 API is the documented target for loading resources, and it accepts standard create, update and transaction requests. The load tooling you build should use conditional updates and batch or transaction bundles so reruns are safe. Confirm with Medplum the expected throughput for your resource mix and whether your load job will run inside a Medplum project with the access policies you need before the first write.

Medplum self-hosting docs

Azure Terraform and Helm target

Medplum documents an Azure deployment that uses Terraform for the infrastructure (virtual network, AKS, PostgreSQL, storage, CDN and Redis) and a Helm chart for the application. The deployment is marked Beta and validated for production use, so confirm with Medplum which parts of that status apply to your version and region. Plan for the same Azure subscription, networking and key management controls your security team already reviews for the source system.

Install on Azure docs

Documented versus unconfirmed paths

Only the export and load options above appear in the supplied documentation, so any direct migration tool that copies data from Azure API for FHIR into Medplum must be confirmed before you rely on it. Ask Medplum and Microsoft in writing whether a supported tool exists for your source version and target version. Until that answer is written down, treat the documented export and FHIR API load as the baseline and budget tooling work as an open item.

How the access model and the data path change

Azure API for FHIR access has typically been governed through Microsoft Entra ID identities and Azure role-based access control assigned to the FHIR service. On Medplum, the equivalent decisions sit in a different place. Medplum Auth handles OAuth, OpenID Connect and SMART on FHIR sign-in, and access policies are configured per Project. A Project is the boundary in which users, clients and resources are grouped, so each Project must be given its own access policy design. Copying role names one to one from Azure usually produces either overly broad policies or gaps, so the mapping has to start from the existing RBAC design and the actual job functions it serves.

  • Role inventory: List every Entra ID group or role assignment that touches the FHIR service, and record what each one allows in practice, including data reads, writes, bulk export and administrative actions.
  • Access policy derivation: Write Medplum access policies from that inventory per Project, then test each one with a representative user for every role.
  • Client credentials: Replace service principals used for server-to-server calls with Medplum client credentials, and scope each client to the resources it needs.
  • MFA and external identity providers: Medplum supports its own identity provider, external providers such as Google, Auth0 or AWS Cognito, domain-level corporate identity providers and multi-factor authentication. Confirm which of these your environment needs, and whether multiple external identity providers for SSO are available on your chosen plan.
  • Audit of exceptions: Record any role that cannot be mapped cleanly so that the security owner signs off on the replacement.

Before cutover, ask your security team to confirm the mapped policies in a non-production Project against the original Azure role list.

The sequence: inventory, pilot, parallel run, cutover and decommission

The sequence turns the Azure API for FHIR exit into a series of checkpoints, so each phase produces evidence that the next phase depends on. Nothing moves to production until the pilot has reconciled and the rollback trigger is agreed in writing.

  1. Inventory resources, profiles and clients

    Your team and the integration owners list every resource type in use, every custom profile, search parameter, SMART on FHIR client, Bulk Export job and downstream consumer, along with the audit events compliance expects to keep. Compliance signs off on the retention period for the Azure data before any export is scheduled. The step is done when the inventory is reviewed line by line and every item has an owner and a disposition: migrate, rebuild, retire or confirm with the consumer.

  2. Build the Medplum target on Azure

    The platform team deploys a non-production Medplum server with the Azure Terraform path, which covers networking, AKS, PostgreSQL, storage, CDN and Redis, and installs the application with the Helm chart. Confirm with Medplum that the Beta label on the Azure path still reflects your version and your Azure policy requirements. The step is done when the environment passes a health check, the upgrade path for the chosen version is documented, and the team can state which Medplum minor version it will run in production.

  3. Rebuild access policies and clients

    Map each Azure RBAC role to Medplum access policies, projects and client applications, then re-register SMART on FHIR clients and confirm how the identity provider issues tokens. Test each role with real user and machine accounts, including denial cases. The step is done when every role in the inventory has a tested policy, and a reviewer has confirmed that no client holds broader scopes than the Azure configuration gave it.

  4. Pilot load into non-production Medplum

    The data team exports a representative subset from the Azure FHIR service, using Bulk Export or search, and loads it into the non-production Medplum server through an idempotent pipeline. Record load times and error rates, because they set the throughput assumption for the full cutover plan. The step is done when the pilot completes without unexplained rejections and the team has a measured rate it can use to size the production window.

  5. Reconcile counts and references

    The team compares resource counts per type, checks that every reference resolves, and samples whole records against the source to confirm identifiers and coded values survived the mapping. Exceptions are logged with a reason and an owner. The step is done when the reconciliation report is signed off by the data owner and every exception is either fixed or accepted in writing.

  6. Run the parallel period

    Consuming applications read from Medplum while writes continue to the Azure service, or writes are duplicated to both systems, depending on the authority decided per phase. Compare responses and audit trails daily during this period. The step is done when the discrepancy rate has stayed within the threshold the team agreed in advance and the audit events on both sides match the inventory.

  7. Cut over with a written rollback trigger

    The team switches write authority to Medplum during an agreed window, with the rollback trigger, the person who can invoke it and the steps to restore the Azure write path written down before the switch. Confirm that any Subscriptions or Bots with side effects are paused or replayed as planned. The step is done when production traffic runs on Medplum, the first monitoring cycle is clean, and the rollback window has closed without a trigger being met.

  8. Decommission the Azure FHIR service

    After the retention period agreed with compliance has passed and no consumer reads from Azure, the team takes a final verified export, stores it under the agreed controls, and removes the Azure FHIR service and its associated resources. Plan Medplum upgrades in sequence through each minor version, because a self-hosted server cannot skip versions and post-deploy data migrations can run for hours or days on large datasets. The step is done when the decommission record shows the final export checksum, the deletion date and the compliance approval.

How data and sign-in move from Azure to Medplum during the parallel run

The diagram starts with the Azure API for FHIR source inside the client's Azure subscription, where Bulk Export produces files that a conversion step prepares for loading. The migration loader writes into a self-hosted Medplum server running on AKS, backed by PostgreSQL, Redis and storage in the same subscription. Sign-in for SMART on FHIR clients goes through Medplum Auth, not the Azure source, so both systems need their own access checks during the parallel run. Check that no export files or credentials leave the trust boundary, and confirm how Medplum Auth connects to your corporate identity provider.

Data flows from Azure API for FHIR through a loader into Medplum, while SMART clients sign in through Medplum Auth.

What drives the cost and duration of the migration

This table lists the main drivers of effort on a move from Azure API for FHIR to self-hosted Medplum, with whether each is one-time or recurring and what to ask for in a quote. Use it to see which parts of your environment will dominate the scope before you request a written proposal. No price or duration is implied, since each driver depends on your own data and configuration.

DriverOne-time or recurringWhy it changes effortWhat to ask for in a quote
Record volume and history depthOne-timeMore resources and older versions mean longer exports, slower loads and larger validation samples. Decide early whether to migrate full history or current state.Resource counts by type, version depth, and the load and validation approach for each
Profiles and custom search parametersOne-timeEach custom profile or search parameter must be rebuilt in Medplum and tested against the data it governs.Inventory of profiles, extensions and search parameters, with a plan for each
SMART on FHIR clientsOne-timeEach client needs its registration, scopes, redirect URIs and token behavior re-created and tested under Medplum Auth.Client list with scopes, flows and owners, and the test plan per client
Bots and SubscriptionsOne-timeAzure-side event hooks and server logic must be re-created or replaced and checked for side effects during cutover.Inventory of Subscriptions and Bots, their triggers, and the cutover handling for each
RBAC mapping to Medplum access policiesOne-time, with recurring reviewAzure role assignments tied to Microsoft Entra groups must be translated into Medplum access policies, projects and identity provider mappings. Complex role models take longer to verify.Mapping of each Azure role to a Medplum policy, and the test cases proving who can read and write what
Audit log retentionOne-time setup, recurring storageAzure diagnostic logs and retention periods must be matched by a self-hosted logging and storage design that you operate.Retention period required by your policies, log destination and storage sizing, and who owns the store
Azure networking and Terraform environmentOne-time build, recurring operationVirtual network, AKS, PostgreSQL, storage, CDN and Redis must be provisioned per environment. The Azure deployment is marked Beta, so review scope and support terms carefully.Environment list (dev, test, production), network design, Terraform modules used, and who runs changes
Validation depthOne-time per cutoverCounts, reference checks and whole-chart reviews scale with the number of data domains and the acceptance criteria you set.Acceptance criteria, sample sizes, reconciliation reports and the number of dress rehearsals included

What usually goes wrong in an Azure FHIR exit and how to prevent it

Most failures in this move come from assumptions carried over from Azure API for FHIR without being checked against Medplum. The cards below cover the platform, security, data and timing risks that tend to surface late, each with a check to run before cutover.

Dropped R4B or Cosmos DB assumptions

Your source may rely on FHIR R4B resources, or on behavior tied to the Cosmos DB persistence provider that Microsoft's fhir-server README says ended support on 30 September 2026. Inventory every resource version, search parameter and extended operation your clients call, and confirm each one exists on the target as R4 before mapping starts. Anything that depends on a provider-specific behavior needs a written replacement or an accepted gap.

fhir-server README

Access policies that drift from Entra RBAC

Azure's role-based access depends on Entra roles and the scripts Microsoft provides to map them, so a permission that looked narrow in Azure can become broad in Medplum or the reverse. Build a table from each Entra role to a Medplum access policy, then test it with real client identities. Confirm that each SMART on FHIR client receives only the scopes it needs before any production user signs in.

Medplum auth docs

Audit history that goes missing

Audit records in the source do not move automatically, and a Medplum deployment has its own logging that must be configured on your infrastructure. Decide which access and change events must be retained, where they will be stored, and how long. Run a test where a known read and write are performed on both systems and confirm each event appears in the target log before you retire the source.

References that break during load

Resources loaded out of order or with changed identifiers leave references pointing at nothing, and the errors often appear only when a clinician opens a chart. Keep the original IDs as identifiers, load organizations and patients before the resources that refer to them, and count dangling references after each batch. Treat a nonzero count as a stop condition for that load.

Skipped Medplum minor versions

Self-hosted Medplum must move through each minor version in sequence. Medplum's upgrading guide reports that jumping directly, such as from v3.1.2 to v4.3.4, causes startup failures, and post-deploy data migrations can run for hours or days on large datasets. Schedule the target version and the upgrade path during planning, and time the data migration windows into the cutover calendar.

Latest release at research
5.2.5

Gap in the Azure support extension

Microsoft directs customers with questions about extending service to an Azure support request, and that path is not a guaranteed continuation. If the source must stay live past its deprecation date for dual running or audit reads, open the request early and record the agreed end date in writing. Plan the cutover so that the source can be retired on a date you control rather than on one Microsoft sets.

Deprecation date
Sep 30, 2026
Azure API for FHIR overview

Questions buyers ask before moving off Azure API for FHIR

How much does it cost to move off Azure API for FHIR to Medplum?

The cost depends on the written scope, and DeployOpen does not publish a price list, so a quote follows from the agreed scope. The main components are the infrastructure you will run, the export and mapping work, the access rule redesign, the client rework, validation, and the cutover itself. Some costs are one-time, such as migration and validation, while others recur, such as cloud infrastructure, database backups, upgrades and on-call support. Costs rise with data volume, the number of resource types and profiles in use, the number of SMART on FHIR clients, and how many audit requirements must be reproduced. Ask any quote to separate one-time project work from recurring run costs and to name who pays for cloud accounts and licenses.

How long does a move from Azure API for FHIR take?

Duration depends on how much data you export, how complex your mapping is, and how many systems depend on the current server. The Azure API for FHIR deprecation date is September 30, 2026, according to Microsoft's overview, so the timeline should start with a clear view of that date and whether you need an extension. Large datasets make the load and validation phases longer, and Medplum's upgrading guidance notes that post-deploy data migrations can run for hours or days on large datasets, which shows why throughput should be measured early. Ask for a schedule built from measured throughput on your own data rather than a generic estimate.

What does our internal team have to provide for the move?

Your team provides the knowledge and access that no outside party can supply. That includes the Azure subscription and resource ownership, a list of which applications read and write FHIR data, the current RBAC role assignments and how they map to people and services, the SMART on FHIR client registrations, and the rules for patient matching and data authority. Your team also needs to name owners who can approve mapping decisions and acceptance criteria, and to supply a window for parallel running and cutover. Ask any partner to list these inputs in writing before work begins so that gaps show up during scoping, not during cutover.

Can our own engineers move off Azure API for FHIR without a partner?

Yes, a capable team can run the move internally, provided it has the skills and time for each phase. The work includes exporting data with Bulk Export or search, converting source data into FHIR resources, deploying Medplum, rebuilding RBAC as Medplum access policies, updating SMART on FHIR clients, reproducing audit logging, and running reconciliation before cutover. The hardest parts are usually the mapping and the validation, because errors there are silent. Teams that choose to self-deliver should plan for the first upgrade cycle and on-call ownership, since those continue after the move. A partner is one option when the internal team is already committed elsewhere or lacks FHIR and Azure operations experience.

Is the Medplum Azure deployment ready for production?

The Azure deployment is documented in two parts with different maturity labels. Medplum documents an Azure deployment with Terraform for the infrastructure, covering the virtual network, AKS, PostgreSQL, storage, CDN and Redis, plus a Helm chart for the application. Medplum marks the infrastructure as Beta and states that the deployment is validated for production use. In practice, your team should review the Terraform code against its own network, identity and security standards, test failover and restore paths, and confirm that monitoring and backups meet its requirements before go-live. Ask which parts of the deployment Medplum supports and which parts your team will own.

What happens to our compliance evidence when we leave Azure API for FHIR?

Compliance evidence does not transfer automatically, because a self-hosted Medplum deployment is your system to operate. Medplum states that compliance is a shared responsibility between Medplum and its customers, and its documentation covers frameworks such as HIPAA and SOC 2 Type II. Medplum's certifications apply to its own services, not to your Azure environment. You should collect evidence from the old platform before decommissioning it, including access logs, configuration exports and records of who approved what. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, and independent auditors and certification bodies do that work.

How does the Azure support extension request affect our schedule?

Microsoft's overview says questions about the deprecation or an extension should go through an Azure support request, so an extension is not something you can assume. Whether Microsoft grants one, and for how long, is outside the scope of this move, so your team should submit the request early and confirm the answer in writing. Your migration plan should run on the published deprecation date until an extension is confirmed. If you receive one, use the extra time for validation and parallel running rather than compressing the cutover. Treat the extension as a buffer, not as the plan.

What stays with your team after cutover

Once Medplum runs on your Azure subscription, the upgrade cycle is yours. Self-hosted Medplum must be moved through each minor version in sequence, because skipping versions causes startup failures, and post-deploy data migrations can run for hours or days on large datasets. Medplum ships major versions annually in Q4, minor versions two to three times a year and patch versions weekly, and each major version gets 1 year of Active support and 1 year of Maintenance, with an Enterprise extension to 36 months of security patches. Security patch targets are 7 days for critical vulnerabilities and 14 days for high ones, but those are Medplum's stated targets for its own releases. Your team still has to apply them in your AKS cluster, and you should confirm with Medplum which support tier your agreement includes before you plan the upgrade calendar.

The data tier and the monitoring are yours to run. The Azure Terraform target provisions PostgreSQL and Redis, so your team owns sizing, patching windows, backup retention, restore tests and failover for both, along with the storage and CDN layers. Medplum's high availability and operations guidance covers redundancy, disaster recovery, capacity, monitoring and rate limits, and Medplum's hosting pages do not replace the alerts and runbooks you write for your own environment. Confirm early who is paged for AKS node failures, database saturation and Redis evictions, and whether your on-call rota covers healthcare hours. Because the Azure deployment is marked Beta by Medplum, check the current state of the Terraform and Helm modules before you commit them to a production runbook.

How DeployOpen scopes, delivers and supports the migration

DeployOpen starts by agreeing in writing what leaves Azure API for FHIR and what lands on a self-hosted Medplum server in your own Azure subscription. The work is then built, tested, documented and handed to your team, with optional ongoing support after cutover.

How we scope

  • Inventory of the Azure API for FHIR instance, its data volumes, SMART clients and RBAC role assignments
  • Written scope for export, FHIR mapping, access policy design, audit logging and the Azure Terraform deployment target
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts

How we build

  • Medplum deployed through the Terraform and Helm approach in your Azure environment, with configuration reviewed by your security team
  • Export and load pipelines tested against copies of your data, with counts and reference checks at each run
  • Access policies, SMART on FHIR client registrations and audit log settings configured and tested before any cutover

How we hand over

  • Runbooks for deployment, upgrades, backups and access policy changes, written for your platform team
  • Evidence pack covering configuration, test results, reconciliation reports and audit log samples for your compliance reviewers
  • Knowledge transfer sessions so your engineers can operate the Medplum server and pipelines without DeployOpen

How we support

  • Post-cutover support available as a retainer covering monitoring review, incident response and upgrade planning
  • Help planning Medplum upgrades through each minor version in sequence, with rollback windows agreed in advance
  • Continuous security testing of the deployed platform available as an ongoing retainer option

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.