Skip to content

Commit f6cec69

Browse files
author
Arvind Krishnaa Jagannathan
committed
clarifications
1 parent f29c7b8 commit f6cec69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/search/search-howto-managed-identities-cosmos-db.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ When you're connecting with a system-assigned managed identity, the only change
101101

102102
* For SQL collections, the connection string doesn't require "ApiKind".
103103
* For SQL collections, add "IdentityAuthType=AccessToken" to go through the _recommended_ approach, that is more secure and will work even if the account is configured to enforce role-based access as the only authentication method (that is, `"disableLocalAuth": true`)
104-
* When using the REST API or the SDK, if this property isn't specified on the connection string, Azure AI Search defaults to using the _legacy_ approach. Azure portal appends this property to the connection string as the default.
104+
* When using the Azure portal, `IdentityAuthType=AccessToken` gets appended automatically to connection string when identity based authentication is selected.
105+
* When using the REST API or the SDK, if this property isn't specified on the connection string, Azure AI Search defaults to using the _legacy_ approach.
105106
* For MongoDB collections, add "ApiKind=MongoDb" to the connection string and use a preview REST API.
106107
* For Gremlin graphs, add "ApiKind=Gremlin" to the connection string and use a preview REST API.
107108

@@ -140,7 +141,7 @@ POST https://[service name].search.windows.net/datasources?api-version=2024-07-0
140141
```
141142

142143
>[!NOTE]
143-
> If the `IdentityAuthType` property is not specified at all, then Azure AI Search defaults to the _legacy_ approach to ensure backward compatibility.
144+
> If the `IdentityAuthType` property is not part of the connection string, then Azure AI Search defaults to the _legacy_ approach to ensure backward compatibility.
144145
145146
### User-assigned managed identity
146147

0 commit comments

Comments
 (0)