SharePoint / SharePoint/sp-dev-docs

This modern script editor not working as Microsoft has enabled security, i.e CSP policy, Any one has ay idea, how this would work

Open
#10,736 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Author Feedback Needs: Context Detail :question: type:bug-suspected
Dominant language
PowerShell
Stars
1.4k
Forks
1.1k
Avg merge
4d 12h
Merged PRs (30d)
12

Description

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

None

What browser(s) / client(s) have you tested
  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)
Additional environment details
  • browser version
  • SPFx version
  • Node.js version
  • etc
Describe the bug / error

This modern script editor not working as Microsoft has enabled security, i.e CSP policy, Any one has ay idea, how this would work

Steps to reproduce

This modern script editor not working as Microsoft has enabled security, i.e CSP policy, Any one has ay idea, how this would work

Expected behavior

This modern script editor not working as Microsoft has enabled security, i.e CSP policy, Any one has ay idea, how this would work

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in SharePoint Online with Internet Explorer or Microsoft Edge and inspect the reported CSP behavior. The payload provides no source file or test location; done would require determining whether the modern script editor can work under the stated security policy and documenting the supported resolution.

Written by the indexing model from the issue text.

Assessment

Domain
api, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.