SPFx - Microsoft teams web part not work on desktop app
Hi there,
I created a MS teams web part which requests to custom APIs and they are trusted in API Managements in SP admin center.
I added in as a tab in MS teams ==> Its working fine on web but not on desktop app (keep loading forever). Is this a known issue of SPFx v1.7 or I need some configurations to get this work?
Thanks in advance.
Yes - known issue around auth that we are working on. There are some workarounds you can try (I think adding a PowerBI tab, authenticating, then cancelling out of the tab, then navigating to the SPFX tab), but the easiest thing (from a developer standpoint) is to stick with the web app for now.
Hi All,
I am facing exactly same issue, following the same design (calling AAD protected endpoint using AadHttpClient). It works well as a web page but loads infinitely when using as a teams tab.
Is there any progress made in the meantime or if there is any better workaround available?
Thanks in advance.
@Ashish1662 I haven't checked SPFx 1.8 yet, but look likes its still not work
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