File Preview Blocked by Personal OneDrive Restrictions in Confluence and Jira

File Preview Blocked by Personal OneDrive Restrictions in Confluence and Jira

Problem

  • Files listed on a Confluence page through the SharePoint Connector macro won't preview.

  • Linked files in a Jira work item, or in the SharePoint Connector's file manager preview, won't open either.

When this happens, the preview is blocked, usually showing a "prohibitory sign" icon or a security message instead of the file.

Applies to

  • Atlassian Platform: Confluence Cloud

  • Product: SharePoint Connector for Confluence, SharePoint Connector for Jira & JSM

  • Environment: Cloud

What you'll notice:

  • The file preview fails to load

  • The browser blocks the content with a security response (e.g., X-Frame-Options: DENY or SAMEORIGIN), which stops it from displaying inside a frame

  • An error message saying the site owner doesn't allow the content to be framed

    image-20260708-084835.png

Why this happens

This almost always comes down to one of two things: your organization's IT policies blocking personal OneDrive accounts, or SharePoint's framing settings being set too restrictively to allow the preview through. Both are easy to check and fix.

How to fix it:

The issue is typically caused by organizational IT policies blocking personal OneDrive accounts or restrictive SharePoint framing settings.

Step-by-step resolution:

  1. Switch to a OneDrive Business/Scheool Account
    Make sure the app is connected using a Microsoft Business or Work account, not a personal OneDrive account. Many corporate IT environments block personal OneDrive access by default, which is often the root cause here.

  2. Allow framing in SharePoint
    Your SharePoint Administrator can update this in a few steps:

    • Go to Site Settings in SharePoint

    • Open HTML Field Security

    • Add your Confluence site (e.g., https://yourcompany.atlassian.net) to the list of domains allowed to frame content

  3. Check network authorization

    • Ask your Network Administrator to confirm that traffic to and from *.sharepoint.com is allowed, and that no firewall or proxy is blocking communication with your Confluence site.

  4. Review browser privacy settings

    • Make sure the browser isn't running in "Strict" privacy mode

    • Confirm third-party cookies aren't blocked, since this can interrupt the authentication handshake between Confluence and Microsoft

Still stuck after trying these? Reach out through our support portal, we're happy to dig in further with you.