Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Add-PnPTeamsTab: Creating or updating tab configuration for app 'com.microsoft.teamspace.tab.planner' is not supported. #3956

Open
5 tasks
DerBusfahrer89 opened this issue May 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@DerBusfahrer89
Copy link

DerBusfahrer89 commented May 16, 2024

Reporting an Issue or Missing Feature

Adding existing Planner Plans as an Tab with Add-PnPTeamsTab, end in an Error, because the API doesn't longer supports configurations

Expected behavior

expect a new Tab with the related Planner

Actual behavior

Add-PnPTeamsTab: Creating or updating tab configuration for app 'com.microsoft.teamspace.tab.planner' is not supported.

Steps to reproduce behavior

$PlannerPlan = Get-PnPPlannerPlan -Group $groupId -Identity $PlannerName
if(-not $PlannerPlan)
{
$PlannerPlan = New-PnPPlannerPlan -Group $groupId -Title $PlannerName
}
$bucket = Add-PnPPlannerBucket -Group $groupId -Plan $PlannerPlan.Id -Name "Tasks"
Add-PnPPlannerTask -Group $groupId -Plan $PlannerPlan.Id -Bucket $bucket.Id -Title "plannertaskA"

$teamsChannel = Get-PnPTeamsChannel -Team $groupId -Identity "General"

$tenant = "contoso.onmicrosoft.com"

$teamsTab = Add-PnPTeamsTab -Team $groupId -Channel $teamsChannel -DisplayName "My Tab Name" -Type Planner -ContentUrl "https://tasks.office.com/$tenant/Home/PlannerFrame?page=7&planId=$($PlannerPlan.Id)"

What is the version of the Cmdlet module you are running?

2.4.0

Which operating system/environment are you running PnP PowerShell on?

  • [ x] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@DerBusfahrer89 DerBusfahrer89 added the bug Something isn't working label May 16, 2024
@jfmathieu
Copy link

I get the same error when trying to create a SharePoint and List Tab with the following command:
Add-PnPTeamsTab -Team "My Team Name Inc" -Channel "General" -DisplayName "My Tab Name 2" -Type SharePointPageAndList -WebSiteUrl "https://..."

I get the error message:
Add-PnPTeamsTab: Creating or updating tab configuration for app '2a527703-1f6f-4559-a332-d8a7d288cd88' is not supported.

Thank you

@jfmathieu
Copy link

FYI… As of May 30, 2024, after opening a ticket with Microsoft Support, I learned that Microsoft has implemented a block to prevent third parties from creating and configuring certain types of tabs. However, Microsoft has since removed the block, and based on my last exchange with support, they do not plan to reinstate it. Therefore, your code should work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants