-
Notifications
You must be signed in to change notification settings - Fork 1k
SPFx Teams tab initial load not working - refresh needed #10866
Copy link
Copy link
Open
Labels
area:spfx-msteamsCategory: SharePoint Framework & Microsoft Teams supportCategory: SharePoint Framework & Microsoft Teams supportsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Metadata
Metadata
Assignees
Labels
area:spfx-msteamsCategory: SharePoint Framework & Microsoft Teams supportCategory: SharePoint Framework & Microsoft Teams supportsharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
An SPFx web part configured as a Microsoft Teams channel tab fails to load in Teams web (and desktop client) after a full browser page refresh. The tab remains blank/stuck and the expected SharePoint-hosted SPFx iframe does not load. If the user right-clicks the tab and refreshes only the tab, the same app loads successfully.
This is an app that is deployed in production since 2021 and we made no changes to the teams app manifest or to the webpart manifest recently.
Steps to reproduce
Network tab:

Console warnings that appear when clicking on the tab first time after a refresh:
Expected behavior
The tab loads without requiring a refresh.