How to: Troubleshoot the error message “Cannot start the Azure Storage Emulator. Please run ‘AzureStorageEmulator.exe start’ as administrator and try again.”

The above error message is thrown by Visual Studio, when it fails to load the Azure Storage Emulator. In my case, this was thrown when trying to debug an Azure Function.

It’s not a difficult issue to troubleshoot, it’s just a bit frustrating that it happens in the first place. 

  1. Obviously, you first need to ensure that the Azure Storage Emulator is installed on your machine. This is part of the Azure SDK, so you should be OK if you’ve installed that. However, you can install the emulator as a stand-alone app. To check if it is installed on your machine, click on Windows Start and type “Azure Storage Emulator”.
  2. If the application is displayed in your Start menu, you can go ahead and run it manually. This will invoke a console window that will inform you of the emulator being ready to be used. 
  3. If the application is not displayed in your Start menu, either install the full Azure SDK or the stand-alone Azure Storage Emulator app, as explained earlier.
  4. For more information, navigate to Microsoft’s docs here.

The complete error message is “Cannot start the Azure Storage Emulator. Please run “AzureStorageEmulator.exe start” as administrator and try again. For more Information, see https://aka.ms/startAzureEmulator.”

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.