Quickstart: Create a queue and add a message with the Azure portal
In this quickstart, you learn how to use the Azure portal to create a queue in Azure Storage, and to add and dequeue messages.
To access Azure Storage, you'll need an Azure subscription. If you don't already have a subscription, create a free account before you begin.
All access to Azure Storage takes place through a storage account. For this quickstart, create a storage account using the Azure portal, Azure PowerShell, or Azure CLI. For help creating a storage account, see Create a storage account.
Create a queue
To create a queue in the Azure portal, follow these steps:
Navigate to your new storage account in the Azure portal.
In the left menu for the storage account, scroll to the Queue Storage section, then select Queues.
Select the + Queue button.
Type a name for your new queue. The queue name must be lowercase, must start with a letter or number, and can include only letters, numbers, and the dash (-) character.
Select OK to create the queue.
Add a message
Next, add a message to the new queue. A message can be up to 64 KB in size.
Select the new queue from the list of queues in the storage account.
Select the + Add message button to add a message to the queue. Enter a message in the Message text field.
Specify when the message expires. Valid values that can be entered in the Expires in field are between 1 second and 7 days. Select Message never expires to indicate a message that will remain in the queue until it is explicitly removed.
Indicate whether to encode the message as Base64. Encoding binary data is recommended.
Select the OK button to add the message.
View message properties
After you add a message, the Azure portal displays a list of all of the messages in the queue. You can view the message ID, the contents of the message, the message insertion time, and the message expiration time. You can also see how many times this message has been dequeued.
Dequeue a message
You can dequeue a message from the front of the queue from the Azure portal. When you dequeue a message, the message is deleted.
Dequeueing always removes the oldest message in the queue.
In this quickstart, you learned how to create a queue, add a message, view message properties, and dequeue a message in the Azure portal.