Problems in accessing Azure API for FHIR with Postman

Shriram 31 Reputation points
2020-11-02T22:21:14.32+00:00

I followed the steps as per the document in "https://learn.microsoft.com/en-us/azure/healthcare-apis/access-fhir-postman-tutorial" to set up the FHIR API and registered a client application with "FHIR Data Contributor" access level. And I am able to get the metadata in Postman. But when i try to access the Patient resource, instead of the response code 200-OK it is still giving 403_Forbidden error after using the right token. Did anyone faced the similar issue while setting it up?

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.
155 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anurag Sharma 17,591 Reputation points
    2020-11-03T06:05:32.793+00:00

    Hi @Shriram , welcome to Microsoft Q&A forum.

    This issue is mostly related to adding the configuring RBAC roles for the Azure FHIR service. While adding the role assignment, please select the user too as mentioned in the below screenshot and then try doing a Get Request.

    37008-image.png

    Also assuming that you have created the access token already as mentioned in the article.

    Please let me know if this helps or else we can discuss further.

    ----------

    if answer helps, please select 'Accept Answer' as this could help other community members looking for similar queries.

    2 people found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Nandan Shanbhag 6 Reputation points
    2020-11-22T00:49:46.207+00:00

    Hello @AnuragSharma-MSFT ,

    I have been trying to get the same issue working for me, but unable to get authentication for the https://XXXX.azurehealthcareapis.com/Patient call working for me in Postman. I had to stop the tutorial after attempting this for multiple days as I got charged for running the FHIR service
    41515-image.png