Forum Discussion
Deleted
Mar 19, 2021401 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...
- Apr 20, 2021Hi,
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
Paul Bullock
Mar 25, 2021MVP
Hi, I am not tried that approach before, but I created a sample in the PnP.PowerShell for setting up with Azure Automation with certificates as an alternative approach: https://github.com/pnp/powershell/tree/dev/samples/Connect.AzureAutomation
Of course, pls post here if you find the answer, interested in learning new approaches
Of course, pls post here if you find the answer, interested in learning new approaches