Forum Discussion
Benoit_Fournier
Nov 05, 2018Iron Contributor
Issues provisioning sites from Azure Automation using PnP
We try to provision sites using PowerShell code in Azure Automation and get various errors. It is worse when we run many concurent sessions but, in the current case, even a single instance fail. ...
Nov 05, 2018
I just tried it myself and did in sequence:
Connect-PnPOnline -Url etc. etc.
$context = Get-PnPContext
$web = Get-PnPWeb
$web.Title
and I did not receive any error messages or issues and it showed the title of the web in the output. I'm more thinking there is an issue with the web you're connecting to? Like no access with the account you're using in your runbook?