Quickstart: Create a service connection in App Service from the Azure portal

Get started with Service Connector by using the Azure portal to create a new service connection in Azure App Service.

Prerequisites

Sign in to Azure

Sign in to the Azure portal at https://portal.azure.com/ with your Azure account.

Create a new service connection in App Service

  1. To create a new service connection in App Service, select the Search resources, services and docs (G +/) search bar at the top of the Azure portal, type App Services, and select App Services.

    Screenshot of the Azure portal, selecting App Services.

  2. Select the Azure App Services resource you want to connect to a target resource.

  3. Select Service Connector from the left table of contents. Then select Create.

    Screenshot of the Azure portal, selecting Service Connector and creating new connection.

  4. Select or enter the following settings.

    Setting Example Description
    Service type Storage - Blob The target service type. If you don't have a Microsoft Blob Storage, you can create one or use another service type.
    Connection name my_connection The connection name that identifies the connection between your App Service and target service. Use the connection name provided by Service Connector or choose your own connection name.
    Subscription My subscription The subscription for your target service (the service you want to connect to). The default value is the subscription for this App Service resource.
    Storage account my_storage_account The target storage account you want to connect to. Target service instances to choose from vary according to the selected service type.
    Client type The same app stack on this App Service The default value comes from the App Service runtime stack. Select the app stack that's on this App Service instance.
  5. Select Next: Authentication to choose an authentication method.

    System-assigned managed identity is the recommended authentication option. Select System-assigned managed identity to connect through an identity that's generated in Microsoft Entra ID and tied to the lifecycle of the service instance.

  6. Select Next: Networking to configure the network access to your target service and select Configure firewall rules to enable access to your target service.

  7. Select Next: Review + Create to review the provided information. Then select Create to create the service connection. This operation might take a minute to complete.

Note

You need enough permissions to create a connection successfully, for more details, see Permission requirements.

View service connections in App Service

  1. Once the connection has successfully been created, the Service Connector page displays existing App Service connections.

  2. Select the > button to expand the list and see the environment variables required by your application code. Select Hidden value to view the hidden value.

    Screenshot of the Azure portal, viewing connection details.

  3. Select Validate to check your connection. Select Learn more to see the connection validation details in the panel on the right.

    Screenshot of the Azure portal, validating the connection.

Next steps

Follow the tutorials listed below to start building your own application with Service Connector.