Running Azure CLI in Azure Functions
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
Hi,
I want to run a PowerShell-based Azure Function based on an HTTP trigger. At this point, whether PowerShell is experimental or not is out of the scope of this issue - I could simply work around it and have a C# function triggered which invokes the execution of the PowerShell script and also not use shell execution when I invoke the script so that the Standard Output and Standard Error can afterwards be queries and written as traces to Application Insights.
Anyway, the problem is as follow: how do I get prerequisites for my runtime installed? Specifically, how do I get Azure CLI installed on the runtime?
P.S.: I've also opened up this question in the Azure/azure-functions-host repo, but I don't believe that's the right place - what is that repo for anyway?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.