I would like to ask you about the title "How to install modules in Functions".
We are creating a VM stop function (language: PowerShell) in Functions.
The following error is displayed at the time of execution and the process is not executed.
The term'Disable-AzContextAutosave' is not recognized as the name of a cmdlet
The term'Connect-AzAccount' is not recognized as the name of a cmdlet
The term'Stop-AzVM' is not recognized as the name of a cmdlet
It seems that the following modules need to be installed as a countermeasure.
--Az.Compute
--Az.Accounts
How to install modules with Functions
Can you teach me?
that's all, thank you very much.