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
This quickstart shows you how to connect Azure Spring Apps to other Cloud resources using the Azure CLI and Service Connector.
16
18
17
19
Service Connector lets you quickly connect compute services to cloud services, while managing your connection's authentication and networking settings.
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.
> 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
+
- App Service: [Quickstart: Deploy an ASP.NET web app](../app-service/quickstart-dotnetcore.md).
46
+
- Spring Apps:[Build and deploy the app](/azure/developer/java/spring-framework/deploy-passwordless-spring-database-app?#build-and-deploy-the-app).
- Container Apps:[Quickstart: Deploy your first container app](../container-apps/get-started.md).
56
49
57
-
### [Container Apps](#tab/containerapp)
50
+
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