You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-configure-control-plane.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,11 +89,11 @@ The table below contains the networking parameters.
89
89
> |||||
90
90
> |`management_bastion_subnet_arm_id`| The Azure resource identifier for the Bastion subnet | Mandatory | For brown field deployments. |
91
91
> |`management_bastion_subnet_address_prefix`| The address range for the subnet | Mandatory | For green field deployments. |
92
-
> |`cmdb_subnet_arm_id`| The Azure resource identifier for the Cosmos DB subnet | Mandatory | For brown field deployments using the web app |
93
-
> |`cmdb_subnet_address_prefix`| The address range for the subnet | Mandatory | For green field deployments using the web app |
92
+
> |`webapp_subnet_arm_id`| The Azure resource identifier for the web app subnet | Mandatory | For brown field deployments using the web app |
93
+
> |`webapp_subnet_address_prefix`| The address range for the subnet | Mandatory | For green field deployments using the web app |
94
94
95
95
> [!NOTE]
96
-
> When using an existing subnet for the cosmos db and web app, the subnet must be empty, in the same region as the resource group being deployed, and delegated to Microsoft.Web/serverFarms
96
+
> When using an existing subnet for the web app, the subnet must be empty, in the same region as the resource group being deployed, and delegated to Microsoft.Web/serverFarms
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-configure-devops.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ The pipelines use a custom task to perform cleanup activities post deployment. T
250
250
251
251
:::image type="content" source="./media/automation-devops/automation-select-personal-access-tokens.jpg" alt-text="Diagram showing the creation of the Personal Access Token (PAT).":::
252
252
253
-
1. Create a personal access token. Ensure that _Read & manage_ is selected for _Agent Pools_, _Read & write_ is selected for _Code_, and _Read, create, & manage_ is selected for _Variable Groups_. Write down the created token value.
253
+
1. Create a personal access token. Ensure that _Read & manage_ is selected for _Agent Pools_, _Read & write_ is selected for _Code_, _Read & execute_ is selected for _Build_, and _Read, create, & manage_ is selected for _Variable Groups_. Write down the created token value.
254
254
255
255
:::image type="content" source="./media/automation-devops/automation-new-pat.png" alt-text="Diagram showing the attributes of the Personal Access Token (PAT).":::
256
256
@@ -429,7 +429,9 @@ az ad app update --id $TF_VAR_app_registration_app_id --web-home-page-url https:
429
429
---
430
430
After updating the reply-urls, run the pipeline.
431
431
432
-
By default there will be no inbound public internet access to the web app apart from the deployer virtual network. To allow additional access to the web app, navigate to the Azure portal. In the deployer resource group, find the web app. Then under settings on the left hand side, click on networking. From here, click Access restriction. Add any allow or deny rules you would like. For more information on configuring access restrictions, see [Set up Azure App Service access restrictions](https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions).
432
+
By default there will be no inbound public internet access to the web app apart from the deployer virtual network. To allow additional access to the web app, navigate to the Azure portal. In the deployer resource group, navigate to the app service resource. Then under settings on the left hand side, click on networking. From here, click Access restriction. Add any allow or deny rules you would like. For more information on configuring access restrictions, see [Set up Azure App Service access restrictions](https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions).
433
+
434
+
You will also need to grant reader permissions to the app service system-assigned managed identity. Navgiate to the app service resource. On the left hand side, click "Identity". In the "system assigned" tab, click on "Azure role assignments" > "Add role assignment". Select "subscription" as the scope, and "reader" as the role. Then click save. Without this step, the web app dropdown functionality will not work.
433
435
434
436
You should now be able to visit the web app, and use it to deploy SAP workload zones and SAP system infrastructure.
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-configure-webapp.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,8 +69,9 @@ For full instructions on setting up the web app using Azure Devops, see [Use SAP
69
69
70
70
### Summary of steps required to access the web app after deploying the control plane:
71
71
1. Update the app registration reply URLs.
72
-
2. Run the webb app deployment pipeline you set up in step 1 above.
73
-
3. (Optionally) add an additional access policy to the app service.
72
+
2. Assign the reader role with the subscription scope to the app service system assigned managed identity.
73
+
3. Run the web app deployment pipeline.
74
+
4. (Optionally) add an additional access policy to the app service.
74
75
75
76
## Deploy via Azure CLI (cloudshell)
76
77
@@ -81,42 +82,43 @@ For full instructions on setting up the web app using the Azure CLI, see [Deploy
81
82
82
83
### Summary of steps required to access the web app after deploying the control plane:
83
84
1. Update the app registration reply URLs.
84
-
2. Generate a zip file of the web app code.
85
-
3. Deploy the software to the app service.
86
-
4. Configure the application settings.
87
-
5. (Optionally) add an additional access policy to the app service.
85
+
2. Assign the reader role with the subscription scope to the app service system assigned managed identity.
86
+
3. Generate a zip file of the web app code.
87
+
4. Deploy the software to the app service.
88
+
5. Configure the application settings.
89
+
6. (Optionally) add an additional access policy to the app service.
88
90
89
91
90
92
## Using the web app
91
93
92
-
The web app allows you to create SAP workload zone (landscape) objects and system infrastructure objects. These are essentially another representation of a configuration file.
94
+
The web app allows you to create SAP workload zone objects and system infrastructure objects. These are essentially another representation of a configuration file.
93
95
In the case of deploying using Azure Devops, you have ability to deploy these workload zones and system infrastructures right from the web app.
94
96
In the case of deploying using the Azure CLI, you can download the parameter file for any landscape or system object you create, and use that in your command line deployments.
95
97
96
98
### Creating a landscape or system object from scratch
97
-
1. Navigate to the "Landscape" or "System" tab at the top of the website.
99
+
1. Navigate to the "Workload zones" or "Systems" tab at the top of the website.
98
100
2. Click "Create New" in the bottom left corner.
99
101
3. Fill out the required parameters in the "Basic" and "Advanced" tabs, and any additional parameters you desire.
100
102
4. Certain parameters will be dropdowns populated with existing azure resources.
101
-
* If no results are shown for a dropdown, you probably need to specify another dropdown before you can see any options.
103
+
* If no results are shown for a dropdown, you probably need to specify another dropdown before you can see any options. Or, see step 2 above regarding the system assigned managed identity.
102
104
- The subscription parameter must be specified before any other dropdown functionality is enabled
103
105
- The network_arm_id parameter must be specified before any subnet dropdown functionality is enabled
104
106
5. Click submit in the bottom left hand corner
105
107
106
-
### Creating a landscape or system object from a file
108
+
### Creating a workload zone or system object from a file
107
109
1. Navigate to the "File" tab at the top of the website.
108
110
2. Your options are
109
111
* Create a new file from scratch there in browser. It should be in the .tfvars file format. Click save.
110
112
* Import an existing .tfvars file, and (optionally) edit it before saving.
111
113
* Use an existing template, and (optionally) edit it before saving.
112
114
3. Make sure your file conforms to the correct naming conventions.
113
-
4. Next to the file you would like to convert to a landscape or system object, click "Convert".
114
-
5. The landscape or system object will appear in its respective tab.
115
+
4. Next to the file you would like to convert to a workload zone or system object, click "Convert".
116
+
5. The workload zone or system object will appear in its respective tab.
115
117
116
-
### Deploying a landscape or system object (Azure Devops deployment)
117
-
1. Navigate to the Landscape or System tab.
118
-
2. Next to the landscape or system you would like to deploy, click "Deploy".
119
-
* If you would like to deploy a file, first convert it to a landscape or system object.
118
+
### Deploying a workload zone or system object (Azure Devops deployment)
119
+
1. Navigate to the Workload zones or Systems tab.
120
+
2. Next to the workload zone or system you would like to deploy, click "Deploy".
121
+
* If you would like to deploy a file, first convert it to a workload zone or system object.
120
122
4. Specify the necessary parameters, and confirm it is the correct object.
121
123
5. Click deploy.
122
124
6. The web app will automatically generate a .tfvars file from the object, update your Devops repository, and kick off the workload zone or system (infrastructure) pipeline. Monitor the deployment back in Azure Devops.
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-deploy-control-plane.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -342,6 +342,8 @@ IS_PIPELINE_DEPLOYMENT=false
342
342
343
343
By default there will be no inbound public internet access to the web app apart from the deployer virtual network. To allow additional access to the web app, navigate to the Azure portal. In the deployer resource group, find the web app. Then under settings on the left hand side, click on networking. From here, click Access restriction. Add any allow or deny rules you would like. For more information on configuring access restrictions, see [Set up Azure App Service access restrictions](https://docs.microsoft.com/en-us/azure/app-service/app-service-ip-restrictions).
344
344
345
+
You will also need to grant reader permissions to the app service system-assigned managed identity. Navgiate to the app service resource. On the left hand side, click "Identity". In the "system assigned" tab, click on "Azure role assignments">"Add role assignment". Select "subscription" as the scope, and "reader" as the role. Then click save. Without this step, the web app dropdown functionality will not work.
346
+
345
347
You can login and visit the web app by following the URL from earlier or clicking browse inside the app service resource. With the web app, you are able to configure SAP workload zones and system infrastructure. Click download to obtain a parameter file of the workload zone or system you specified, forusein the later deployment steps.
0 commit comments