Skip to content

Enable-ExperimentalFeature does not work on Azure #579

@AnatoliB

Description

@AnatoliB

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.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions