Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] Trying to remove wiki Teams tab causes issues #2814

@joelfmrodrigues

Description

@joelfmrodrigues

Environment

[x] Office 365 / SharePoint Online

Expected or Desired Behavior

Use provisioning engine to be able to remove the Wiki tab and create new tabs in a Teams channel

Observed Behavior

When the following is present, wiki tab is not removed, and no other tabs are created/updated. No errors seem to be thrown, it fails silently

<pnp:Tab DisplayName="Wiki" TeamsAppId="com.microsoft.teamspace.tab.wiki" Remove="true" />

Steps to Reproduce

Provision a team with the following channel

<pnp:Channels>
        <pnp:Channel DisplayName="General" Description="General" IsFavoriteByDefault="true">
        </pnp:Channel>
        <pnp:Channel DisplayName="Sample Channel 01" Description="This is just a Sample Channel" IsFavoriteByDefault="true">
        </pnp:Channel>
        <pnp:Channel DisplayName="Sample Channel 02" Description="Sample Channel 02" IsFavoriteByDefault="true">
            <pnp:Tabs>
                <pnp:Tab DisplayName="Wiki" TeamsAppId="com.microsoft.teamspace.tab.wiki" Remove="true" />
                <pnp:Tab DisplayName="{parameter:Title} Projects" TeamsAppId="com.microsoft.teamspace.tab.files.sharepoint">
                    <pnp:Configuration EntityId="" ContentUrl="https://contoso.sharepoint.com/sites/mysite/Shared%20Documents" WebsiteUrl="" RemoveUrl="" />
                </pnp:Tab>
            </pnp:Tabs>
        </pnp:Channel>
    </pnp:Channels>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions