Skip to content

Commit 67ed970

Browse files
committed
edits
1 parent d5f82a5 commit 67ed970

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

articles/spring-apps/includes/quickstart-deploy-restful-api-app/quickstart-tool-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use the following line at the end of the heading Prerequisites, with blank lines
1212
[!INCLUDE [quickstart-tool-introduction](includes/quickstart-deploy-restful-api-app/quickstart-tool-introduction.md)]
1313
-->
1414

15-
The following list describes the options to create resources and deploy applications in Azure Spring Apps:
15+
The following list describes the different options to create resources and deploy applications in Azure Spring Apps:
1616

1717
- Azure portal: Use the Azure portal to create resources and deploy applications step by step. The Azure portal is suitable for developers who are using the Azure Cloud Services for the first time.
1818
- Azure Developer CLI: Use the Azure Developer CLI to create resources and deploy applications through simple commands, and to cover application code and infrastructure as code files needed to provision the Azure resources. The Azure Developer CLI is suitable for developers who are familiar with the Azure Cloud Services.

articles/spring-apps/quickstart-deploy-restful-api-app.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.custom: devx-track-java, devx-track-extended-java, devx-track-azurecli, mode-
1919
2020
**This article applies to:** ✔️ Standard consumption and dedicated (Preview)
2121

