Apr 12 2022 01:55 AM
Hi all,
We are developing MS Teams Tab app that will be distributed to multiple tenants.
The goal is to let customers create their configuration on a tenant level.
For that we found a Azure App Configuration service.
To retrieve settings from Azure App Configuration from the Tab, we thought of these steps:
Since App Configuration is behind subscription, we want to clarify if the steps are achievable at all.
The questions are:
Thanks in advance!
Apr 12 2022 03:03 AM
Apr 12 2022 04:55 AM
Apr 18 2022 05:01 AM - edited Apr 18 2022 05:01 AM
@vtyagunov - 1.Permissions we need to include in App Registration, to access Azure App Configuration -Azure AD: Custom Application Consent Policies - Microsoft Tech Community
2.Microsoft identity platform and OAuth 2.0 authorization code flow - Microsoft identity platform | Mi...
Apr 19 2022 06:04 AM
Apr 20 2022 01:25 AM
@Sayali-MSFT Thanks for sharing these resources.
We are getting through them to understand more about the flow.
Actually, we have one more question:
In the react feature flags sample. there are steps for creating new AAD app:
We tried to create an App following these steps, but there was no "Azure App Configuration" item in "APIs my organization uses" section.
Could you please clarify, what might be a reason of that item not showing up?
As I understood, the cause might be the fact that we don't have a subscription for Azure App Configuration. In fact, the APIs my organization uses section is about our organization's APIs, our Azure App Configuration.
But the goal is to use customer's App Azure Configuration, not ours. Could you please confirm if this is achievable?
Thanks,
Vladimir
Apr 21 2022 03:49 AM - edited Apr 21 2022 03:50 AM
@vtyagunov-Are you developing any Microsoft Teams app?
Apr 21 2022 06:30 AM
@Sayali-MSFT
Yes, we are developing an MS Teams Tab app with react.
And we want to make it a multi-tenant.
And we want to make it configurable via customer's Azure App Configuration key-value pairs.
Apr 25 2022 04:01 AM - edited Apr 25 2022 04:02 AM
Apr 28 2022 09:28 AM - edited Apr 28 2022 09:28 AM
Hi, @Sayali-MSFT !
Thank you again for the above resources and samples, We reviewed them and unfortunately, those are not really about the things we asked.
We are aware on the how to configure the Azure App and how to setup authentication in MS Teams app.
What we asked is how to access organization's Azure App Configuration on behalf of signed-in user in a multi-tenant app.
Let's say, we own Tenant A and we registered the Azure App under Tenant A.
We distributed the app (manifest file) to other tenants / customers. (Tenant B, Tenant C and etc)
We also enabled Azure App Configuration and saved a json for a specific key.
We want to use it only for users from our tenant.
Users from other tenant has to receive a different json, a json for the same key, but from their Azure App Configuration service.
The desired behavior is -
1. When an Tenant B user signs in - the app has to get the key-value pair from Azure App Configuration in Tenant B.
2. When an Tenant C user signs in - the app has to get the key-value pair from Azure App Configuration in Tenant C.
3. And so on...
By any chance, can you confirm if this is possible?
Thanks!
May 04 2022 04:38 AM