Sharepoint .aspx not loading content in outlook add-in taskpane

Trent Hardy 0 Reputation points
2024-02-20T21:07:13.3333333+00:00

I'm currently developing a web add-in for my organization. In the taskpane, I am using a .aspx file on my organization's SharePoint.

In my manifest file, the URL appears something like this:

<bt:Url id="FabReleaseTaskpane.Url" DefaultValue="https://myorg.sharepoint.com/sites/mySite/SiteContentProduction/AddInContent/NameofAddin/taskpane_FabRelease.aspx"/>

When debugging and running the add-in through the browser-based version of Outlook (OWA), there are no issues and the taskpane loads the .aspx content perfectly. I believe this is likely due to the fact that I am already authenticated in the browser version of Outlook while the desktop version requires extra authentication.

However, an issue arrises when running the add-in on the desktop version of classic Outlook (Specifically, Microsoft® Outlook® for Microsoft 365 MSO (Version 2312 Build 16.0.17126.20190) 64-bit).

The issue on the desktop version is that once the button for the add-in is clicked and the taskpane opens; the taskpane appears blank. At the same time, a webpage opens in my browser to authenticate me with SharePoint and redirects me to my organization's homepage for SharePoint. Unfortunately, after this authentication completes, there is still no updates to the blank taskpane and it remains the same without rendering the .aspx

There shouldn't be any permission issues with the sharepoint page and scripts are already enabled. I have included a GIF below demonstrating the steps I took that result in this problem. I would appreciate a suitable solution for my issue.

AnimationEmail

Microsoft 365 and Office Development Other
Outlook Windows Classic Outlook for Windows For business
Microsoft 365 and Office Install, redeem, activate For business Windows
Microsoft 365 and Office SharePoint Development
Microsoft 365 and Office SharePoint For business Windows
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.