Replies: 1 comment 2 replies
-
You can't. Instead, you could manually create this Entra App. To make the toolchain happy, you can just provide the Client ID for that in the env variables that would have otherwise been filled by
The
Yes, sorry for the confusion on all this and thanks for taking the time to start the discussion. What you're wanting to do is valid and unfortunately the opinions in the toolkit aren't letting you work like that. What I'd like to propose is that the accounts used by the toolkit are configurable per environment instead of global to all environments. So instead of:
We could do something like:
However, this doesn't solve for some of our actions not letting you specify between which account to use, like What else are we missing with that proposal for your scenarios? If you'd prefer to chat on a call, let me know how to contact you and I'll set it up. |
Beta Was this translation helpful? Give feedback.
-
As a startup/ISV publishing an app in the Store, it is good to simulate a multi-tenant environnement as soon as possible in the dev process.
I would like to use Teams Toolkit to create such an environnement, with a clear separation between resources that are managed on the ISV side and resources that are managed on the customer/user side.
For example:
I've configured Teams Toolkit with two accounts:
The first issue I'm having right now is the fact that the App Registration is created in aadApp/create (and updated in aadApp/update) in the tenant of the Microsoft 365 Account of Teams Toolkit (which represents the customer).
How can I tell Teams Toolkit to use the tenant of the Azure Account of Teams Toolkit instead (which represents the ISV)?
The second issue I think I will have is the fact that the Teams app is created in teamsApp/create (and other teamsApp/* steps) with the Microsoft 365 Account in Teams Toolkit.
It would be better if it can be created with the Azure Account instead.
However, I'm not sure that would allow the app to be deployed to another tenant so an extra step might be needed to deploy the app in the customer tenant by sideloading it for the user or for the entire org.
I've tried to configure Teams Toolkit this way:
The pro is that all resources are deployed in the ISV tenant with this config but I then need to manually deploy the Teams app to the customer tenant (I can't use teamsApp/publishAppPackage for that as it will try to use the ISV tenant account). Furthermore Teams Toolkit UX is not happy because the account used as the M365 account doesn't have Custom App Upload rights.
Edit : the more I think about it, the more I think that having 3 accounts configured with Teams Toolkit would help:
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions