Azure / Azure/azure-functions-powershell-worker
Allow installing modules that require accepting a license
- Dominant language
- C#
- Stars
- 215
- Forks
- 61
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 6
Description
### Problem
Some modules on the PS Gallery (for example, MSAL.PS) require the user to accept a license, either by confirming accepting the license interactively, or by providing the `-AcceptLicense` switch when invoking `Install-Module`. It is currently impossible to use these modules in PowerShell Functions by just mentioning them in `requirements.psd1`. The workaround is to include these modules into the app or deploy them to the file system manually, but in this case they will not be considered a managed dependency, so they will not be auto-upgraded etc.
### Proposal
- When automatically installing/upgrading the modules mentioned in `requirements.psd1`, accept the license automatically.
- Make it clear for the users that including a module into `requirements.psd1` and deploying/starting the app implies accepting the module license.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.