powershell
powershell copied to clipboard
[BUG] Add-PnPTeamsTab -Type PowerBI
Reporting an Issue or Missing Feature
Adding a new MS Teams Tab with "Add-PnPTeamsTab" and Type PowerBI is not working as expected. The new tab is created but it cannot be configured manually.
Expected behavior
The tab should allow for setting up the Power BI report like it is when adding the tab manually.
Actual behavior
The new Tab is created with the "Ready to set up the tab?" config page
But when clicking "Set up tab", the Power BI pop-up doesn't display anything to select the PBI report and the "Save" button is greyed out.
Steps to reproduce behavior
Add-PnPTeamsTab -Team "TestTeamPBI" -Channel "General" -DisplayName "PBI" -Type PowerBI
What is the version of the Cmdlet module you are running?
2.3.0
Which operating system/environment are you running PnP PowerShell on?
- [x] Windows
- [ ] Linux
- [ ] MacOS
- [ ] Azure Cloud Shell
- [ ] Azure Functions
- [ ] Other : please specify
It seems to be a limitation of the graph call not allowing any configuration for PowerBi Tab https://learn.microsoft.com/en-us/graph/teams-configuring-builtin-tabs
@gautamdsheth do we need to close this issue? This because it's not supported to configure a Power BI tab by using the Graph call? This also regarding PnP.PowerShell is just exposing the Graph API of Microsoft.
It it possible that we make an PR and put a small disclaimer over here? https://pnp.github.io/powershell/cmdlets/Add-PnPTeamsTab.html#-type
Docs updated. Closing now.