Unable to add multiple client apps in azure fhir service

2024-10-28T13:36:31.79+00:00

We have followed this following article to connect azure ad b2c to fhir service.
https://dori-uw-1.kuma-moon.com/en-us/azure/healthcare-apis/fhir/azure-ad-b2c-setup?tabs=powershell

It is working fine. But I have to register multiple application from azure ad b2c in the fhir service but currently that is not possible.

Is there any work around?

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

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 41,121 Reputation points Volunteer Moderator
    2025-09-30T20:14:18.36+00:00

    Hello !

    Thank you for posting on Microsoft Learn Q&A.

    You can allow multiple client apps even from the same Azure AD B2C tenant to call a single Azure Health Data Services FHIR service by adding multiple SMART app entries under the B2C identity provider in the FHIR service’s authentication configuration.

    In your FHIR service, go to the authentication and under identity providers add or select your Azure AD B2C authority.

    In SMART on FHIR applications, add application for each client app you want to allow and provide :

    • client ID : the B2C app registration app
    • audience : your API app ID URI you exposed in B2C or the service url if you’re using the SMART proxy guidance

    The service accepts multiple app rows here; each one is validated via azp/appid and aud in the incoming token. https://dori-uw-1.kuma-moon.com/en-us/azure/healthcare-apis/fhir/configure-identity-providers

    0 comments No comments

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.