When trying to debug a local Powershell Azure Function using Windows 10 Build 19041.388, I get the following error when trying run the function using "func start"
System Log: { Log-Level: Error; Log-Message: Failed to install module 'Az' version '4.4.0'. 1st attempt. Error: 'The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to find module providers (PowerShellGet).' }
I have reinstalled Powershell 7 and Visual Studio Code but this has made no difference.
When trying to debug a local Powershell Azure Function using Windows 10 Build 19041.388, I get the following error when trying run the function using "func start"
System Log: { Log-Level: Error; Log-Message: Failed to install module 'Az' version '4.4.0'. 1st attempt. Error: 'The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Unable to find module providers (PowerShellGet).' }
I have reinstalled Powershell 7 and Visual Studio Code but this has made no difference.