Skip to content

Commit 4e66f87

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into patch-2
2 parents 78159a7 + 50ebf19 commit 4e66f87

File tree

2,171 files changed

+13615
-24405
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,171 files changed

+13615
-24405
lines changed

.openpublishing.redirection.json

Lines changed: 310 additions & 1 deletion
Large diffs are not rendered by default.

articles/active-directory-b2c/partner-bloksec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ BlokSec integration includes the following components:
3838
* **BlokSec Decentralized Identity Router** – gateway for services that apply BlokSec DIaaS to route authentication and authorization requests to user Personal Identity Provider (PIdP) applications
3939
* It's an OpenID Connect (OIDC) identity provider in Azure AD B2C
4040
* **BlokSec SDK-based mobile app** – user PIdP in the decentralized authentication scenario.
41-
* If you're not using the BlokSec SDK, go to Google Play for the free [BlokSec yuID](https://play.google.com/store/apps/details?id=com.bloksec)
41+
* If you're not using the BlokSec SDK, go to Google Play for the free [BlokSec yuID](https://play.google.com/store/apps/details/Google?id=com.google.android.googlequicksearchbox&hl=en-US)
4242

4343
The following architecture diagram illustrates the sign-up, sign-in flow in the BlokSec solution implementation.
4444

articles/api-center/synchronize-api-management-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ API Management APIs automatically synchronize to the API center whenever existin
2828

