logikfabrik

How to clear the Azurite app data

1 min read

To clear the app data for the Azurite Blob, Queue, and Table services (Azure Storage Emulator), open your Azure Function in VS. Open the Output Window, and set it to show output from Service Dependencies. There’ll be a version check of the Azure Functions Core Tools, and the Azurite app data dir (see the --location switch) will be printed to the window. I.e:

Ensuring Azure Functions Core Tools are up to date. This may take a few minutes...
Azure Functions Core Tools are up to date.
Logikfabrik.AzureFunction: c:\program files\microsoft visual studio\2022\enterprise\common7\ide\extensions\microsoft\Azure Storage Emulator\azurite.exe --location "C:\Users\Logikfabrik\AppData\Local\Temp\Azurite" --debug "C:\Users\Logikfabrik\AppData\Local\Temp\Azurite\debug.log" --skipApiVersionCheck
Logikfabrik.AzureFunction: Azurite Blob service is starting at http://127.0.0.1:10000
Logikfabrik.AzureFunction: Azurite Blob service is successfully listening at http://127.0.0.1:10000
Logikfabrik.AzureFunction: Azurite Queue service is starting at http://127.0.0.1:10001
Logikfabrik.AzureFunction: Azurite Queue service is successfully listening at http://127.0.0.1:10001
Logikfabrik.AzureFunction: Azurite Table service is starting at http://127.0.0.1:10002
Logikfabrik.AzureFunction: Azurite Table service is successfully listening at http://127.0.0.1:10002

Clear the Azurite app data dir - in my case C:\Users\Logikfabrik\AppData\Local\Temp\Azurite. Restart VS, and that’s it.