Skip to content

Commit 5720f73

Browse files
Merge pull request #247635 from kasun04/main
Fix MSI capture ARM template issue.
2 parents dfef3d7 + 28deb05 commit 5720f73

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

articles/event-hubs/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
href: create-schema-registry.md
7171
- name: Validate schemas for Kafka applications
7272
href: schema-registry-kafka-java-send-receive-quickstart.md
73-
- name: Validate schemas with Avro for Event Hubs SDK
73+
- name: Validate schemas for Event Hubs SDK based applications
7474
href: schema-registry-dotnet-send-receive-quickstart.md
7575
- name: Create a dedicated cluster
7676
href: event-hubs-dedicated-cluster-create-portal.md

articles/event-hubs/event-hubs-capture-managed-identity.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The Event Hubs Capture feature also support capturing data to a capture destinat
5252
5353
For that you can use the same ARM templates given in [enabling capture with ARM template guide](./event-hubs-resource-manager-namespace-event-hub-enable-capture.md) with corresponding managed identity.
5454

55-
For example, following ARM template can be used to create an event hub with capture enabled. Azure Storage or Azure Data Lake Storage Gen 2 can be used as the capture destination and system assigned identity is used as the authentication method. The resource ID of the destination can point to a resource in a different subscription.
55+
For example, following ARM template can be used to create an event hub with capture enabled. Azure Storage or Azure Data Lake Storage Gen 2 can be used as the capture destination and user assigned identity is used as the authentication method. The resource ID of the destination can point to a resource in a different subscription.
5656

5757
```json
5858
"resources":[
@@ -86,9 +86,6 @@ For example, following ARM template can be used to create an event hub with capt
8686
"dependsOn": [
8787
"[concat('Microsoft.EventHub/namespaces/', parameters('eventHubNamespaceName'))]"
8888
],
89-
"identity": {
90-
"type": "SystemAssigned",
91-
},
9289
"properties": {
9390
"messageRetentionInDays": "[parameters('messageRetentionInDays')]",
9491
"partitionCount": "[parameters('partitionCount')]",
@@ -104,7 +101,13 @@ For example, following ARM template can be used to create an event hub with capt
104101
"storageAccountResourceId": "[parameters('destinationStorageAccountResourceId')]",
105102
"blobContainer": "[parameters('blobContainerName')]",
106103
"archiveNameFormat": "[parameters('captureNameFormat')]"
107-
}
104+
},
105+
"identity": {
106+
"type": "UserAssigned",
107+
"userAssignedIdentities": {
108+
"xxxxxxxx": {}
109+
}
110+
}
108111
}
109112
}
110113
}

0 commit comments

Comments
 (0)