Skip to content

Commit 305b79b

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/azure-docs-pr (branch live)
2 parents 07ce357 + 4a8b121 commit 305b79b

15 files changed

+205
-98
lines changed

articles/ai-services/openai/how-to/function-calling.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,11 @@ if response_message.get("function_call"):
134134
messages.append( # adding assistant response to messages
135135
{
136136
"role": response_message["role"],
137-
"name": response_message["function_call"]["name"],
138-
"content": response_message["function_call"]["arguments"],
137+
"function_call": {
138+
"name": response_message["function_call"]["name"],
139+
"arguments": response_message["function_call"]["arguments"],
140+
},
141+
"content": None
139142
}
140143
)
141144
messages.append( # adding function response to messages

articles/azure-functions/migrate-dotnet-to-isolated-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ To upgrade the application, you will:
6868
The section outlines the various changes that you need to make to your local project to move it to the isolated worker model. Some of the steps change based on your target version of .NET. Use the tabs to select the instructions which match your desired version. These steps assume a local C# project, and if your app is instead using C# script (`.csx` files), you should [convert to the project model](./functions-reference-csharp.md#convert-a-c-script-app-to-a-c-project) before continuing.
6969

7070
> [!TIP]
71-
> The [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
71+
> If you are moving to an LTS or STS version of .NET, the [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
7272
7373
### .csproj file
7474

articles/azure-functions/migrate-version-1-version-4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ On version 1.x of the Functions runtime, your C# function app targets .NET Frame
7979
> [!TIP]
8080
> **Unless your app depends on a library or API only available to .NET Framework, we recommend upgrading to .NET 6 on the isolated worker model.** Many apps on version 1.x target .NET Framework only because that is what was available when they were created. Additional capabilities are available to more recent versions of .NET, and if your app is not forced to stay on .NET Framework due to a dependency, you should upgrade.
8181
>
82-
> Migrating to the isolated worker model will require additional code changes as part of this migration, but it will give your app [additional benefits](./dotnet-isolated-in-process-differences.md), including the ability to more easily target future versions of .NET. The [.NET Upgrade Assistant] can also handle many of the necessary code changes for you.
82+
> Migrating to the isolated worker model will require additional code changes as part of this migration, but it will give your app [additional benefits](./dotnet-isolated-in-process-differences.md), including the ability to more easily target future versions of .NET. If you are moving to an LTS or STS version of .NET using the isolated worker model, the [.NET Upgrade Assistant] can also handle many of the necessary code changes for you.
8383
8484
::: zone-end
8585

@@ -120,7 +120,7 @@ Migrating a C# function app from version 1.x to version 4.x of the Functions run
120120
Choose the tab that matches your target version of .NET and the desired process model (in-process or isolated worker process).
121121

122122
> [!TIP]
123-
> The [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
123+
> If you are moving to an LTS or STS version of .NET using the isolated worker model, the [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
124124
125125
### .csproj file
126126

articles/azure-functions/migrate-version-3-version-4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ On version 3.x of the Functions runtime, your C# function app targets .NET Core
4040
> [!TIP]
4141
> **If you're migrating from .NET 5 (on the isolated worker model), we recommend upgrading to .NET 6 on the isolated worker model.** This provides a quick upgrade path with the longest support window from .NET.
4242
>
43-
> **If you're migrating from .NET Core 3.1 (on the in-process model), we recommend upgrading to .NET 6 on the in-process model.** This provides a quick upgrade path. However, you might also consider upgrading to .NET 6 on the isolated worker model. Switching to the isolated worker model will require additional code changes as part of this migration, but it will give your app [additional benefits](./dotnet-isolated-in-process-differences.md), including the ability to more easily target future versions of .NET. The [.NET Upgrade Assistant] can also handle many of the necessary code changes for you.
43+
> **If you're migrating from .NET Core 3.1 (on the in-process model), we recommend upgrading to .NET 6 on the in-process model.** This provides a quick upgrade path. However, you might also consider upgrading to .NET 6 on the isolated worker model. Switching to the isolated worker model will require additional code changes as part of this migration, but it will give your app [additional benefits](./dotnet-isolated-in-process-differences.md), including the ability to more easily target future versions of .NET. If you are moving to an LTS or STS version of .NET using the isolated worker model, the [.NET Upgrade Assistant] can also handle many of the necessary code changes for you.
4444
4545
::: zone-end
4646

@@ -72,7 +72,7 @@ Upgrading instructions are language dependent. If you don't see your language, c
7272
Choose the tab that matches your target version of .NET and the desired process model (in-process or isolated worker process).
7373

7474
> [!TIP]
75-
> The [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
75+
> If you are moving to an LTS or STS version of .NET using the isolated worker model, the [.NET Upgrade Assistant] can be used to automatically make many of the changes mentioned in the following sections.
7676
7777
### .csproj file
7878

articles/azure-monitor/app/availability-azure-functions.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ This article explains how to review [TrackAvailability()](/dotnet/api/microsoft.
1313

1414
> [!div class="checklist"]
1515
> - [Workspace-based Application Insights resource](create-workspace-resource.md)
16-
> - Access to the source code of a [function app](../../azure-functions/functions-how-to-use-azure-function-app-settings.md) in Azure Functions.
17-
> - Developer expertise capable of authoring custom code for [TrackAvailability()](/dotnet/api/microsoft.applicationinsights.telemetryclient.trackavailability), tailored to your specific business needs
16+
> - Access to the source code of a [function app](../../azure-functions/functions-how-to-use-azure-function-app-settings.md) in Azure Functions
17+
> - Developer expertise capable of authoring [custom code](#basic-code-sample) for [TrackAvailability()](/dotnet/api/microsoft.applicationinsights.telemetryclient.trackavailability), tailored to your specific business needs
1818
1919
> [!NOTE]
20-
> - TrackAvailability() requires that you have made a developer investment in custom code.
21-
> - [Standard tests](availability-standard-tests.md) should always be used if possible as they require little investment and have few prerequisites.
20+
> - [TrackAvailability()](/dotnet/api/microsoft.applicationinsights.telemetryclient.trackavailability) requires that you make a developer investment in custom code.
21+
> - [Standard tests](availability-standard-tests.md) **should always be used if possible** as they require little investment, no maintenance, and have few prerequisites.
2222
2323
## Check availability
2424

@@ -43,6 +43,25 @@ You can use Log Analytics to view your availability results, dependencies, and m
4343

4444
:::image type="content" source="media/availability-azure-functions/dependencies.png" alt-text="Screenshot that shows the New Query tab with dependencies limited to 50." lightbox="media/availability-azure-functions/dependencies.png":::
4545

46+
## Basic code sample
47+
48+
The following example demonstrates a web availability test that requires a simple URL ping using the `getStringAsync()` method.
49+
50+
```csharp
51+
using System.Net.Http;
52+
53+
public async static Task RunAvailabilityTestAsync(ILogger log)
54+
{
55+
using (var httpClient = new HttpClient())
56+
{
57+
// TODO: Replace with your business logic
58+
await httpClient.GetStringAsync("https://www.bing.com/");
59+
}
60+
}
61+
```
62+
63+
For advanced scenarios where the business logic must be adjusted to access the URL, such as obtaining tokens, setting parameters, and other test cases, custom code is necessary.
64+
4665
## Next steps
4766

4867
* [Standard tests](availability-standard-tests.md)

articles/key-vault/general/best-practices.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ Encryption keys and secrets like certificates, connection strings, and passwords
3030

3131
Recommendations for controlling access to your vault are as follows:
3232
- Lock down access to your subscription, resource group, and key vaults using role-based access control (RBAC).
33-
- Assign RBAC roles at Key Vault scope for applications, services, and workloads requiring persistent access to Key Vault
34-
- Assign just-in-time eligible RBAC roles for operators, administrators and other user accounts requiring privileged access to Key Vault using [Privileged Identity Management (PIM)](../../active-directory/privileged-identity-management/pim-configure.md)
35-
- Require at least one approver
36-
- Enforce multi-factor authentication
33+
- Assign RBAC roles at Key Vault scope for applications, services, and workloads requiring persistent access to Key Vault
34+
- Assign just-in-time eligible RBAC roles for operators, administrators and other user accounts requiring privileged access to Key Vault using [Privileged Identity Management (PIM)](../../active-directory/privileged-identity-management/pim-configure.md)
35+
- Require at least one approver
36+
- Enforce multi-factor authentication
3737
- Restrict network access with [Private Link](private-link-service.md), [firewall and virtual networks](network-security.md)
3838

3939
## Turn on data protection for your vault

articles/logic-apps/logic-apps-using-sap-connector.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@ Along with simple string and number inputs, the SAP connector accepts the follow
127127
1. In the action named **\[BAPI] Call method in SAP**, disable the auto-commit feature.
128128
1. Call the action named **\[BAPI] Commit transaction** instead.
129129

130-
### SAP built-in connector
131-
132-
The SAP built-in connector trigger named **Register SAP RFC server for trigger** is available in the Azure portal, but the trigger currently can't receive calls from SAP when deployed in Azure. To fire the trigger, you can run the workflow locally in Visual Studio Code. For Visual Studio Code setup requirements and more information, see [Create a Standard logic app workflow in single-tenant Azure Logic Apps using Visual Studio Code](create-single-tenant-workflows-visual-studio-code.md). You must also set up the following environment variables on the computer where you install Visual Studio Code:
133-
134-
- **WEBSITE_PRIVATE_IP**: Set this environment variable value to **127.0.0.1** as the localhost address.
135-
- **WEBSITE_PRIVATE_PORTS**: Set this environment variable value to two free and usable ports on your local computer, separating the values with a comma (**,**), for example, **8080,8088**.
136-
137130
## Prerequisites
138131

139132
* An Azure account and subscription. If you don't have an Azure subscription yet, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
@@ -206,6 +199,11 @@ The SAP built-in connector trigger named **Register SAP RFC server for trigger**
206199
> In Standard workflows, the SAP built-in trigger named **Register SAP RFC server for trigger** uses the Azure
207200
> Functions trigger instead, and shows only the actual callbacks from SAP.
208201
202+
* For the SAP built-in connector trigger named **Register SAP RFC server for trigger**, you have to enable virtual network integration and private ports by following the article at [Enabling Service Bus and SAP built-in connectors for stateful Logic Apps in Standard](https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/enabling-service-bus-and-sap-built-in-connectors-for-stateful/ba-p/3820381). You can also run the workflow in Visual Studio Code to fire the trigger locally. For Visual Studio Code setup requirements and more information, see [Create a Standard logic app workflow in single-tenant Azure Logic Apps using Visual Studio Code](create-single-tenant-workflows-visual-studio-code.md). You must also set up the following environment variables on the computer where you install Visual Studio Code:
203+
204+
- **WEBSITE_PRIVATE_IP**: Set this environment variable value to **127.0.0.1** as the localhost address.
205+
- **WEBSITE_PRIVATE_PORTS**: Set this environment variable value to two free and usable ports on your local computer, separating the values with a comma (**,**), for example, **8080,8088**.
206+
209207
* The message content to send to your SAP server, such as a sample IDoc file. This content must be in XML format and include the namespace of the [SAP action](/connectors/sap/#actions) that you want to use. You can [send IDocs with a flat file schema by wrapping them in an XML envelope](sap-create-example-scenario-workflows.md#send-flat-file-idocs).
210208

211209
<a name="network-prerequisites"></a>
@@ -536,7 +534,7 @@ For a Consumption workflow in multi-tenant Azure Logic Apps, the SAP managed con
536534
537535
<a name="single-tenant-prerequisites"></a>
538536
539-
For a Standard workflow in single-tenant Azure Logic Apps, use the SAP *built-in* connector to directly access resources that are protected by an Azure virtual network. You can also use other built-in connectors that let workflows directly access on-premises resources without having to use the on-premises data gateway.
537+
For a Standard workflow in single-tenant Azure Logic Apps, use the SAP *built-in* connector to directly access resources that are protected by an Azure virtual network. You can also use other built-in connectors that let workflows directly access on-premises resources without having to use the on-premises data gateway. For additional requirements regarding the SAP built-in connector trigger named **Register SAP RFC server for trigger**, see [Prerequisites](#prerequisites).
540538
541539
1. To use the SAP connector, you need to download the following files and have them read to upload to your Standard logic app resource. For more information, see [SAP NCo client library prerequisites](#sap-client-library-prerequisites):
542540
@@ -590,13 +588,6 @@ For a Standard workflow in single-tenant Azure Logic Apps, use the SAP *built-in
590588
591589
1. In the **net472** folder, upload the assembly files larger than 4 MB.
592590
593-
#### SAP trigger requirements
594-
595-
The SAP built-in connector trigger named **Register SAP RFC server for trigger** is available in the Azure portal, but the trigger currently can't receive calls from SAP when deployed in Azure. To fire the trigger, you can run the workflow locally in Visual Studio Code. For Visual Studio Code setup requirements and more information, see [Create a Standard logic app workflow in single-tenant Azure Logic Apps using Visual Studio Code](create-single-tenant-workflows-visual-studio-code.md). You must also set up the following environment variables on the computer where you install Visual Studio Code:
596-
597-
- **WEBSITE_PRIVATE_IP**: Set this environment variable value to **127.0.0.1** as the localhost address.
598-
- **WEBSITE_PRIVATE_PORTS**: Set this environment variable value to two free and usable ports on your local computer, separating the values with a comma (**,**), for example, **8080,8088**.
599-
600591
### [ISE](#tab/ise)
601592
602593
<a name="ise-prerequisites"></a>

articles/role-based-access-control/built-in-roles.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The following table provides a brief description of each built-in role. Click th
2929
> | [Contributor](#contributor) | Grants full access to manage all resources, but does not allow you to assign roles in Azure RBAC, manage assignments in Azure Blueprints, or share image galleries. | b24988ac-6180-42a0-ab88-20f7382dd24c |
3030
> | [Owner](#owner) | Grants full access to manage all resources, including the ability to assign roles in Azure RBAC. | 8e3af657-a8ff-443c-a75c-2fe8c4bcb635 |
3131
> | [Reader](#reader) | View all resources, but does not allow you to make any changes. | acdd72a7-3385-48ef-bd42-f606fba81ae7 |
32+
> | [Role Based Access Control Administrator (Preview)](#role-based-access-control-administrator-preview) | Manage access to Azure resources by assigning roles using Azure RBAC. This role does not allow you to manage access using other ways, such as Azure Policy. | f58310d9-a9f6-439a-9e8d-f62e7b41a168 |
3233
> | [User Access Administrator](#user-access-administrator) | Lets you manage user access to Azure resources. | 18d7d88d-d35e-4fb5-a5c3-7773c20a72d9 |
3334
> | **Compute** | | |
3435
> | [Classic Virtual Machine Contributor](#classic-virtual-machine-contributor) | Lets you manage classic virtual machines, but not access to them, and not the virtual network or storage account they're connected to. | d73bb868-a0df-4d4d-bd69-98a00b01fccb |
@@ -461,6 +462,50 @@ View all resources, but does not allow you to make any changes. [Learn more](rba
461462
"type": "Microsoft.Authorization/roleDefinitions"
462463
}
463464
```
465+
### Role Based Access Control Administrator (Preview)
466+
467+
Manage access to Azure resources by assigning roles using Azure RBAC. This role does not allow you to manage access using other ways, such as Azure Policy.
468+
469+
> [!div class="mx-tableFixed"]
470+
> | Actions | Description |
471+
> | --- | --- |
472+
> | [Microsoft.Authorization](resource-provider-operations.md#microsoftauthorization)/roleAssignments/write | Create a role assignment at the specified scope. |
473+
> | [Microsoft.Authorization](resource-provider-operations.md#microsoftauthorization)/roleAssignments/delete | Delete a role assignment at the specified scope. |
474+
> | */read | Read resources of all types, except secrets. |
475+
> | [Microsoft.Support](resource-provider-operations.md#microsoftsupport)/* | Create and update a support ticket |
476+
> | **NotActions** | |
477+
> | *none* | |
478+
> | **DataActions** | |
479+
> | *none* | |
480+
> | **NotDataActions** | |
481+
> | *none* | |
482+
483+
```json
484+
{
485+
"assignableScopes": [
486+
"/"
487+
],
488+
"description": "Manage access to Azure resources by assigning roles using Azure RBAC. This role does not allow you to manage access using other ways, such as Azure Policy.",
489+
"id": "/providers/Microsoft.Authorization/roleDefinitions/f58310d9-a9f6-439a-9e8d-f62e7b41a168",
490+
"name": "f58310d9-a9f6-439a-9e8d-f62e7b41a168",
491+
"permissions": [
492+
{
493+
"actions": [
494+
"Microsoft.Authorization/roleAssignments/write",
495+
"Microsoft.Authorization/roleAssignments/delete",
496+
"*/read",
497+
"Microsoft.Support/*"
498+
],
499+
"notActions": [],
500+
"dataActions": [],
501+
"notDataActions": []
502+
}
503+
],
504+
"roleName": "Role Based Access Control Administrator (Preview)",
505+
"roleType": "BuiltInRole",
506+
"type": "Microsoft.Authorization/roleDefinitions"
507+
}
508+
```
464509

465510
### User Access Administrator
466511

articles/spring-apps/quickstart-configure-single-sign-on-enterprise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ To complete the single sign-on experience, use the following steps to deploy the
182182
--name identity-routes \
183183
--service <Azure-Spring-Apps-service-instance-name> \
184184
--app-name identity-service \
185-
--routes-file azure/routes/identity-service.json
185+
--routes-file azure-spring-apps-enterprise/resources/json/routes/identity-service.json
186186
```
187187

188188
## Configure single sign-on for Spring Cloud Gateway

0 commit comments

Comments
 (0)