Closed Ralph101 closed 1 year ago
Hi,
The error would indicate that you can't expect it to work.
Could you explain the scenario that you want to support, by having the module to run inside an Azure Function?
See also #618 for some alternatives to Azure Functions.
I came across a similar error message today (see #734 ), which I think is caused by the PowerShell version. According to https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal#powershell-versions, Azure Functions run with PowerShell 7.2. The d365fo.tools still require PowerShell 5.1.
So I think at least for the moment, d365fo.tools can't be used in Azure Functions.
hi,
We want to run some d365fo.tools command in our Azure Function environment, but I'm unable to load the module. I have add the module via the requirements.ps1 file. I can see in the -ListAvailable all modules and dependencies are available. But when I run a command I receive module is found but could not load, for more information run Import-Module d365fo.tools. After running this command I receive the following error: