Forum Discussion
Omri-ActivTrak
Oct 27, 2020Copper Contributor
Building a custom app that install a PowerBI tab with report
There's lots of documentation on building custom apps with tabs. There's also plenty of documentation on adding (manually) a PowerBI tab and connecting it to a report template. I'm exploring combining the two concepts and want to know if it's possible.
Today:
- Customer logs into our product (ActivTrak) and finds the PowerBI template
- Customer downloads our PowerBI template and uploads to Files
- Customer adds a PowerBI app tab in Teams and points to our template
- Customer connects to the live data source with their credentials
Desired:
- Customer finds our custom app in the Teams app store and installs it
- Template is embedded within the custom app and installed automatically into a new app tab
- Customer connects to the live data source with their credentials
Essentially, we'd like to cut out the often confusing and cumbersome steps of installing the PowerBI tab and configuring by building that process into a custom app.
Is this possible? Thanks!
Our MS Teams/PowerBI integration: https://activtrak.com/product/data-connect/activtrak-for-microsoft-teams/
Our integration install instructions: https://support.activtrak.com/hc/en-us/articles/360048946872-ActivTrak-for-MS-Teams-Setup-Guide (INSANE!)
- Nikitha-MSFT
Microsoft
Omri-ActivTrak - Yes, You can install powerBI tab with reports in teams. Could you please Check this Docs ?
- Omri-ActivTrakCopper Contributor
Nikitha-MSFT thanks for your reply! However, I'm asking something a little different. I don't want to add a custom tab with PowerBI. I want to build an app that does this for the user and includes the report that we are providing them. Then we can publish this app where users can discover it (in the app marketplace).
Omri-ActivTrak you can should be able to do add Power BI with Microsoft Graph. However, you won't be able to add your report at this stage, just a tab where someone can configure that report
- First you need to add an app (in your case Power BI) to the team using Add app to team - Microsoft Graph v1.0 | Microsoft Docs.
- If you don't have the channel you want then you'll need to add that with Create channel - Microsoft Graph v1.0 | Microsoft Docs
- Then add a tab to that channel Add tab to channel - Microsoft Graph v1.0 | Microsoft Docs
- To add Power BI, see the app ID at Configuring the built-in tab types in Microsoft Teams - Microsoft Graph | Microsoft Docs but you'll see that you can't set any configuration at the moment.
I'd recommend voting up this in the Teams User Voice to boost the chances of being able to configure Power BI reports - Configure POWER BI tab if we have the report ID – Microsoft Teams UserVoice