Giter VIP home page Giter VIP logo

Comments (6)

Laskewitz avatar Laskewitz commented on June 8, 2024

Did you enable the custom script settings in the SharePoint admin center?
custom-script

from pnp-powershell.

mtwelve avatar mtwelve commented on June 8, 2024

They are still both set to Prevent... but I am trying to use Add-SPOJavaScriptLink against an intranet site not a 'personal' site

The following commands worked without any errors - Get-SPOList, New-SPOWeb, Add-SPOFile, Set-SPOWeb

from pnp-powershell.

Laskewitz avatar Laskewitz commented on June 8, 2024

Can you try to set them to allow, wait 24 hours and try again? I think this will be the solution to your solution.

from pnp-powershell.

mtwelve avatar mtwelve commented on June 8, 2024

Hmm... I can and will happily give it a go

Seems a bit strange though and will make it a lot easier for a user to experiment/break their own MySite

Is this something you've had to do?

from pnp-powershell.

mtwelve avatar mtwelve commented on June 8, 2024

Your suggestion solved the problem

I wonder if it's because I was trying to make the change to the default root site collections that is provisioned automatically as opposed to one that we had provisioned

Thank you

from pnp-powershell.

Laskewitz avatar Laskewitz commented on June 8, 2024

Nice! Good to hear that!

from pnp-powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.