How-to add “PnP PowerShell” to Azure Automation

  1. Go to your “Azure Automation Account”.
  2. Click on “Modules” in the section “Shared Resources”.
  3. Click on “Browse gallery”.
  4. Search for PnP.
  5. Click on “SharePointPnPPowerShellOnline” for SharePoint Online.
  6. Click on “Import”.
  7. Click on “OK”.
    1. Because a message is shown that importing a module could take several minutes.

After some time, you should see a message that the import succeeded.

In a next blog post I will talk about credentials.

Leave a Reply

Your email address will not be published.