@Praveen Kumar Gudipudi thanks, I figured out that it required the role EventGrid Contributor on the storage account. That I think was not the case before, but could be because I used another account before, but not even sure. Regardless, the way the error is handled by Azure makes it extremely hard to figure out.
Azure Event Grid System Topic will not deploy - unable to verify access to resource
Trying to create a storage acocunt and an event grid system topic as per:
resource "azurerm_storage_account" "storage" {
name = "REDACTED"
resource_group_name = "REDACTED"
location = "REDACTED"
account_tier = "Standard"
account_replication_type = "LRS"
public_network_access_enabled = true
}
resource "azurerm_eventgrid_system_topic" "storage" {
name = "REDACTED"
resource_group_name = "REDACTED"
location = "REDACTED"
source_resource_id = azurerm_storage_account.storage.id
topic_type = "Microsoft.Storage.StorageAccounts"
}
The storage account will create with success. The system topic will hang forever. Consulting the activity log, it's getting the following error:
Unable to verify access to resource /subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED. Please try again in a few minutes.\"
Tryed again 1 hour later, and also tried again on a brand new resource group. Always happening.
Same error occurs in using the Azure Portal UI:
Azure Event Grid
2 answers
Sort by: Most helpful
-
gsouf 0 Reputation points
2025-09-11T14:23:41.1766667+00:00 -
Praveen Kumar Gudipudi 1,080 Reputation points Microsoft External Staff Moderator
2025-09-12T03:47:24.7666667+00:00 Hello gsouf,
Glad here that your issue has been resolved now.
Issue: Unable to verify access to resource /subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.Storage/storageAccounts/REDACTED. Please try again in a few minutes.\
Resolution: it required the role
EventGrid Contributoron the storage account.Please accept as answer and do a Thumbs-up to upvote this response. Your upvote will be beneficial for the community users facing similar issues.