Skip to content

'Connect-PnPOnline' not recognized as a name of a cmdlet when running from Azure Runbook #4880

Answered by DavorSukeri
DavorSukeri asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks, but eventually I managed to get it working by creating Runtime Environment with PowerShell 7.4 and imported PnP PowerShell 2.12 module in it.

PnP PowerShell 3.x requires PowerShell 7.4.6 and Azure Automation doesn’t support that yet.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DavorSukeri
Comment options

Answer selected by DavorSukeri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants