I am struck here and i dont understand on how to add the API key using powershell as i am using sharepoint online

enter image description here

1 Answer 1

  1. Run SharePoint Online Management Shell Click here for help
  2. Connect to you sharepoint online environement with UID and password
  3. Install Sharepointpnp power shell module using this Install-Module SharePointPnPPowerShellOnline
  4. RUN

    Invoke-Expression (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/sharepoint/PnP-PowerShell/master/Samples/Modules.Install/Install-SharePointPnPPowerShell.p s1')

  5. Update module using Update-Module -force

  6. Set-PnPStorageEntity -Key "PnP-Portal-AlphaVantage-API-Key" -Value "API KEY" -Comment "API Key for Alpha Advantage REST Stock service" -Description "API Key for Alpha Advantage REST Stock service"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.