Skip to content

Commit c92b938

Browse files
committed
edits
1 parent 2c4282b commit c92b938

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

articles/spring-apps/includes/quickstart-deploy-restful-api-app/deploy-restful-api-app-with-enterprise-plan.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ Use the following steps to create a new resource group.
166166

167167
### 3.3. Install extension and register namespace
168168

169-
Use the following commands to install the Azure Spring Apps extension for the Azure CLI and register the namespace: `Microsoft.SaaS`:
169+
Use the following commands to install the Azure Spring Apps extension for the Azure CLI and register the `Microsoft.SaaS` namespace:
170170

171171
```azurecli
172172
az extension add --name spring --upgrade
@@ -253,19 +253,19 @@ After the application instance and the PostgreSQL instance are created, the appl
253253
--identifier-uris ${TODO_APP_URL}
254254
```
255255

256-
1. Use the following command to create service principal for the application:
256+
1. Use the following command to create a service principal for the application:
257257

258258
```azurecli
259259
az ad sp create --id ${TODO_APP_URL}
260260
```
261261

262-
1. Use the following command to generate permission ids:
262+
1. Use the following command to generate permission IDs:
263263

264264
```azurecli
265265
permissionid1=$(uuidgen);permissionid2=$(uuidgen);permissionid3=$(uuidgen)
266266
```
267267

268-
1. Add the following scopes as json
268+
1. Add the following scopes as JSON
269269

270270
```azurecli
271271
api=$(echo '{
@@ -317,7 +317,7 @@ After the application instance and the PostgreSQL instance are created, the appl
317317
az account show --query "tenantId" --output tsv
318318
```
319319

320-
1. Use the following command to get the application-id to use in the next steps:
320+
1. Use the following command to get the application ID to use in the next steps:
321321

322322
```azurecli
323323
appid=$(az ad app show --id ${TODO_APP_URL} \
@@ -397,7 +397,7 @@ The RESTful APIs act as a resource server, which is protected by Microsoft Entra
397397
az ad app permission admin-consent --id ${TODOWEB_APP_URL}
398398
```
399399

400-
1. Use the following command to get the client ID of the `ToDoWeb` app used in 'Obtain the access token' step :
400+
1. Use the following command to get the client ID of the `ToDoWeb` app used in the [Obtain the access token](#obtain-the-access-token) step:
401401

402402
```azurecli
403403
az ad app show --id ${TODOWEB_APP_URL} \
@@ -417,21 +417,21 @@ The RESTful APIs act as a resource server, which is protected by Microsoft Entra
417417

418418
#### Update the OAuth2 configuration for Swagger UI authorization
419419

420-
1. use the following command to get the object id of the `ToDoWeb` app:
420+
1. Use the following command to get the object ID of the `ToDoWeb` app:
421421

422422
```azurecli
423423
az ad app show --id ${TODOWEB_APP_URL} --query id
424424
```
425425

426-
1. use the following command to get the url of your `simple-todo-api` ASA app:
426+
1. Use the following command to get the url of your `simple-todo-api` app:
427427

428428
```azurecli
429429
az spring app show --name ${APP_NAME} \
430430
--service ${AZURE_SPRING_APPS_NAME} \
431431
--query properties.url
432432
```
433433

434-
1. Use the following command to update the OAuth2 configuration for Swagger UI authorization, replace **\<object-id>** and **\<url>** with the parameters you got. Then, you can authorize users to acquire access tokens through the ToDoWeb app.
434+
1. Use the following command to update the OAuth2 configuration for Swagger UI authorization, replace **\<object-id>** and **\<url>** with the parameters you got. Then, you can authorize users to acquire access tokens through the `ToDoWeb` app.
435435

436436
```azurecli
437437
az rest --method PATCH \

articles/spring-apps/includes/quickstart-deploy-restful-api-app/validate-the-app-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can now access the RESTful API to see if it works.
1717

1818
### 5.1. Request an access token
1919

20-
The RESTful APIs act as a resource server, which is protected by Microsoft Entra ID. Before acquiring an access token, you must register another application in Microsoft Entra ID and grant permissions to the client application, which is named `ToDoWeb`.
20+
The RESTful APIs act as a resource server, which is protected by Microsoft Entra ID. Before acquiring an access token, you're required to register another application in Microsoft Entra ID and grant permissions to the client application, which is named `ToDoWeb`.
2121

2222
#### Register the client application
2323

0 commit comments

Comments
 (0)