question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Event grid subscription to blob storage account fails

See original GitHub issue

The steps outlined in this blog post do not work.

az group create --name <resource_group_name> --location westcentralus

az storage account create \
 --name <storage_account_name> \
 --location westcentralus \
 --resource-group <resource_group_name> \
 --sku Standard_LRS \
 --kind BlobStorage \
 --access-tier Hot

az eventgrid resource event-subscription create \
--endpoint <URL_from_RequestBin> \
--name <event_subscription_name> \
--provider-namespace Microsoft.Storage \
--resource-type storageAccounts \
--resource-group <resource_group_name> \
--resource-name <storage_account_name>

You get the following error:

The attempt to configure storage notifications for the provided storage account <storage_account_name> failed. Please ensure that your storage account meets the requirements described at https://aka.ms/storageevents.

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

azure-cli (2.0.21)
Brew install
OS X
bash

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
eragonriddlecommented, Dec 9, 2018

@kalyanaj Thank you for pointing out to use storage account v2. az cli storage account create command will create a v1 general purpose account by default unless specified. Changing to general-purpose v2 storage account fixed the issue.

0reactions
jfggdlcommented, May 30, 2019

@derekbekoe, we are closing this issue for now. Feel free to reopen it if you feel that we still have not addressed your concerns.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Azure Event Grid issues - Microsoft Learn
This article provides different ways of troubleshooting Azure Event Grid issues.
Read more >
Azure Storage Account Event subscription - Stack Overflow
The issue is the event gets published to event grid system topic but not getting delivered to subscription. I set up diagnostic settings...
Read more >
Troubleshoot Azure Blob Storage Log Collection
Go to Event Grid Subscription services. Select Storage Account and region from the dropdown. Select the Event Subscription created in Step 3 from...
Read more >
Processing Azure Blob Storage events with Azure Event Grid ...
To do that, select your storage account, click on Events and then select your registered event subscription (in this case the Logic App...
Read more >
Azure Event Grid and its Complete Overview | Serverless360
The encrypted file is then placed onto another blob storage account. Another Event Grid topic gets triggered by this and has a subscription...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found