Forum Discussion

Deleted's avatar
Deleted
Mar 19, 2021
Solved

401 Error using PnP PowerShell in Azure Runbooks

Trying to get PnP PowerShell cmdlets to work within an Azure Runbook with modern authentication (no username/password).   I tried registering an Azure AD app and a Service Principal (Run as account...
  • Paul Bullock's avatar
    Paul Bullock
    Apr 20, 2021
    Hi,

    I have recent presented at the Scottish summit an example of setting this up in Azure Automation using certificates: https://youtu.be/8qsnhfSilic?t=1234 (i've skipped the intro parts gone straight to the demo)

    Hope this helps.

    Paul

Resources