Skip to content

Commit fc38a2c

Browse files
Update query-cosmos-db-analytical-store.md
1 parent 2f52f27 commit fc38a2c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/synapse-analytics/sql/query-cosmos-db-analytical-store.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ The SQL connection string for Azure Cosmos DB includes the following components:
4747
- **account** - The name of the Azure Cosmos DB account you are targeting.
4848
- **database** - The container name, specified without quotation marks in the OPENROWSET syntax. If the container name contains special characters (for example, a dash -), it should be enclosed in square brackets ([]).
4949
- **region** (optional) - The region of your Cosmos DB analytical storage. If omitted, the container's primary region is used.
50-
- **endpoint** (optional) - required if your Cosmos DB account does not follow the standard `*.documents.azure.com` format.
50+
- **endpoint** (optional) - The Cosmos DB endpoint URI (for example `https://<account name>.documents.azure.us`) that is required if your Cosmos DB account does not follow the standard `*.documents.azure.com` format.
5151

5252
> [!IMPORTANT]
53-
> The `endpoint` parameter is needed for accounts that don't match the standard `*.documents.azure.com` format. For example, if your Azure Cosmos DB account ends with `.documents.azure.us`, make sure that you add `endpoint=<account name>.documents.azure.us` in the connection string.
53+
> The `endpoint` parameter is needed for accounts that don't match the standard `*.documents.azure.com` format. For example, if your Azure Cosmos DB account ends with `.documents.azure.us`, make sure that you add `endpoint=https://<account name>.documents.azure.us` in the connection string. Make sure that you include `https://` prefix.
5454
5555
These properties can be identified from the standard Cosmos DB connection string, for example:
5656
```
@@ -59,7 +59,7 @@ AccountEndpoint=https://<database account name>.documents.azure.com:443/;Account
5959

6060
The SQL connection string can be formatted as follows:
6161
```sql
62-
'account=<database account name>;database=<database name>;region=<region name>'
62+
account=<database account name>;database=<database name>;region=<region name>
6363
```
6464

6565
This connection string does not include the authentication information required to connect to Cosmos DB analytical storage. Additional information is needed depending on the type of authentication used:
@@ -88,8 +88,8 @@ The examples of connection strings are shown in the following table:
8888

8989
| Authentication type | Connection string |
9090
| --- | --- |
91+
| Synapse workspace managed identity | `account=<account name>;database=<db name>;region=<region name>;AuthType=ManagedIdentity` |
9192
| Cosmos DB account master key | `account=<account name>;database=<db name>;region=<region name>;key=<account master key>` |
92-
| Synapse workspace managed identity | `account=<account name>;database=<db name>;region=<region name>;authtype=ManagedIdentity` |
9393

9494
### [OPENROWSET with credential](#tab/openrowset-credential)
9595

@@ -107,7 +107,7 @@ OPENROWSET(
107107
The SQL connection string for Azure Cosmos DB doesn't contain a key in this case. The connection string has the following format:
108108

109109
```sql
110-
'account=<database account name>;database=<database name>;region=<region name>'
110+
account=<database account name>;database=<database name>;region=<region name>
111111
```
112112

113113
Database account master key is placed in server-level credential or database scoped credential.

0 commit comments

Comments
 (0)