Forum Discussion

mahendra89's avatar
mahendra89
Copper Contributor
Oct 20, 2021

Add SharePoint site as a App to the Team

Hi,

 

We have been trying to add a SharePoint site to Teams and pinning to the Org-wide, so that everyone in the organization is able to view the SharePoint site pinned on the left side bar in the Teams.

App studio application was used build the package and deploy to the teams.

 

We were successfully able to host the SharePoint as an app and pin to the Left side bar Org-wide, but the issue which we are facing is we are not able to view the Top navigation bar which we have set up on the SharePoint site.

 

The issue is same on the Teams Web app and Client app.

 

Screenshot without Top navigation in Teams:

 

Screenshot of the SharePoint site:

 

We need help in resolving this and enable the Top navigation to show for the SharePoint site hosted on Teams Client application

 

-------------------------------------------Below Updated on 3rd Dec'21--------------------

 

Hello,

 

We were able to show the Top navigation of SP communication site on the Teams client app/web app by adding a below for the content Url parameter under the Static tabs on the app created using app studio:

 

"contentUrl": "https://contoso.sharepoint.com/_layouts/15/teamslogon.aspx?spfx=true&dest=/?app=portals"

 

However, now the issue is when any link on the top navigation is clicked for the second time, the top navigation along the with site name disappears.  We believe the issue is because of the redirection of pages in the Teams application

 

Screenshot:

1. When the Site loads:

 

2. When top nav link is clicked for the second time

 

Any help is highly appreciated.

 

Resources