Skip to content

Running Add-PnPFolder in an Azure Runbook causing issues #455

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

You must be logged in to vote

It never fails. As soon as you post looking for help you stumble on the answer.

Apparently Azure Runbooks do have an issue with output from commands. So I just added " | Out-Null" to the end of the Add-PnPFolder command to discard the output and it works fine now. Hopefully this will help someone else some day.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by diver7
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