|
2 | 2 | title: Capture streaming events - Azure Event Hubs | Microsoft Docs
|
3 | 3 | description: This article provides an overview of the Capture feature that allows you to capture events streaming through Azure Event Hubs.
|
4 | 4 | ms.topic: article
|
5 |
| -ms.date: 05/31/2022 |
| 5 | +ms.date: 05/16/2023 |
6 | 6 | ---
|
7 | 7 |
|
8 | 8 | # Capture events through Azure Event Hubs in Azure Blob Storage or Azure Data Lake Storage
|
@@ -74,6 +74,26 @@ You can create an Azure Event Grid subscription with an Event Hubs namespace as
|
74 | 74 | ## Explore captured files
|
75 | 75 | To learn how to explore captured Avro files, see [Explore captured Avro files](explore-captured-avro-files.md).
|
76 | 76 |
|
| 77 | +## Azure Storage account as a destination |
| 78 | +To enable capture on an event hub with Azure Storage as the capture destination, or update properties on an event hub with Azure Storage as the capture destination, the user or service principal must have an RBAC role with the following permissions assigned at the storage account scope. |
| 79 | + |
| 80 | +``` |
| 81 | +Microsoft.Storage/storageAccounts/blobServices/containers/write |
| 82 | +Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write permission(s) on above resource for the user or the application and retry. |
| 83 | +``` |
| 84 | + |
| 85 | + |
| 86 | +Without above permission, you will see below error: |
| 87 | + |
| 88 | +``` |
| 89 | +Generic: Linked access check failed for capture storage destination <StorageAccount Arm Id>. |
| 90 | +User or the application with object id <Object Id> making the request doesn't have the required data plane write permissions. |
| 91 | +Please enable Microsoft.Storage/storageAccounts/blobServices/containers/write, Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write permission(s) on above resource for the user or the application and retry. |
| 92 | +TrackingId:<ID>, SystemTracker:mynamespace.servicebus.windows.net:myhub, Timestamp:<TimeStamp> |
| 93 | +``` |
| 94 | + |
| 95 | +The [Storage Blob Data Owner](../role-based-access-control/built-in-roles.md#storage-blob-data-owner) is a built-in role with above permissions, so add the user account or the service principal to this role. |
| 96 | + |
77 | 97 | ## Next steps
|
78 | 98 | Event Hubs Capture is the easiest way to get data into Azure. Using Azure Data Lake, Azure Data Factory, and Azure HDInsight, you can perform batch processing and other analytics using familiar tools and platforms of your choosing, at any scale you need.
|
79 | 99 |
|
|
0 commit comments