You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I’m not able to list queue policies with azure cli and I’m also not able to list queue policies with the Storage Account explorer. But the policies will be created successfully.
I recognized that the storage account emulator is answering the get request different than azurite. There are some magic characters in front of the response and a zero at the end.
As you can see the magic characters in front of the response are not there and the trailing zero is also not available.
Another issue because of the issue above is that azure cli requests the queue policies first, if there are some policies available it merges the policies (old+new) and sends them back. But this is not possible with azurite. All policies will be overwritten by the new one.
Currently I circumventing the issue by using custom scripts for creating queues and policies but for debugging and some test environment related topics I need to use azure cli and the Storage Account Explorer.
Best
nobiehl
The text was updated successfully, but these errors were encountered:
Hi,
Currently I’m not able to list queue policies with azure cli and I’m also not able to list queue policies with the Storage Account explorer. But the policies will be created successfully.
I recognized that the storage account emulator is answering the get request different than azurite. There are some magic characters in front of the response and a zero at the end.
Storage Account Emulator 5.3.0.0
Azurite 2.6.5
Azure CLI 2.0.30
Windows 10 + WSL
1. Storage Account Emulator + azure cli
RESPONSE (Fiddler):
az storage queue policy create --name read --queue-name test-queue --permissions rp --start 2018-04-01 --expiry 2018-04-02 az storage queue policy list --queue-name test-queue
RESPONSE (Fiddler):
2. Azurite + azure cli
RESPONSE (Fiddler):
az storage queue policy create --name read --queue-name test-queue --permissions rp --start 2018-04-01 --expiry 2018-04-02 az storage queue policy list --queue-name test-queue
azure cli returns nothing. But the response from azurite looks like:
RESPONSE (Fiddler):
As you can see the magic characters in front of the response are not there and the trailing zero is also not available.
Another issue because of the issue above is that azure cli requests the queue policies first, if there are some policies available it merges the policies (old+new) and sends them back. But this is not possible with azurite. All policies will be overwritten by the new one.
Currently I circumventing the issue by using custom scripts for creating queues and policies but for debugging and some test environment related topics I need to use azure cli and the Storage Account Explorer.
Best
nobiehl
The text was updated successfully, but these errors were encountered: