Using PowerShell and PnP with Azure Automation

  1. You may connect to your site when running your PS script with your local environment using Connect-PnPOnline -Url ‘https://[site]' -Credentials $cred;. Note that this command will need to change when you copy/paste it to your runbook, as Azure Automation allows you to create credentials to be stored, used, and retrieved. I will show you how to do that later in this article.

NIFTIT SharePoint Blog

NIFTIT is a SharePoint design and development agency based in New York, Vietnam and Hong Kong. We build beautiful, data-driven web and mobile applications, and custom enterprise solutions. We help non-profits and business make smart decision

4

4 claps
Khoa Quach

Written by

CEO+Co-founder NIFTIT, Upteamist / MCP in SharePoint, Office 365/ Guest speaker/ top 5 Quora technical blogger. http://niftit.com/ and https://www.upteamist.com

NIFTIT SharePoint Blog

NIFTIT is a SharePoint design and development agency based in New York, Vietnam and Hong Kong. We build beautiful, data-driven web and mobile applications, and custom enterprise solutions. We help non-profits and business make smart decision