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/service-connector/quickstart-cli-spring-cloud-connection.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,22 @@
1
1
---
2
-
title: Quickstart - Create a service connection in Azure Spring Apps with the Azure CLI
2
+
title: Create a service connection in Spring Apps - Azure CLI
3
3
description: In this step-by-step guide, learn how to create a service connection in Azure Spring Apps using the Azure CLI.
4
4
author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 12/18/2024
8
+
ms.date: 3/11/2025
9
9
ms.devlang: azurecli
10
10
ms.custom: devx-track-azurecli, build-2024
11
11
---
12
12
13
13
# Quickstart: Create a service connection in Azure Spring Apps with the Azure CLI
14
14
15
-
This quickstart shows you how to connect Azure Spring Apps to other Cloud resources using the Azure CLI and Service Connector.
15
+
This quickstart shows you how to connect Azure Spring Apps to other Cloud resources using the Azure CLI and Service Connector. Service Connector streamlines the process of linking compute services to cloud services, while managing authentication and networking settings.
16
16
17
-
Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
To connect resources using the Azure portal, see [Create a service connection in Azure Spring Apps with the Azure portal](./quickstart-portal-spring-cloud-connection.md).
18
20
19
21
## Prerequisites
20
22
@@ -54,8 +56,8 @@ Create a connection from Azure Spring Apps using a managed identity or an access
> To use a managed identity, you must have the permission to modify [role assignments in Microsoft Entra ID](/entra/identity/role-based-access-control/manage-roles-portal). Ask your subscription owner to grant you a role assignment permission or use an access key to create the connection.
59
+
> [!NOTE]
60
+
> To use a managed identity, you must have permission to modify [role assignments in Microsoft Entra ID](/entra/identity/role-based-access-control/manage-roles-portal). If necessary, ask your subscription owner to grant you this permission.
59
61
60
62
1. Run the `az spring connection create` command to connect application deployed to Azure Spring Apps to a Blob Storage resource, using a system-assigned managed identity.
Copy file name to clipboardExpand all lines: articles/service-connector/quickstart-portal-spring-cloud-connection.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: maud-lv
5
5
ms.author: malev
6
6
ms.service: service-connector
7
7
ms.topic: quickstart
8
-
ms.date: 10/04/2023
8
+
ms.date: 3/11/2025
9
9
ms.custom:
10
10
- kr2b-contr-experiment
11
11
- build-2024
@@ -14,10 +14,11 @@ ms.custom:
14
14
15
15
# Quickstart: Create a service connection in Azure Spring Apps from the Azure portal
16
16
17
-
This quickstart shows you how to connect Azure Spring Apps to other Cloud resources using the Azure portal and Service Connector. Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
17
+
This quickstart shows you how to connect Azure Spring Apps to other Cloud resources using the Azure portal and Service Connector. Service Connector streamlines the process of linking compute services to cloud services, while managing authentication and networking settings.
18
18
19
-
> [!NOTE]
20
-
> For information on connecting resources using Azure CLI, see [Create a service connection in Azure Spring Apps with the Azure CLI](./quickstart-cli-spring-cloud-connection.md).
To connect resources using the Azure CLI, see [Create a service connection in Azure Spring Apps with the Azure CLI](./quickstart-cli-spring-cloud-connection.md).
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
> Microsoft recommends that you use the most secure authentication flow available. The authentication flow described in this procedure requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows, such as managed identities, aren't viable.
Copy file name to clipboardExpand all lines: articles/service-connector/tutorial-passwordless.md
+16-31Lines changed: 16 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,43 +28,30 @@ In this tutorial, you use the Azure CLI to complete the following tasks:
28
28
29
29
## Prerequisites
30
30
31
-
*[Azure CLI](/cli/azure/install-azure-cli) version 2.61.0 or higher.
32
-
* An Azure account with an active subscription. [Create an Azure account for free](https://azure.microsoft.com/free).
33
-
* An app deployed to [Azure App Service](../app-service/overview.md) in a [region supported by Service Connector](./concept-region-support.md).
31
+
- An Azure account with an active subscription. [Create an Azure account for free](https://azure.microsoft.com/free).
32
+
- An app deployed to [Azure App Service](../app-service/overview.md) in a [region supported by Service Connector](./concept-region-support.md).
33
+
-[Azure CLI](/cli/azure/install-azure-cli) version 2.61.0 or higher.
34
34
35
-
### Set up your environment
36
-
37
-
#### Account
38
-
39
-
Sign in with the Azure CLI via `az login`. If you're using Azure Cloud Shell or are already logged in, confirm your authenticated account with `az account show`.
## Deploy the application to an Azure hosting service
45
42
46
-
Finally, deploy your application to an Azure hosting service. That source service can use a managed identity to connect to the target database on Azure.
47
-
48
-
### [App Service](#tab/appservice)
49
-
50
-
For Azure App Service, you can check the document to choose a way to deploy, see [Quickstart: Deploy an ASP.NET web app](../app-service/quickstart-dotnetcore.md).
51
-
52
-
### [Spring Apps](#tab/springapp)
53
-
54
-
For Azure Spring Apps, you can check the document for more details about building app and deployment, see [Build and deploy the app](/azure/developer/java/spring-framework/deploy-passwordless-spring-database-app?#build-and-deploy-the-app).
43
+
1. Deploy your application to an Azure hosting service. Optionally refer to the guides below for more information about deploying these resources.
55
44
45
+
- Azure App Service: [Quickstart: Deploy an ASP.NET web app](../app-service/quickstart-dotnetcore.md).
46
+
- Azure Container Apps: [Quickstart: Deploy your first container app](../container-apps/get-started.md).
47
+
- Azure Spring Apps: [Build and deploy the app](/azure/developer/java/spring-framework/deploy-passwordless-spring-database-app?#build-and-deploy-the-app).
1. Check the log or call the application to see if it can connect to the Azure database successfully.
58
51
59
-
For Azure Container Apps, you can check the document about how to deploy your app, see [Quickstart: Deploy your first container app](../container-apps/get-started.md).
52
+
## Troubleshooting
60
53
61
-
---
62
-
63
-
Then you can check the log or call the application to see if it can connect to the Azure database successfully.
64
-
65
-
### Troubleshooting
66
-
67
-
#### Permission
54
+
### Permissions
68
55
69
56
If you encounter any permission-related errors, confirm the Azure CLI signed-in user with the command `az account show`. Make sure you sign in with the correct account. Next, confirm that you have the following permissions that might be required to create a passwordless connection with Service Connector.
70
57
@@ -111,7 +98,7 @@ In some cases, the permissions aren't required. For example, if the Azure CLI-au
111
98
112
99
<aname='azure-active-directory'></a>
113
100
114
-
####Microsoft Entra ID
101
+
### Microsoft Entra ID
115
102
116
103
If you get an error `ERROR: AADSTS530003: Your device is required to be managed to access this resource.`, ask your IT department for help with joining this device to Microsoft Entra ID. For more information, see [Microsoft Entra joined devices](../active-directory/devices/concept-azure-ad-join.md).
117
104
@@ -125,7 +112,7 @@ If you don't log in interactively, you might also get the error and `Interactive
0 commit comments