question

tdct1991-6024 avatar image
0 Votes"
tdct1991-6024 asked RodolfoCampos-6258 published

Azure fhir authorization failed with postman

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

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

Any help is welcome.

azure-api-fhir
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnuragSharma-MSFT avatar image
0 Votes"
AnuragSharma-MSFT answered tdct1991-6024 commented

Hi @tdct1991-6024, 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'




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @tdct1991-6024, just wanted to follow up on this. Were you able to make it work?

0 Votes 0 ·

Thanks it is working now. Second point I had issues. Had to reconfigure.

0 Votes 0 ·
RodolfoCampos-6258 avatar image
0 Votes"
RodolfoCampos-6258 answered RodolfoCampos-6258 published

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.