sharepoint website open pages in web browser instead of teams personal tabs, how fix it ?

ALGOURDIN Erwan 1 Reputation point
2021-11-16T13:42:32.007+00:00

Hello everyone, thank you in advance for your answers.
I have a sharepoint site that I would like to embed in a custom teams application. However, when I embed the link to the home page or the site, it displays well in my teams interface but as soon as I embed the link to the web page, it opens in my web browser.
When I integrate this site in a teams channel as a website, I don't have this problem.

I am interested in any help.

thanks for reading.

Microsoft Teams | Development
Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Elsie Lu_MSFT 9,801 Reputation points
    2021-11-17T08:51:40.507+00:00

    Hi @ALGOURDIN Erwan ,

    Would you like to let us know more details about the web page? Per my test, if I embed an external link, it will be displayed in the web part and the links in it will be also displayed in Teams.

    150070-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. Nivedipa-MSFT 3,646 Reputation points Microsoft External Staff Moderator
    2021-12-01T07:51:09.52+00:00

    @ALGOURDIN Erwan
    This is by design. In a personal app when we embed the sharepoint website in a tab and if we click on internal link, the link open in browser.

    For personal apps, we have the "Viva Connections" app that can be used to pin a SharePoint Home Site to the Teams left rail as described here: https://learn.microsoft.com/en-us/sharepoint/dev/features/embed-pages-to-teams

    Thanks,

    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.