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/desktop-flows/alm/alm-connection.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,17 @@ author: nvigne
5
5
ms.author: nvigne
6
6
ms.subservice: desktop-flow
7
7
ms.reviewer: matp
8
-
ms.date: 09/06/2023
8
+
ms.date: 01/24/2025
9
9
ms.topic: overview
10
10
---
11
11
12
12
# Create a connection with a service principal
13
13
14
+
There are two solutions to use a connection with a service principal:
15
+
16
+
1. Create a connection using the service principal. This article details this solution.
17
+
1. Create a connection with a user principal and share it to a service principal. Learn more in [Set a run owner on a Desktop Flow connection](/power-automate/desktop-flows/how-to/set-runowner-desktopflowconnection).
18
+
14
19
To create a connection with a service principal, the best approach is to register the machine using a [service principal with silent registration](/power-automate/desktop-flows/machines-silent-registration#using-a-service-principal-account). Alternatively, you can give permissions to the service principal on the machine or the machine group and then create a connection using the service principal.
15
20
16
21
## Give permissions on the machine or machine group
Copy file name to clipboardExpand all lines: articles/desktop-flows/desktop-flow-connections.md
+44-6Lines changed: 44 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
title: Create desktop flow connections
3
-
description: See how to create connections to trigger desktop flows from cloud flows.
2
+
title: Manage desktop flow connections
3
+
description: See how to manage connections to trigger desktop flows from cloud flows.
4
4
author: mattp123
5
5
ms.subservice: desktop-flow
6
6
ms.topic: conceptual
7
-
ms.date: 01/08/2025
7
+
ms.date: 01/27/2025
8
8
ms.author: pefelesk
9
9
ms.reviewer: matp
10
10
contributors:
@@ -13,7 +13,7 @@ search.audienceType:
13
13
- enduser
14
14
---
15
15
16
-
# Create desktop flow connections
16
+
# Manage desktop flow connections
17
17
18
18
> [!IMPORTANT]
19
19
> Before using a machine to run desktop flows from the cloud, ensure that the machine is secured and the machine's admins are trusted.
@@ -31,7 +31,7 @@ Before using the **Run desktop flow** action in your cloud flow to trigger a des
31
31
32
32
There are two different methods to connect Power Automate with your machines (or groups).
33
33
34
-
## Connect with username and password
34
+
## Create a connection: Connect with username and password
35
35
36
36
With this option, you need to provide the machine information and device credentials:
37
37
@@ -56,7 +56,7 @@ With this option, you need to provide the machine information and device credent
56
56
57
57
:::image type="content" source="media/desktop-flows-setup/credentials-screen.png" alt-text="Screenshot that shows where to enter the credentials for the connection.":::
58
58
59
-
## Connect with sign-in for attended runs
59
+
## Create a connection: Connect with sign-in for attended runs
60
60
61
61
With this option, you don't need to provide session credentials. This option might be helpful when your organization doesn't allow username and password for user sessions.
62
62
@@ -98,3 +98,41 @@ The desktop flow connection is automatically created.
98
98
> If you consistently encounter issues when creating a connection on a new machine, first try to remove it, and then [register it](/power-automate/desktop-flows/manage-machines#register-a-new-machine) again.
You can share a connection with other Service Principal users in your organization and give those Service Principal users specific permissions to access it.
1. Sign in to [Power Automate](https://make.powerautomate.com/).
113
+
1. Go to **Monitor** > **Connection**.
114
+
1. Select your connection from the list, and then select the **Share** button.
115
+
1. Enter the name of the service principal user in your organization with whom you want to share the connection.
116
+
1. Select the permissions they can access the connection with:
117
+
- Can use
118
+
- Can edit
119
+
1. Select **Save**.
120
+
121
+
### Limitations
122
+
123
+
- You can only share desktop flows with a specified run owner identity. Learn more in [Select a run owner](#select-a-run-owner).
124
+
- Recipients of desktop flow connection sharing are limited to service principal users.
125
+
- You can't share a desktop flow connection with the "Can Share" permission (only "Can use" or "Can edit").
126
+
127
+
## Select a run owner
128
+
129
+
A run owner of a desktop flow is the user whose permissions are checked during the flow execution.
130
+
131
+
By default, connections created using the Power Automate portal use the connection's creator as the run owner.
132
+
133
+
You can select a specific identity as the run owner. Learn more in [Set a run owner on a desktop flow connection](/power-automate/desktop-flows/how-to/set-runowner-desktopflowconnection).
134
+
135
+
## Desktop flow connection audit
136
+
137
+
You can see the desktop flow run owner on the run status page. Learn more in [Run status](/power-automate/desktop-flows/monitor-run-details#run-status).
138
+
You can also see the summary of desktop flow run owner usage on the Desktop Flow activity page. Learn more in [Desktop flow activity](/power-automate/desktop-flows/desktop-flow-activity).
0 commit comments