Azurite icon indicating copy to clipboard operation
Azurite copied to clipboard

Custom Storage Accounts in Azurite Visual Studio Code Extension

Open AlishStrong opened this issue 7 months ago • 1 comments

Which service(blob, file, queue, table) does this issue concern?

Azurite extension for Visual Studio Code Extension

Which version of the Azurite was used?

Latest Visual Studio Code Extension - 3.34.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

Visual Studio Code Extension

What's the Node.js version?

not applicable

What problem was encountered?

Azurite Documentation clearly tells that it is possible to set custom Storage Accounts using environmental variable: Custom storage accounts and keys However, there is no explanation how to do so in Azurite Extension for Visual Studio Code. Details page of Azurite Extension references the same instruction using environmental variable: Customized Storage Accounts & Keys I tried setting an environmental variable and launch Azurite Extension, but it did not help, I had only the default Storage Account.

Steps to reproduce the issue?

Install Azurite Extension for Visual Studio Code. Don't install Azurite via NPM or anything else, so that azurite command itself is not recognizible by your terminal. Try to set a custom Storage Account on Azurite.

If possible, please provide the debug log using the -d parameter, replacing with an appropriate path for your OS, or review the instructions for docker containers:

No logs unfortunately

Have you found a mitigation/solution?

No

AlishStrong avatar May 31 '25 10:05 AlishStrong

Hi @AlishStrong ,

This issue looks similar as https://github.com/Azure/Azurite/issues/2018 .

For Azurite start from VS code not work with Environment variable, this do work for me. Would you try to setup the system variable by similar way in https://www.c-sharpcorner.com/article/how-to-addedit-path-environment-variable-in-windows-11/, then start VS code, and see if it works. (If still not work, you might need restart OS or VSCode.)

blueww avatar Jun 12 '25 09:06 blueww