Jul 22 2022 09:40 AM
I am developing Teams Tab app that has function to redirect SharePoint site. currently manifest webApplicationInfo is set as below
"webApplicationInfo": { "id": "25a08858-151f-477d-8fff-e72c9254ac22", "resource": "api://abc.com/25a08858-151f-477d-8fff-e72c9254ac22" },
but SharePoint redirection is not working because Teams SSO is already configured. is there any solution for this ? . I tried adding Authorized client application by including SharePoint id. but didnt work
Jul 24 2022 11:29 PM
@MSTechcommunityasit - Could you please confirm if you have added SharePoint site in your valid domains list?
Jul 25 2022 01:56 AM
Jul 25 2022 03:28 AM
@MSTechcommunityasit - Is there any console error you are getting?
Jul 25 2022 04:01 AM
yes.
teamslogon.aspx?spfx=true&dest=/sites/SevenfIVE:211
App resource defined in manifest and iframe origin do not match
failureCallback @ teamslogon.aspx?spfx=true&dest=/sites/SevenfIVE:211
Jul 25 2022 05:05 AM - edited Jul 25 2022 05:05 AM
@MSTechcommunityasit - If the domain in webApplicationInfo
is not same with your tab app's domain, Teams will return this type of error to you.
Jul 25 2022 06:18 AM
Jul 25 2022 10:09 PM
@MSTechcommunityasit - Please refer this thread that deals with similar issue and explains how to enable Azure CDN for your static website. Please let us know if that helps.