Is your feature request related to a problem? Please describe.
COSMIC team in M365 is working on building a service that invokes PowerShell scripts in a remote server. These PowerShell scripts in turn call az commands. However, the server doesn’t have az-CLI installed. We want to install az-CLI in a sandboxed way just for our project.
Describe the solution you'd like
- Exporting az CLI as an exe that can be invoked directly on the server. We could get Helm and Kubectl exes to work on the server by downloading them. Something similar for az-CLI would be super helpful.
- Exporting Az CLI as a Nuget package, which we can copy to the output build directory.
Describe alternatives you've considered
We attempted the following already:
- Exporting the MSI installer – doesn’t work because we need admin privileges.
- Exporting as a NuGet the CLI2 folder created during installation doesn’t work because some DLLs/exe files do not get approved when we try to upload them using expush.
- Using pip installation on python and virtual environments- doesn’t work due to permission issues on Windows server not allowing us to pip install az CLI.
Additional context
The server we are trying to push to is highly secure and often doesn't allow us to push files or download things.
Is your feature request related to a problem? Please describe.
COSMIC team in M365 is working on building a service that invokes PowerShell scripts in a remote server. These PowerShell scripts in turn call az commands. However, the server doesn’t have az-CLI installed. We want to install az-CLI in a sandboxed way just for our project.
Describe the solution you'd like
Describe alternatives you've considered
We attempted the following already:
Additional context
The server we are trying to push to is highly secure and often doesn't allow us to push files or download things.