azure cli from azure functions
I would like to run az cli from azure fuction.
it will help me to manage my Azure environment.
So far azure cli is not able from azure function. I'm getting:
2019-05-13T13:19:33.237 [Error] ERROR: The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Microsoft.Azure.WebJobs.Script.Rpc.RpcException : Result: ERROR: The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program.
Hubert Richard commented
azure cli in azure functions are needed, for example, to more easily create x.509 key sets and renew them...
Manish Kumar commented
Exactly what I'm looking for my PowerShell function. If possible pls. provide the feature asap.
This is something we are looking at but don't have plans for this yet. Please up vote if you need this, especially calling out the use case for the Az CLI if possible.