22-
This article explains how to deploy a RESTful API application protected by [Microsoft Entra ID](../active-directory/fundamentals/active-directory-whatis.md) to Azure Spring Apps. The sample project is a simplified version based on the [Simple Todo](https://github.com/Azure-Samples/ASA-Samples-Web-Application) web application, which only provides the backend service and uses Microsoft Entra ID to protect the RESTful APIs.
22+
This article describes how to deploy a RESTful API application protected by [Microsoft Entra ID](../active-directory/fundamentals/active-directory-whatis.md) to Azure Spring Apps. The sample project is a simplified version based on the [Simple Todo](https://github.com/Azure-Samples/ASA-Samples-Web-Application) web application, which only provides the backend service and uses Microsoft Entra ID to protect the RESTful APIs.
2323

2424
These RESTful APIs are protected by applying role-based access control (RBAC). Anonymous users can't access any data and aren't allowed to control access for different users. Anonymous users only have the following three permissions:
2525

@@ -39,15 +39,15 @@ The following diagram shows the architecture of the system:
3939

4040
## 1. Prerequisites
4141

42-
#### [Azure portal](#tab/Azure-portal)
42+
### [Azure portal](#tab/Azure-portal)
4343

4444
- An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
4545
- [Git](https://git-scm.com/downloads).
4646
- [Java Development Kit (JDK)](/java/azure/jdk/), version 17.
4747
- A Microsoft Entra ID tenant. For instructions on creating one, see [Quickstart: Create a new tenant in Azure AD](../active-directory/fundamentals/create-new-tenant.md).
4848
- [curl](https://curl.se/download.html).
4949

50-
#### [Azure Developer CLI](#tab/Azure-Developer-CLI)
50+
### [Azure Developer CLI](#tab/Azure-Developer-CLI)
5151

5252
- An Azure subscription. If you don't have a subscription, create a [free account](https://azure.microsoft.com/free/) before you begin.
5353
- [Git](https://git-scm.com/downloads).
@@ -80,23 +80,23 @@ Use the following steps to register an application in Microsoft Entra ID, which
8080

8181
1. Under **Manage**, select **App registrations** > **New registration**.
8282

83-
1. Enter a name for your application in the **Name** field, for example `ToDoWeb`. Users of your app might see this name, and you can change it later.
83+
1. Enter a name for your application in the **Name** field, for example *ToDoWeb*. Users of your app might see this name, and you can change it later.
8484

8585
1. For **Supported account types**, use the default **Accounts in this organizational directory only**.
8686

8787
1. Select **Register** to create the application.
8888

8989
1. On the app **Overview** page, look for the **Application (client) ID** value, and then record it for later use. You need it to acquire access token.
9090

91-
1. Select **API permissions** > **Add a permission** > **My APIs**. Select the `ToDo` application that you registered earlier, and then select the permissions **ToDo.Read**, **ToDo.Write**, and **ToDo.Delete**. Select **Add permissions**.
91+
1. Select **API permissions** > **Add a permission** > **My APIs**. Select the **ToDo** application that you registered earlier, and then select the permissions **ToDo.Read**, **ToDo.Write**, and **ToDo.Delete**. Select **Add permissions**.
9292

9393
1. Select **Grant admin consent for {your-tenant-name}** to grant admin consent for the permissions you added.
9494

9595
:::image type="content" source="media/quickstart-deploy-restful-api-app/api-permissions.png" alt-text="Image that shows the API permissions of a web application." lightbox="media/quickstart-deploy-restful-api-app/api-permissions.png":::
9696

9797
#### Add user to access the RESTful APIs
9898

99-
Use the following steps to create a member user in your Microsoft Entra ID, then the user can manage the data of ToDo application through RESTful APIs.
99+
Use the following steps to create a member user in your Microsoft Entra ID, then the user can manage the data of the ToDo application through RESTful APIs.
100100

101101
1. Under **Manage**, select **Users** > **New user** > **Create new user**.
102102

@@ -109,7 +109,7 @@ Use the following steps to create a member user in your Microsoft Entra ID, then
109109
> [!NOTE]
110110
>
111111
> - New users must complete the first login authentication and update their passwords, otherwise, you receive an `AADSTS50055: The password is expired` error when you get the access token.
112-
> - When a new user logs in, they will receive an **Action Required** prompt, you may choose to **Ask later** to skip the validation.
112+
> - When a new user logs in, they will receive an **Action Required** prompt. You may choose to **Ask later** to skip the validation.
113113
114114
1. Select **Review + create** to review your selections. Select **Create** to create the user.
115115

@@ -119,7 +119,7 @@ Use the following steps to update the OAuth2 configuration for Swagger UI author
119119

120120
1. Open the Azure Spring Apps instance in the Azure portal.
121121

122-
1. Open your **Azure Active Directory** tenant in Azure portal, go to the registered app `ToDoWeb`.
122+
1. Open your **Azure Active Directory** tenant in the Azure portal, go to the registered app `ToDoWeb`.
123123

124124
1. Under **Manage**, select **Authentication**, select **Add a platform**, and then select **Single-page application**.
125125

@@ -133,7 +133,7 @@ Use the following steps to use [OAuth 2.0 authorization code flow](../active-dir
133133

134134
1. Open the URL exposed by the app, then select **Authorize** to prepare the OAuth2 authentication.
135135

136-
1. In the pop-up **Available authorizations** window, enter the client ID of the app `ToDoWeb` in the **client_id** field, and select all the scopes for **Scopes** field, ignore the **client_secret** field, then select **Authorize** to redirect to the Microsoft Entra ID login page.
136+
1. In the **Available authorizations** window, enter the client ID of the app `ToDoWeb` in the **client_id** field, and select all the scopes for **Scopes** field, ignore the **client_secret** field, then select **Authorize** to redirect to the Microsoft Entra ID login page.
137137

138138
1. After completing the login with the previous user, you'll return to the following pop-up window:
139139

articles/spring-apps/quickstart-deploy-web-app.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ The following diagram shows the architecture of the system:
3636

3737
::: zone pivot="sc-consumption-plan,sc-standard"
3838

39-
This article provides the following options for deploying to Azure Spring Apps:
39+
The following list describes the different options to create resources and deploy applications in Azure Spring Apps:
4040

41-
- Azure portal - Use the Azure portal for a more conventional way to create resources and deploy applications step by step. This approach is suitable for Spring developers who are using Azure Cloud Services for the first time.
42-
- Azure Developer CLI: Use Azure Developer CLI for a more efficient way to create resources and deploy applications through simple commands, and to cover application code and infrastructure as code files needed to provision the Azure resources. This approach is suitable for Spring developers who are familiar with the Azure Cloud Services.
41+
- Azure portal: Use the Azure portal to create resources and deploy applications step by step. The Azure portal is suitable for developers who are using the Azure Cloud Services for the first time.
42+
- Azure Developer CLI: Use the Azure Developer CLI to create resources and deploy applications through simple commands, and to cover application code and infrastructure as code files needed to provision the Azure resources. The Azure Developer CLI is suitable for developers who are familiar with the Azure Cloud Services.
4343

4444
::: zone-end
4545

@@ -98,9 +98,9 @@ Now you can access the deployed app to see whether it works. Use the following s
9898

9999
::: zone pivot="sc-enterprise"
100100

101-
1. After the deployment has completed, you can access the app with this URL: `https://${AZURE_SPRING_APPS_NAME}-${APP_NAME}.azuremicroservices.io/`. The page should appear as you saw in localhost.
101+
1. After the deployment is complete, you can access the app with this URL: `https://${AZURE_SPRING_APPS_NAME}-${APP_NAME}.azuremicroservices.io/`. The page should appear as you saw in localhost.
102102

103-
1. Use the following command to check the app's log to investigate any deployment issue:
103+
1. To check the app's log to investigate any deployment issue, use the following command:
104104

105105
```azurecli
106106
az spring app logs \
@@ -114,7 +114,7 @@ Now you can access the deployed app to see whether it works. Use the following s
114114

115115
1. Access the application with the output application URL. The page should appear as you saw in localhost.
116116

117-
1. From the navigation pane of the Azure Spring Apps instance overview page, select **Logs** to check the app's logs.
117+
1. From the navigation menu of the Azure Spring Apps instance overview page, select **Logs** to check the app's logs.
118118

119119
:::image type="content" source="media/quickstart-deploy-web-app/logs.png" alt-text="Screenshot of the Azure portal showing the Azure Spring Apps logs page." lightbox="media/quickstart-deploy-web-app/logs.png":::
120120

@@ -130,7 +130,7 @@ Now you can access the deployed app to see whether it works. Use the following s
130130

131131
::: zone pivot="sc-enterprise"
132132

133-
If you plan to continue working with subsequent quickstarts and tutorials, you might want to leave these resources in place. When you no longer need the resources, delete them by deleting the resource group. Use the following command to delete the resource group:
133+
If you plan to continue working with subsequent quickstarts and tutorials, you might want to leave these resources in place. When you no longer need the resources, delete them by deleting the resource group. To delete the resource group, use the following command:
134134

135135
```azurecli
136136
az group delete --name ${RESOURCE_GROUP}

0 commit comments

Comments
 (0)