Create an App Service for the Salesforce SCIM Microservice

As part of the deployment process for the Salesforce SCIM microservice, an app service needs to be created to host the microservice and configured for authentication.

Steps involved in this process include:

  1. Create the app service

  2. Configure the app service to require Azure AD authentication

  3. Turn on system managed identity for the app service

  4. Download the publish profile for the app service. You use this when publishing the Salesforce SCIM microservice to Azure.

Step 1 – Create the app service

  1. Log in to your Azure portal as a user with the necessary permissions to create an App Service.

  2. In Azure, navigate to All Services > App Services and create a new App service.

  3. Under Project Details, select a Subscription and then create a Resource Group for the App Service.

  4. Under Instance Details, enter the following information:

    • Name — Enter a name for the app service

    • Publish — Select Code

    • Runtime Stack — Select .NET Core 3.1 (LTS)

    • Operating System — Select Linux

    • Region — Select the appropriate region

  5. Click Review + Create.

  6. Click Create.

  7. After the deployment of the App Service completes, click Go to resource.

  8. On the Overview page, copy and save the URL for the app service. You will need this later.

Step 2 – Configure authentication

  1. Navigate to the Authentication (classic) blade for the app service.

  2. Turn on App Service Authentication.

  3. For Action to take when request is not authenticated, select Log in with Azure Active Directory.

  4. For Authentication Providers, select Azure Active Directory.

  5. Set the Management mode to Express and select the service principal you created to provide Azure AD authentication for the microservice.

     

  6. Save your changes.

Step 3 – Turn on system assigned managed identity

  1. Navigate to the Identity blade for the app service.

  2. Turn on System assigned to create the managed identity.

  3. Save your changes.

Step 4 – Download the publish settings

  1. Navigate to the Overview blade for the app service.

  2. Select Get publish profile from the menu and download the file to your machine. You need this when publishing the Salesforce SCIM microservice to Azure.

 


Next Steps

Publish the Salesforce SCIM Microservice to Azure

IN THIS ARTICLE