Sharepoint page embed on App Studio Authentication

%3CLINGO-SUB%20id%3D%22lingo-sub-2637882%22%20slang%3D%22en-US%22%3ESharepoint%20page%20embed%20on%20App%20Studio%20Authentication%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2637882%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20you%20embed%20a%20Sharepoint%20page%20on%20a%20personal%20App%2C%20it%20will%20not%20load%20by%20default%20for%20a%20user.%3C%2FP%3E%3CP%3EThe%20workaround%20is%20that%20I%20have%20the%20user%20visit%20a%20%22Sharepoint%20embedded%22%20teams%20channel%20in%20order%20to%20establish%20a%20cookie.%20Then%20when%20they%20come%20back%20to%20the%20personal%20app%2C%20they%20will%20be%20authenticated%20to%20view%20Sharepoint.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20workaround%20for%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20was%20the%20issue%20I%20saw%20before%20the%20workaround%3A%26nbsp%3B%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Ferror-creating-sharepoint-page-as-an-teams-app-with-app-studio%2Fm-p%2F2119088%23M84421%22%20target%3D%22_blank%22%3EError%20creating%20sharepoint%20page%20as%20an%20Teams%20app%20with%20App%20Studio%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2637882%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2638887%22%20slang%3D%22en-US%22%3ERe%3A%20Sharepoint%20page%20embed%20on%20App%20Studio%20Authentication%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2638887%22%20slang%3D%22en-US%22%3EWe%20are%20looking%20into%20this%20will%20get%20back%20to%20you%20soon.%20%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E
New Contributor

When you embed a Sharepoint page on a personal App, it will not load by default for a user.

The workaround is that I have the user visit a "Sharepoint embedded" teams channel in order to establish a cookie. Then when they come back to the personal app, they will be authenticated to view Sharepoint.

 

Is there a workaround for this?

 

This was the issue I saw before the workaround: 
Error creating sharepoint page as an Teams app with App Studio - Microsoft Tech Community

2 Replies

We are looking into this will get back to you soon. Have you embeded in personal tab or configurable tab?
Thanks

Hello @myopainghan ,
Have you tried this? Its mention in the issue you shared too. Let us know if this resolves your issue.

 


"webApplicationInfo": {
    "id": "00000003-0000-0ff1-ce00-000000000000",
    "resource": "https://{yourTenantName}.sharepoint.com"
}

 

Thanks,
Hunaid

-----------------------------------------------------------------------------

If the response is helpful, please click "Mark as Best Response" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.