Azure FHIR service returns "Authentication failed"

Varshith Meesala 0 Reputation points
2025-08-09T12:27:56.91+00:00

Tried to access FHIR server using Auth0

  1. Deployed a FHIR service
  2. Added Auth0 as an additional IdP
  3. Successfully received access token form Auth0
  4. verified JWT claims
  5. Used Postman for API testing
  6. {{fhirurl}}/Patient return 401 Unauthorized

Did not work so for debugging purposes, I followed the guide here https://github.com/Azure-Samples/azure-health-data-and-ai-samples/tree/main/samples/sample-postman-queries

  1. Created an Entra ID app
  2. added postman callback url and certificate
  3. Added FHIR Contributor to the Service Principal
  4. Used postman for API testing
  5. Successfully received access token from microsoft - verified using iss with tenantId
  6. {{fhirurl}}/Patient return 401 Unauthorized

I really do not know where I am going wrong. Any direction would be incredibly helpful thank you!

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.
{count} votes

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.