A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
Provide required information needed to triage your issue
Hello,
Outlook Add-in works great in Outlook Desktop, and was working great also on Web, but got report a week ago that it stopped on the Web Version.
The add-in simply reads some email header in EWS JS and send an email when clicking on a Report spam button.
Your Environment
Platform [PC desktop, Mac, iOS, Office on the web]: Office on the Web / New Outlook
Host [Excel, Word, PowerPoint, etc.]: New Outlook
Office version number: 2310
Operating System: Windows 11
Browser (if using Office on the web): Edge
Expected behavior
Add-in should open properly, like on Outlook Desktop:
Current behavior
Add-in does not load in Outlook Web / New Outlook with error:
Console error:
Refused to frame 'https://officeaddins.o2f-it.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://weshare.news"
Context
Nothing changed on the addin, no new code, no new server or reverse proxy.
Provide required information needed to triage your issue
Hello,
Outlook Add-in works great in Outlook Desktop, and was working great also on Web, but got report a week ago that it stopped on the Web Version.
The add-in simply reads some email header in EWS JS and send an email when clicking on a Report spam button.
Your Environment
Expected behavior
Add-in should open properly, like on Outlook Desktop:
Current behavior
Add-in does not load in Outlook Web / New Outlook with error:
Console error:
Refused to frame 'https://officeaddins.o2f-it.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://weshare.news"
Context
Nothing changed on the addin, no new code, no new server or reverse proxy.
Any help is appreciated!
Thanks