Skip to content

Commit 07c81f7

Browse files
Update connector-azure-cosmos-db.md
Adding support for UAMI for mapping data flows
1 parent 34f7ee5 commit 07c81f7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

articles/data-factory/connector-azure-cosmos-db.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-movement
99
ms.topic: conceptual
1010
ms.custom: synapse
11-
ms.date: 01/05/2024
11+
ms.date: 07/23/2024
1212
---
1313

1414
# Copy and transform data in Azure Cosmos DB for NoSQL by using Azure Data Factory
@@ -262,9 +262,6 @@ These properties are supported for the linked service:
262262
```
263263
### User-assigned managed identity authentication
264264

265-
>[!NOTE]
266-
>Currently, the user-assigned managed identity authentication is not supported in data flow.
267-
268265
A data factory or Synapse pipeline can be associated with a [user-assigned managed identities](data-factory-service-identity.md#user-assigned-managed-identity), which represents this specific service instance. You can directly use this managed identity for Azure Cosmos DB authentication, similar to using your own service principal. It allows this designated resource to access and copy data to or from your Azure Cosmos DB instance.
269266

270267
To use user-assigned managed identities for Azure resource authentication, follow these steps.
@@ -282,6 +279,9 @@ These properties are supported for the linked service:
282279
| database | Specify the name of the database. | Yes |
283280
| credentials | Specify the user-assigned managed identity as the credential object. | Yes |
284281
| connectVia | The [integration runtime](concepts-integration-runtime.md) to be used to connect to the data store. You can use the Azure integration runtime or a self-hosted integration runtime if your data store is in a private network. If not specified, the default Azure integration runtime is used. |No |
282+
| subscriptionId | Specify the subscription id for the Azure Cosmos DB instance | No for Copy Activity, Yes for Mapping Data Flow |
283+
| tenantId | Specify the tenant id for the Azure Cosmos DB instance | No for Copy Activity, Yes for Mapping Data Flow |
284+
| resourceGroup | Specify the resource group name for the Azure Cosmos DB instance | No for Copy Activity, Yes for Mapping Data Flow |
285285

286286
**Example:**
287287

@@ -296,7 +296,10 @@ These properties are supported for the linked service:
296296
"credential": {
297297
"referenceName": "credential1",
298298
"type": "CredentialReference"
299-
}
299+
},
300+
"subscriptionId": "<subscription id>",
301+
"tenantId": "<tenant id>",
302+
"resourceGroup": "<resource group>"
300303
},
301304
"connectVia": {
302305
"referenceName": "<name of Integration Runtime>",

0 commit comments

Comments
 (0)