Recently I worked on a project using Azure Automation Runbooks and PnP-PowerShell (for SharePoint Online) to automate some changes on a SharePoint site. When I used any commandlet that creates, adds or changes something – like “Add-PnP…”, “New-PnP…”, “Update-PnP…”, “Set-PnP…” – the runbook enters a loop for three times without any error message and then the runbooks failed.