You are viewing an earlier version of the admin guide. For the latest version, please visit EmpowerID Admin Guide v7.211.0.0.

Create an App Service for the SharePoint Online Microservice

As part of the deployment process for the SharePoint Online microservice, an app service needs to be created to host the microservice and configured for authentication to access the key vault as needed.

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.

Configure authentication

  1. Navigate to the Authentication blade for the app service and click Add identity provider.

  2. Select Microsoft.

  3. On the Add an identity provider page, do the following:

    1. App registration type – Select Pick an existing app registration in this directory.

    2. Name or app ID – Select the service principal you created to provide Azure AD authentication for the microservice.

    3. Issuer URL – Replace the default value with https://login.microsoftonline.com/<Your Tenant ID>

    4. Authentication – Select Require authentication.

    5. Unauthenticated requests – Select HTTP 401 Unauthorized: recommended for APIs.

    6. Token Store – Leave selected.

    7. Click Add.

Create a managed identity for the app service

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

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

  3. Save your changes.


Next steps

Create a key vault

Provision a Cosmos DB Account for SharePoint Online

Add application settings to the app service

Publish the SharePoint Online Microservice

Â