Forum Discussion
Srinivas Narula
Oct 25, 2019Brass Contributor
SingleWebPartAppPage not working in MS Teams Desktop Client
Hi Folks, 1 ) Created Hello world solution with SPFx 1.8.2 and added to the SharePoint App page (Full SharePoint Page). Then added below parameters and build & packed the solution. "supportedHo...
Stijn Brouwers
Jan 28, 2020Copper Contributor
Hi Srinivas Narula ,
One thing you can try is adding another "supportedHost":
TeamsTab
(See example on https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/single-part-app-pages).
I don't know if this will solve you issue though, it's just something you might try.
I have a question though, if you are using a SingleWebPartAppPage, isn't it more interesting to directly add the webpart as a team tab instead of wrapping it by a page and adding the page?
More information about this can be found at following location:
Hope this helps!
- Srinivas NarulaJan 28, 2020Brass Contributor
Stijn Brouwers - Thanks for replying back.
I forgot to update this post.
There are 2 underlying Issues with my application.
- I didn't format the URL as per guidelines. The right one is below
https://<<tenantname>>/_layouts/15/teamslogon.aspx?SPFX=true&dest=<</sites/sitename/SitePages/pagename.aspx>>
- Graph scopes used in application was not consented in Azure AD app (SharePoint Online Client Extensible Web Application)
Thanks alot for reminding about this issue.