Search code examples
azureazure-resource-groupazure-eventgridazure-function-app

Unable to select Resource in "Create Event Subscription" in Azure


I'm able to select the following from a drop-down in the "Create Event Subscription" window for Event Grid: (1) Topic Types (2) Subscription (3) Resource Group.

The drop-down for "Resource" begins to load after I select the Resource Group, however, nothing populates in it. I have multiple storage accounts in this resource group. Why aren't these resources showing up in the drop-down? I am unable to create the Event Subscription until I select a Resource. Is there an alternative way I can reference the resource in the 'Advanced Editor'? I'm following this tutorial from Microsoft, but I'm running into this roadblock in which the Resources don't populate in the drop-down.

enter image description here


Solution

  • Only blobstorage accounts will be listed there. You need to create the storage account with kind 'blobstorage'.

    blobStorageAccount=<blob_storage_account>
    
    az storage account create --name $blobStorageAccount \
    --location southeastasia --resource-group myResourceGroup \
    --sku Standard_LRS --kind blobstorage --access-tier hot
    

    If you create the storage with kind 'storage', it will not be listed there.

    blobStorageAccount=<blob_storage_account>
    
    az storage account create --name $blobStorageAccount \
    --location southeastasia --resource-group myResourceGroup \
    --sku Standard_LRS --kind blobstorage --access-tier hot
    

    enter image description here