I want to run a PowerShell script on Azure webjobs and I need to install SharePointPnPPowerShellOnline module in Azure Webjobs for my business but I can't install external modules. I also try to config 'modules' files like Azure function but It's not working. How I can use the Install-Module or something is equivalent in Azure Webjobs? Thanks for your help.
To load external modules in Azure Webjob. We need to access SCM then choose some directory and put modules into your directory
Finally using apply this code
$MyModulePath="yourPath"
$env:PSModulePath = $env:PSModulePath + "$([System.IO.Path]::PathSeparator)$MyModulePath"