powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[BUG] Add-PnPTeamsTab -Type PowerBI

Open franckcdev opened this issue 1 year ago • 1 comments

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. add-pnpteamstab-ExpectedBehaviour

Actual behavior

The new Tab is created with the "Ready to set up the tab?" config page add-pnpteamstab-ActualBehaviour-1

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. add-pnpteamstab-ActualBehaviour-2

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

franckcdev avatar Jan 16 '24 09:01 franckcdev

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

reshmee011 avatar Feb 18 '24 09:02 reshmee011

@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

markgort86 avatar May 31 '24 15:05 markgort86

Docs updated. Closing now.

veronicageek avatar Jun 14 '24 23:06 veronicageek