Skip to content

Commit 68a2fe8

Browse files
committed
in-process checkin for merge
1 parent bf93e45 commit 68a2fe8

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

articles/azure-functions/functions-best-practices.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ You can use the following ARM template examples to help correctly configure thes
6464
+ [Premium plan with VNET integration](https://azure.microsoft.com/resources/templates/function-premium-vnet-integration/)
6565
+ [Consumption plan with a deployment slot](https://azure.microsoft.com/resources/templates/function-app-create-dynamic-slot/)
6666

67+
> [!IMPORTANT]
68+
> The Azure Files service doesn't currently support identity-based connections. For more information, see [Create an app without Azure Files](storage-considerations.md#create-an-app-without-azure-files).
69+
6770
### Storage account configuration
6871

6972
When creating a function app, you must create or link to a general-purpose Azure Storage account that supports Blob, Queue, and Table storage. Functions relies on Azure Storage for operations such as managing triggers and logging function executions. The storage account connection string for your function app is found in the `AzureWebJobsStorage` and `WEBSITE_CONTENTAZUREFILECONNECTIONSTRING` application settings.

articles/azure-functions/functions-create-vnet.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ Create the queue where your Azure Functions Service Bus trigger gets events:
190190

191191
1. Select **Create**.
192192

193+
> [!IMPORTANT]
194+
> This tutorial currently shows you how to connect to Service Bus using a connection string, which requires you to handle a share secret. For improved security, you should instead use managed identities when connecting to Service Bus from your app. For more information, see [Identity-based connections](functions-bindings-service-bus-trigger.md?tabs=extensionv5#identity-based-connections) in the Service Bus binding reference article.
195+
193196
## Get a Service Bus connection string
194197

195198
1. In your Service Bus, in the menu on the left, select **Shared access policies**.

articles/azure-functions/functions-infrastructure-as-code.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,6 +1959,8 @@ Keep these considerations in mind when working with site and application setting
19591959
+ You should always define your application settings as a `siteConfig/appSettings` collection of the `Microsoft.Web/sites` resource being created, as is done in the examples in this article. This definition guarantees the settings your function app needs to run are available on initial startup.
19601960

19611961
+ When adding or updating application settings using templates, make sure that you include all existing settings with the update. You must do this because the underlying update REST API calls replace the entire `/config/appsettings` resource. If you remove the existing settings, your function app won't run. To programmatically update individual application settings, you can instead use the Azure CLI, Azure PowerShell, or the Azure portal to make these changes. For more information, see [Work with application settings](functions-how-to-use-azure-function-app-settings.md#settings).
1962+
1963+
+ When possible, you should use managed identity-based connections to other Azure services, including the `AzureWebJobsStorage` connection. For more information, see [Configure an identity-based connection](functions-reference.md#configure-an-identity-based-connection).
19621964
::: zone pivot="consumption-plan,premium-plan,dedicated-plan"
19631965
## Slot deployments
19641966

articles/azure-functions/functions-scenarios.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ For example, using the event hubs trigger to read from an event hub and the outp
9595
public static async Task Run(
9696
[EventHubTrigger(
9797
"%Input_EH_Name%",
98-
Connection = "InputEventHubConnectionString",
98+
Connection = "InputEventHubConnectionSetting",
9999
ConsumerGroup = "%Input_EH_ConsumerGroup%")] EventData[] inputMessages,
100100
[EventHub(
101101
"%Output_EH_Name%",
102-
Connection = "OutputEventHubConnectionString")] IAsyncCollector<SensorDataRecord> outputMessages,
102+
Connection = "OutputEventHubConnectionSetting")] IAsyncCollector<SensorDataRecord> outputMessages,
103103
PartitionContext partitionContext,
104104
ILogger log)
105105
{

0 commit comments

Comments
 (0)