Forum Discussion
mahendra89
Oct 20, 2021Copper Contributor
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.
- Prasad_Das-MSFT
Microsoft
SharePoint top navigation bar doesn't show up in Microsoft Teams client. This is ByDesign. - Are you aware of Viva Connections? With Viva Connections you can just deploy a SPO Home Site as an App in Teams and honor site navigation. Microsoft initially provided a script to gerate the App and that script allowed you to deploy multiple SharePoint sites as Apps in Teams
- mahendra89Copper Contributor
jcgonzalezmartin Hi Juan, Thanks for your response. I am not aware of Viva Connections, but would like give it a try and check on it. If possible, could you please share related links/documents for this scenario using Viva Connection.
- Prasad_Das-MSFT
Microsoft
mahendra89
Please refer below doc:
Add Viva Connections desktop to Microsoft Teams - SharePoint in Microsoft 365 | Microsoft Docs
Guide to setting up Viva Connections (Preview) - SharePoint in Microsoft 365 | Microsoft DocsThanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.