Skip to main content
Level 2
Mar 17, 2026 1:56 PM UTC
Solved

Adobe Analytics Scripts Blocked by CSP on SharePoint

Hi Team,

We are working with a SharePoint website and have encountered an issue where Adobe Analytics scripts are being blocked by the Content Security Policy (CSP). Although we have already whitelisted the Adobe script, the browser console still shows an error indicating a CSP violation.

Has anyone faced a similar issue, and could you advise on how to resolve this? Any guidance on proper configuration or best practices would be greatly appreciated.
 

Thank you in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Meghan_Powers
Meghan_PowersAccepted solution
Adobe Champion and Community Advisor
Mar 18, 2026 4:47 PM UTC

SharePoint and Adobe do not play well at my company either.  I can sometimes get around it by opening Adobe items in an incognito window.  Otherwise, I’ve had to open an IT ticket at my company and that usually fixes it for a time.

7 replies

Jennifer_Dungan
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Mar 17, 2026 4:27 PM UTC

Hello ​@ManuS_ ,

 

I wonder if it’s the Adobe Script itself, or something that you are doing in the script...

 

The error message clearly specifies “unsafe-eval” which might be a result of how the script is being added to the SharePoint site?

 

We have SharePoint, but don’t have Adobe on it, but I am sure other people have implemented it in their sites… However, it will be hard to support this without access to the site or the code… 

 

Do you have any SharePoint developers in your org that can help support you?

Translate
ManuS_Author
Level 2
Mar 18, 2026 1:55 PM UTC

Yes, we do have SharePoint developers.

Translate
Jennifer_Dungan
Adobe Champion and Community Advisor
Adobe Champion and Community Advisor
Mar 18, 2026 2:00 PM UTC

Good.. but that is definitely an interesting issue… I hope you can resolve it

Translate
ManuS_Author
Level 2
Mar 19, 2026 3:05 PM UTC

Hi Team,

We were able to resolve the issue with the following steps:

  1. Whitelisted the Adobe script.

  2. Initially, we were using the Core Extension in Adobe Launch to add custom code. We updated this to use the Adobe Analytics Extension (Set Variables) instead.

After making these changes, the CSP error is no longer appearing in the console.

Thank you all for your support and guidance!

Translate
Isha Gupta
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Mar 19, 2026 3:19 PM UTC

Hello ​@ManuS_ ,

I have seen this one before but not in a long time. I will check two things here.

  1. First use any CORS Unblock extension available on Chrome such as CORS Unblock to check if the scripts load fine after unblocking.
  2. Check if you have whitelisted all URLs listed in Adobe documentations-  https://experienceleague.adobe.com/en/docs/id-service/using/reference/csp

More on CSP - https://experienceleague.adobe.com/en/docs/experience-platform/collection/use-cases/configuring-a-csp

 

Best,

Isha

Translate