Why does Outlook Web media-src CSP block all media not hosted with Microsoft
I have encountered an issue with Outlook Web where media content (such as images) hosted on non-Microsoft domains is being blocked from loading. After investigation, it appears that the Content Security Policy (CSP) for media-src is strictly set to allow only Microsoft-owned domains.
Example of the issue:
-> Media URL (not loading in Outlook Web): https://mydomain.com/media/sample-image.png.
-> Error in browser console: Refused to load media from 'https://mydomain.com/media/sample-image.png' because it violates the following Content Security Policy directive: "media-src ...".
Can you please clarify the intended behaviour of this CSP policy?