Forum Discussion

Srinivas Narula's avatar
Srinivas Narula
Brass Contributor
Oct 25, 2019

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.

"supportedHosts": ["SharePointWebPart","SharePointFullPage"],

 

Next added it to the SharePoint App Page. It works perfectly. 

 

2) In Microsoft Teams, with App editor created a manifest file with personal tab and added newly created sharepoint page in content URL.

 

3) Tested and downloaded the solution. After installing it to the Teams App gallery and trying it open it from App tray, it is loading SharePoint Page in Teams Tab.

 

When I checked it in web version, its works fine. But not in desktop version.

 

4) To rule out the issue added below domains to render the application.

 

 "validDomains": [
        "tenantname.sharepoint.com",
        "tenantname.sharepoint-df.com",
        "tenantname.login.microsoftonline.com",
        "msft.spoppe.com",
        "resourceseng.blob.core.windows.net",
        "spoprod-a.akamaihd.net",
        "spoppe-a.akamaihd.net"
    ]

 

Please correct me, if I'm doing anything wrong in the solution. Here are the screenshots for Desktop & Web.

 

Web: WORKING

 

Desktop : NOT WORKING

 

Resources