简体   繁体   English

获取 Azure FHIR API 的未授权 403 错误

[英]Getting UnAuthorized 403 Error For Azure FHIR API

I'm using Azure FHIR API, Created and FHIR API, Registered an Client Application and added Azure Health Care APIS as well data fhir contributor role for my user, Trying to access this FHIR API via postman, Im able to generate bearer token via client credentials, On passing this valid credentials to access FHIR im getting below error我正在使用 Azure FHIR API,创建和 FHIR API,注册了一个客户端应用程序并添加了 Azure Health Care APIS 以及我的用户的数据 fhir 贡献者角色,尝试通过 8814 访问此 FHIR API凭据,在传递此有效凭据以访问 FHIR 时出现以下错误

{ {

"resourceType": "OperationOutcome", "resourceType": "操作结果",

"id": "8260291545643a43917c9ec116eb0b9d", “编号”:“8260291545643a43917c9ec116eb0b9d”,

"meta": { “元”:{

"lastUpdated": "2022-03-11T04:59:59.6007935+00:00" “上次更新”:“2022-03-11T04:59:59.6007935+00:00”

}, },

"issue": [ “问题”: [

{ {

"severity": "error", “严重性”:“错误”,

"code": "forbidden", “代码”:“禁止”,

"diagnostics": "Authorization failed." “诊断”:“授权失败。”

} }

] ]

To access the FHIR service, you will also need to provide the client app an application role, such as "FHIR Data Contributor."要访问 FHIR 服务,您还需要为客户端应用程序提供一个应用程序角色,例如“FHIR 数据贡献者”。 Visit https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/configure-azure-rbac-for-fhir for more information.有关详细信息,请访问https://learn.microsoft.com/en-us/azure/healthcare-apis/fhir/configure-azure-rbac-for-fhir

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM