By default, you do not get information about which team the app was published to or where it is running.
Now, if you need to publish an app to multiple teams and display team-specific content, as well as manage and customize the app from one location, you need a Plan B.
There are two ways to solve this problem:
- Use the app URL, add the team ID as a parameter, and read it later in the app (this app will then be added as a tab to a web page).
- Use a powerapps with teams input (follow the instructions below).
- Open the PowerApps maker portal in Teams (PowerPlatformTip 13)
- Download a created PowerApp from your Teams-PowerPlatform environment, or use this template
- Open the template app in the environment where you want to save your productive app
- Edit and save/publish the app as usual. You can access the integrated Teams connection and filter/retrieve/save data based on the Teams ID.
- Go to your productive environment and click ‘Add to Teams’ to add the app to a team.
- Repeat step 5 for each team that needs the app.
Leave a Reply