Docs
Reference

Azure App Service app settings

App Service and Functions read these as environment variables. A write replaces the whole set, so a portal edit made at the same time is lost.

App Service and Functions read these as environment variables. A write replaces the whole set, so a portal edit made at the same time is lost.

The connection

WhatThis provider
VendorMicrosoft Azure
Keyazure-app-service-settings
Availabilityavailable. You can connect it today.
Credential penv holdsazure-service-principal
Values read backyes
Activationrestart-on-write

What it moves

DirectionWhat it does
importReads names and values out of the store into penv.
exportWrites names and values from penv into the store.

When a written value goes live

restart-on-write. Writing a value restarts the workload.

What happens to a name that exists

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

How you connect

You paste a credential you already hold. penv seals it and never shows it again.

FieldLabelKindRequiredWhat it is
tenantIdDirectory (tenant) IDsecret, masked here and sealedyes
clientIdApplication (client) IDsecret, masked here and sealedyes
clientSecretClient secretsecret, masked here and sealedyes

What the connection asks for

Fixed when you connect, and shared by every mapping on it.

FieldLabelKindRequiredAdvancedWhat it is
subscriptionIdSubscription IDtextyesnoThe subscription the service principal has a role assignment on.
resourceGroupResource grouptextyesnoThe group the target resource sits in. One connection covers one group.

What a mapping asks for

Answered once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
siteNameApptextyesnoThe app whose settings this environment maps onto. A function app is one of these too.
slotDeployment slottextnoyesLeave empty to write the production slot. A slot keeps its own settings.

Permissions it needs

penv probes for these when it verifies the connection.

PermissionDirectionsBlockingWithout it
Microsoft.Web/sites/config/list/actionevery directionyesPreview cannot read the app's settings.
Microsoft.Web/sites/config/writeexportyesExport cannot write anything.
Microsoft.Web/sites/Readevery directionnoVerify cannot confirm the credential reaches this resource group.