Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,114 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to create self signed certificate using my run.ps1 under my Azure function but it is throughing error saying that "New-SelfSignedCertificate cmdlet is not recognized". AFAIK this command is available by default.
New-SelfSignedCertificate is not part of the Modules that are implemented in Azure Functions.
You will need to install/add the module to the: requirements.psd1 file the PKI module.
Try adding PKI (the module name).
I noticed this as well: https://www.powershellgallery.com/packages/SelfSignedCertificate/0.0.4.
Reference: Dependency Management