Forum Discussion
SharePoint-site as a Teamsapp opens up sitepages in a web browser
Hi,
I'm developing a custom Teams app using the Microsoft Teams Developer Portal. The app is configured to display a SharePoint site as a personal tab
The initial page loads fine inside the Teams app. However, when users click on internal links (e.g., to other SitePages within the same site the link opens in a new browser window instead of navigating inside the Teams app. The settings looks ok. Both in SharePoint and in the App.
The strange thing is that we have an older app / site that works as intended with the same settings. But all new sites /apps does not keep the user in the Teams app. I wonder if MS has changed something backend.
I know thay changed the Website-Tab in a Microsoft Teams Team to open in the browser. Might this effect the Custom Teams app and tabs as well?
Any ideas?
1 Reply
- MoritzGIron Contributor
Hi,
not sure, but it might be caused by this: https://devblogs.microsoft.com/microsoft365dev/upcoming-updates-to-loading-websites-in-teams-tabs/
(TLDR: instead of displaying linked websites within the Teams interface, it now opens the site in a new browser tab by default. To my knowledge, there is no built-in option to restore the previous behavior where it opened the content directly inside the Teams app.)
Best regards :)