Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MS Teams] SharePoint page not loading in personal tab of static app (MS Teams desktop client) #4512

Closed
1 of 4 tasks
NickSevens opened this issue Aug 21, 2019 · 6 comments
Closed
1 of 4 tasks
Labels
type:invalid Issue doesn’t belong in this repo as it’s not relevant. Will be closed.

Comments

@NickSevens
Copy link

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

When adding a SharePoint page as a static tab in my custom personal app, I expect the page to render in the MS Teams desktop client.

Observed Behavior

The added SharePoint page is not loaded in the MS Teams desktop client, but works as expected in the web client.

Also, when switching to Developer Preview the tab starts to work. Even when switching out of Developer Preview the web page still loads as expected.

Steps to Reproduce

  • Create a page in SharePoint online

  • Create a new MS Teams app (e.g. in App Studio's Manifest editor)

  • Add a new Personal tab, linking to the SharePoint page

  • Install the MS Teams app (e.g. with App Studio's Test and Distribute)

  • Open the MS Teams app
    --> The SharePoint page is not loaded (nothing is shown, just a blank screen)

  • Switch to developer preview (& sign in if needed)

  • Open the MS Teams app
    --> The SharePoint page is loaded correctly

  • Switch out of developer preview (& sign in if needed)

  • Open the MS Teams app
    --> The SharePoint page is still loaded correctly

@msft-github-bot
Copy link
Collaborator

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@msft-github-bot msft-github-bot added the Needs: Triage 🔍 Awaiting categorization and initial review. label Aug 21, 2019
@NickSevens
Copy link
Author

PS: it seems initially there is a redirect happening to /_layouts/15/Authenticate.aspx, which redirects to the MS login page. However, this redirect is not happening when the switch to or from developer preview has occured. So, it looks like initially MS Teams does not pass authenticated correctly?

@NickSevens NickSevens changed the title SharePoint page not loading in MS Teams static tab SharePoint page not loading in MS Teams personal tab of static app Aug 21, 2019
@NickSevens NickSevens changed the title SharePoint page not loading in MS Teams personal tab of static app [MS Teams] SharePoint page not loading in personal tab of static app (MS Teams desktop client) Aug 21, 2019
@andrewconnell
Copy link
Collaborator

What are you doing in the SPFx component? Any chance it's something with MSGraphClient / AADHttpClient?

If so, see #2521... you said it worked in web but not native clients, which is a known issue so this smells like a dupe...

@andrewconnell andrewconnell added area:spfx Category: SharePoint Framework (not extensions related) Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. and removed Needs: Triage 🔍 Awaiting categorization and initial review. labels Aug 29, 2019
@NickSevens
Copy link
Author

@andrewconnell it happens with OOTB pages as well. (e.g. brand new communication site homepage, or empty news page, ...)
narrowed it down to SharePoint redirection to /_layouts/15/Authenticate.aspx - which in turn ends up redirecting to login.microsoftonline.com
This one has an x-frame-options = deny, resulting in the MS Teams Tab not able to render anything.
Seems like Teams auth is not passed on to the SharePoint page.

Weird thing is however that it works when doing a switch from "normal" to "developer preview", or "developer preview" to "normal" mode...

@msft-github-bot msft-github-bot added Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. and removed Needs: Author Feedback Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days. labels Aug 29, 2019
@andrewconnell
Copy link
Collaborator

Wait... sorry... I missed from your OP that this isn't a dev topic... you're just having trouble getting Teams to show content from SharePoint.

Thank you for your submission. This GitHub issue list is targeted only for SharePoint development issues. If this is a capability question/discussion, please use the SharePoint TechCommunity.

If it is an issue is related to out-of-the-box capabilities of SharePoint or not related to SharePoint, we cannot process is through this channel. Please submit your finding using the Tenant administrator support channels in your tenant or using Premier support, if that’s available for you. Sorry for the inconvenience.

@andrewconnell andrewconnell added type:invalid Issue doesn’t belong in this repo as it’s not relevant. Will be closed. and removed Needs: Attention 👋 Original poster responded to request for feedback, awaiting attention from Microsoft / community. area:spfx Category: SharePoint Framework (not extensions related) labels Aug 29, 2019
@msft-github-bot
Copy link
Collaborator

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

@SharePoint SharePoint locked as resolved and limited conversation to collaborators Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:invalid Issue doesn’t belong in this repo as it’s not relevant. Will be closed.
Projects
None yet
Development

No branches or pull requests

3 participants