Azure / Azure/azure-functions-powershell-worker

Enable-ExperimentalFeature does not work on Azure

Open
#579 1 comment 2 reactions 1 assignee Claimed by @Francisco-Gamino View on GitHub
investigation
Dominant language
C#
Stars
215
Forks
61
Avg merge
21h 4m
Merged PRs (30d)
6

Description

`Enable-ExperimentalFeature` fails with the "access denied" error. As a result, Azure Functions users cannot enable experimental PowerShell features.

Apparently, `Enable-ExperimentalFeature` needs write access to the `$env:HOME` directory, and this path is mounted as read-only (at least on Consumption). In order to fix this, we need to either make `$env:HOME` point to a writable location (such as D:\home\data) or allow passing a different location to the PowerShell SDK.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.