Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
As part of the configuration needed to host and run MyTasks in Azure, you need to create the following two App Services for the microservice in Azure:
An App Service for the MyTasks Front-End application
An App Service for the MyTasks API (back-end)
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
Log in to your Azure portal as a user with the necessary permissions to create an App Service.
In Azure, navigate to All Services > App Services and create a new App service.
Under Project Details, select a Subscription and then create a Resource Group for the App Service.
Under Instance Details, enter the following information:
Name— – Enter a name for the Web App, such as MyIdentity-UI-App.app service
Publish — – Select Code.
Runtime Stack — Select Node 12 – Select .NET Core 3.1 (LTS).
Operating System — – Select Windows. Linux
Region — – Select the appropriate region.
Click Review + Create.
Image AddedClick Create.
After the deployment of the App Service completes, click Go to resource.Change the platform for the App Service to 64 Bit by doing the following:
On the
App Service navbar, under Settings, click Configuration.On the Configuration blade, select the General settings tab.
Under Platform settings, change the Platform to 64 Bit and click Save.
Click Continue to confirm you want to save the changes.
Select Overview on the App Service navbar.
On the Overview page, copy and save the URL for the App Serviceapp service. You will need this when you create the service principal application for the App Service in Azure AD.
Create the App Service for MyTasks API application
In Azure, create a new App Service.
Under Project Details, select a Subscription and create a Resource Group for the App Service.
Under Instance Detailslater.
Configure authentication
Navigate to the Authentication blade for the app service and click Add identity provider.
Select Microsoft.
On the Add an identity provider page, do the following:
Name — Enter a name for the Web App, such as MyIdentity-API-App.
Publish — Select Code.
Runtime Stack — Select .Net Core 3.1 (LTS).
Operating System — Select Windows.
Region — Select the appropriate region.
Click Review + Create.
Click Create.
After the deployment of the App Service completes, click Go to resource.
Change the platform for the App Service to 64 Bit by doing the following:
On the App Service navbar, under Settings, click Configuration.
On the Configuration blade, select the General settings tab.
Under Platform settings, change the Platform to 64 Bit and click Save.
Click Continue confirm you want to save the changes.
Select Overview on the App Service navbar.
On the Overview page, copy and save the URL. You will need this when you create the service principal application for the App Service in Azure AD.
App registration type – Select Pick an existing app registration in this directory.
Name or app ID – Select the service principal you created to provide Azure AD authentication for the microservice.
Issuer URL – Replace the default value with
https://login.microsoftonline.com/<Your Tenant ID>
Authentication – Select Require authentication.
Unauthenticated requests – Select HTTP 401 Unauthorized: recommended for APIs.
Token Store – Leave selected.
Click Add.
Image Added
Create a managed identity for the app service
Navigate to the Identity blade for the app service.
Turn on System assigned to create the managed identity.
Save your changes.
Next steps
Provision a Cosmos DB Account for SharePoint Online
Div | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
IN THIS ARTICLE
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|