2929
> [!NOTE]
3030
> * There are [limits](../azure-resource-manager/management/azure-subscription-service-limits.md?toc=/azure/api-center/toc.json&bc=/azure/api-center/breadcrumb/toc.json#api-center-limits) for the number of linked API Management instances (API sources).
31-
> * API updates in API Management can take a few minutes to up to 24 hours to synchronize to your API center.
31+
> * API updates in API Management typically synchronize to your API center within minutes but synchronization can take up to 24 hours.
3232
3333
### Entities synchronized from API Management
3434

articles/api-management/api-management-gateways-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Managed and self-hosted gateways support all available [policies](api-management
126126
| [GraphQL resolvers](api-management-policies.md#graphql-resolvers) and [GraphQL validation](api-management-policies.md#content-validation)| ✔️ | ✔️ |✔️ |||
127127
| [Get authorization context](get-authorization-context-policy.md) | ✔️ | ✔️ |✔️ |||
128128
| [Authenticate with managed identity](authentication-managed-identity-policy.md) | ✔️ | ✔️ |✔️ | ✔️ ||
129-
| [Azure OpenAI and LLM semantic caching](api-management-policies.md#caching) | | ✔️ | |||
129+
| [Azure OpenAI and LLM semantic caching](api-management-policies.md#caching) | ✔️ | ✔️ |✔️ |||
130130
| [Quota and rate limit](api-management-policies.md#rate-limiting-and-quotas) | ✔️ | ✔️<sup>2</sup> | ✔️<sup>3</sup> | ✔️<sup>4</sup> | ✔️ |
131131

132132
<sup>1</sup> Configured policies that aren't supported by the self-hosted gateway are skipped during policy execution.<br/>

articles/api-management/api-management-policies.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ More information about policies:
2222
+ [Policy overview](api-management-howto-policies.md)
2323
+ [Set or edit policies](set-edit-policies.md)
2424
+ [Policy expressions](api-management-policy-expressions.md)
25+
+ [Policy snippets repo](https://github.com/Azure/api-management-policy-snippets)
26+
+ [Azure API Management policy toolkit](https://github.com/Azure/azure-api-management-policy-toolkit/)
2527
+ [Author policies using Microsoft Copilot in Azure](/azure/copilot/author-api-management-policies?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json)
2628

2729
> [!IMPORTANT]

articles/api-management/api-management-policy-expressions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,12 @@ The `context` variable is implicitly available in every policy [expression](api-
247247

248248
For more information working with policies, see:
249249

250-
+ [Policies in API Management](api-management-howto-policies.md)
251-
+ [Tutorial: Transform and protect APIs](transform-api.md)
252-
+ [Policy reference](./api-management-policies.md) for a full list of policy statements and their settings
253-
+ [Policy snippets repo](https://github.com/Azure/api-management-policy-snippets)
254-
+ [Author policies using Microsoft Copilot in Azure](/azure/copilot/author-api-management-policies?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json)
250+
* [Policies in API Management](api-management-howto-policies.md)
251+
* [Tutorial: Transform and protect APIs](transform-api.md)
252+
* [Policy reference](./api-management-policies.md) for a full list of policy statements and their settings
253+
* [Policy snippets repo](https://github.com/Azure/api-management-policy-snippets)
254+
* [Azure API Management policy toolkit](https://github.com/Azure/azure-api-management-policy-toolkit/)
255+
* [Author policies using Microsoft Copilot in Azure](/azure/copilot/author-api-management-policies?toc=%2Fazure%2Fapi-management%2Ftoc.json&bc=/azure/api-management/breadcrumb/toc.json)
255256

256257
For more information:
257258

articles/api-management/authentication-managed-identity-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Both system-assigned identity and any of the multiple user-assigned identities c
3131
| Attribute | Description | Required | Default |
3232
| ----------------- | ------------------------------------------------------ | -------- | ------- |
3333
|resource|String. The application ID of the target web API (secured resource) in Microsoft Entra ID. Policy expressions are allowed. |Yes|N/A|
34-
|client-id|String. The client ID of the user-assigned identity in Microsoft Entra ID. Policy expressions aren't allowed. |No|system-assigned identity|
34+
|client-id|String. The client ID of the user-assigned identity in Microsoft Entra ID. Policy expressions aren't allowed. |No|N/A. System-assigned identity is used if attribute is not present.|
3535
|output-token-variable-name|String. Name of the context variable that will receive token value as an object of type `string`. Policy expressions aren't allowed. |No|N/A|
3636
|ignore-error|Boolean. If set to `true`, the policy pipeline continues to execute even if an access token isn't obtained.|No|`false`|
3737

articles/api-management/azure-openai-emit-token-metric-policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: azure-api-management
88
ms.topic: article
9-
ms.date: 07/09/2024
9+
ms.date: 09/26/2024
1010
ms.author: danlep
1111
ms.collection: ce-skilling-ai-copilot
1212
ms.custom:

articles/api-management/azure-openai-enable-semantic-caching.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: azure-api-management
66
ms.custom:
77
- build-2024
88
ms.topic: how-to
9-
ms.date: 07/23/2024
9+
ms.date: 12/13/2024
1010
ms.author: danlep
1111
ms.collection: ce-skilling-ai-copilot
1212
---
@@ -61,6 +61,10 @@ Configure a [backend](backends.md) resource for the embeddings API deployment wi
6161
```
6262
https://my-aoai.openai.azure.com/openai/deployments/embeddings-deployment/embeddings
6363
```
64+
* **Authorization credentials** - Go to **Managed Identity** tab.
65+
* **Client indentity** - Select *System assigned identity* or type in a User assigned managed identity client ID.
66+
* **Resource ID** - Enter `https://cognitiveservices.azure.com/` for Azure OpenAI Service.
67+
6468
### Test backend
6569

6670
To test the backend, create an API operation for your Azure OpenAI Service API:
@@ -123,7 +127,6 @@ Configure the following policies to enable semantic caching for Azure OpenAI API
123127
<azure-openai-semantic-cache-lookup
124128
score-threshold="0.8"
125129
embeddings-backend-id="embeddings-deployment"
126-
embeddings-backend-auth="system-assigned"
127130
ignore-system-messages="true"
128131
max-message-count="10">
129132
<vary-by>@(context.Subscription.Id)</vary-by>

articles/api-management/azure-openai-semantic-cache-lookup-policy.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.collection: ce-skilling-ai-copilot
99
ms.custom:
1010
- build-2024
1111
ms.topic: article
12-
ms.date: 06/25/2024
12+
ms.date: 12/13/2024
1313
ms.author: danlep
1414
---
1515

@@ -34,7 +34,6 @@ Use the `azure-openai-semantic-cache-lookup` policy to perform cache lookup of r
3434
<azure-openai-semantic-cache-lookup
3535
score-threshold="similarity score threshold"
3636
embeddings-backend-id ="backend entity ID for embeddings API"
37-
embeddings-backend-auth ="system-assigned"
3837
ignore-system-messages="true | false"
3938
max-message-count="count" >
4039
<vary-by>"expression to partition caching"</vary-by>
@@ -47,7 +46,6 @@ Use the `azure-openai-semantic-cache-lookup` policy to perform cache lookup of r
4746
| ----------------- | ------------------------------------------------------ | -------- | ------- |
4847
| score-threshold | Similarity score threshold used to determine whether to return a cached response to a prompt. Value is a decimal between 0.0 and 1.0. [Learn more](../azure-cache-for-redis/cache-tutorial-semantic-cache.md#change-the-similarity-threshold). | Yes | N/A |
4948
| embeddings-backend-id | [Backend](backends.md) ID for OpenAI embeddings API call. | Yes | N/A |
50-
| embeddings-backend-auth | Authentication used for Azure OpenAI embeddings API backend. | Yes. Must be set to `system-assigned`. | N/A |
5149
| ignore-system-messages | Boolean. If set to `true`, removes system messages from a GPT chat completion prompt before assessing cache similarity. | No | false |
5250
| max-message-count | If specified, number of remaining dialog messages after which caching is skipped. | No | N/A |
5351
@@ -62,7 +60,7 @@ Use the `azure-openai-semantic-cache-lookup` policy to perform cache lookup of r
6260

6361
- [**Policy sections:**](./api-management-howto-policies.md#sections) inbound
6462
- [**Policy scopes:**](./api-management-howto-policies.md#scopes) global, product, API, operation
65-
- [**Gateways:**](api-management-gateways-overview.md) v2
63+
- [**Gateways:**](api-management-gateways-overview.md) classic, v2, consumption
6664

6765
### Usage notes
6866

0 commit comments

Comments
 (0)