Forum Discussion
Laxman V
Dec 17, 2022Brass Contributor
Connect-PnPOnline in Azure function : parameter 'Url' because it is null
Dear community, Connect-Pnponline command is not accpting in Azure function, Always gettings below error "Cannot bind argument to parameter 'Url' because it is null." * the same script is w...
Dec 17, 2022
Well it says siteurl is null, so it's null.
Have you tried printing it too see if it has a value. because it sounds like it isn't assigned the value you want
Have you tried printing it too see if it has a value. because it sounds like it isn't assigned the value you want
- Laxman VDec 20, 2022Brass ContributorThank you Nicolas for your resposne and suggestion.
The probelm with PnP version in Azure function. 7.2 version is not working. hence I downgraded version from 7.2 to 7. it works fine
https://github.com/pnp/powershell/issues/2136- Warwick WardAug 28, 2023Bronze ContributorHave you upgraded to Function 7.2 using the latest PnP.PowerShell release and tested it all works now?
- Dec 20, 2022Aah been there! 🙂