Skip to content

Commit 3973b26

Browse files
committed
add note
1 parent c6fe256 commit 3973b26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/search/search-security-enable-roles.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ When you enable roles for the data plane, the change is effective immediately, b
4040

4141
The default failure mode for unauthorized requests is `http401WithBearerChallenge`. Alternatively, you can set the failure mode to `http403`.
4242

43+
> [!NOTE]
44+
> When you request an OAuth 2.0 access token for Azure AI Search data-plane operations, specify the scope `https://search.azure.com/.default` to ensure your token has the correct permissions
45+
4346
### [**Azure portal**](#tab/config-svc-portal)
4447

4548
1. Sign in to the [Azure portal](https://portal.azure.com) and navigate to your search service.

0 commit comments

Comments
 (0)