GraphAPI返回的共享日历Weblink无法正常使用问题求助
问题背景
我们遇到了类似Stack Overflow相关帖子的问题,但针对共享日历场景:生成共享日历内项目的链接后,页面会加载用户自身日历并尝试打开目标项目,但模态框加载后出现卡顿。即便用户已在桌面Outlook客户端中添加该共享日历,此问题仍会出现;但将共享日历添加至OWA(Outlook网页版)客户端后,链接即可正常使用。我们即将向全组织推广该日历,不希望让所有用户都执行添加至OWA这个临时操作,该方案体验不佳。
已尝试的URL(已确认ID已完成URL编码)
https://outlook.office365.com/owa/?itemid={id}&exvsurl=1&path=/calendar/itemhttps://outlook.office365.com/calendar/item/{id}
浏览器控制台错误信息
控制台出现大量安全相关错误,均为Content Security Policy(内容安全策略)阻止内联资源加载,但已确认用户拥有该共享日历的访问权限,添加至OWA后所有功能恢复正常。错误示例:
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). Source: (()=>{var t={40472... etc..
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). Source: /******/ (function(modules)... etc...
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). Source: (function injectProxy(e... etc...
错误截图

内容的提问来源于stack exchange,提问作者Lane Goolsby

