Forum Discussion

Hunter_Foote's avatar
Hunter_Foote
Copper Contributor
Feb 08, 2022

Issue with custom scripts on Sharepoint site

 

Hello, I have enabled custom scripts on my SharePoint site, but am seemingly unable to execute anything. Trying to add a Bing Maps Key, followed the instructions to do so, and it is not letting me on the basis of some sort of prohibition on custom scripts despite having enabled them on the SharePoint site and waited the 24 hours.

 

1 Reply

  • stum's avatar
    stum
    Copper Contributor

    Hi,

    You need to set the execution policy for your PowerShell. You can set it to unrestricted which will let you run Import-Module and then you can install other modules.

    To set it:  

     Set-ExecutionPolicy Unrestricted

     

Resources