Azure fhir authorization failed with postman

tdct_1991 31 Reputation points
2021-06-19T16:39:25.947+00:00

I tried all steps then also not able to get the patient using postman.

https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/access-fhir-postman-tutorial

Any help is welcome.

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

Accepted answer
  1. Anurag Sharma 17,566 Reputation points
    2021-06-20T06:08:17.55+00:00

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

    This issue mostly looks like due to providing proper access to roles. I was able to post the request using the Postman. There are 3 things we need to set up as mentioned in the article. Could you please confirm if you have done these:

    1. Register a confidential client application in Azure Active Directory
    2. Configure Azure RBAC for FHIR
    3. Obtaining the access token

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

    ----------

    If answer helps, please mark it 'Accept Answer'

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Rodolfo Campos 11 Reputation points
    2022-07-22T00:02:59.607+00:00

    In my case it worked, but not literally following the steps in the second link. I just needed to go to the Azure API for FHIR and under IAM add FHIR Contributor.

    Important: needed to wait some minutes in order to see the update propagated.

    2 people found this answer helpful.