Skip to content

Commit c3983ad

Browse files
Final commit
Added screenshots
1 parent 619ae2d commit c3983ad

File tree

13 files changed

+31
-6
lines changed

13 files changed

+31
-6
lines changed

_posts/2025-11-14-unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Connections are the backbone of Copilot Studio agents. If users lack permissions
2626

2727
---
2828
> [!NOTE]
29-
> You can create a mock security group to test the tutorial end-to-end. We will explaining how to do so below.
29+
> You can create a mock security group to test the tutorial end-to-end. We will be explaining how to do so below.
3030
3131
## Step 1: Verify Entra ID Security Group Membership
3232
1. Go to **Microsoft Entra admin center** (**https://entra.microsoft.com/**).
3333
2. Navigate to **Groups → Security Groups**.
34-
3. Confirm that all intended users are members of the relevant security group.
35-
34+
3. Create a new group and give it a distinctive name.
35+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot1.png)
3636
3737

3838
---
@@ -42,8 +42,11 @@ Connections are the backbone of Copilot Studio agents. If users lack permissions
4242
2. Select the environment where your Copilot Studio agent resides.
4343
3. Go to **Settings → Users + Permissions → Teams**.
4444
4. Click **New Team**:
45+
46+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot2.png)
4547
4648
5. Assign appropriate **security roles** to this team (e.g., *Environment Maker*, *Basic User*, or custom roles granting connection creation).
49+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot3.png)
4750
4851
---
4952

@@ -60,25 +63,47 @@ By default, sync happens periodically. In order to make sure the latest changes
6063

6164
* Create a new **Automated cloud flow** and use the trigger
6265
**Office 365 Groups – When a group member is added or removed**.
66+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot4.png)
6367
6468
* Choose the Entra Security Group you want to monitor.
65-
69+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot5.png)
6670
6771
* Add **Power Platform for Admins – Force Sync User**
6872
- **Environment:** select the target environment
6973
- **ObjectId:** use the trigger’s `User Id` dynamic value
7074

75+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot6.png)
76+
7177
* Then add **Dataverse – Perform a bound action**:
7278
- **Table:** `teams`
7379
- **Action:** `SyncGroupMembersToTeam`
7480
- **Row ID:** the GUID of the Dataverse Team linked to your security group
81+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot7.png)
7582
76-
You can find it here:
77-
83+
You can find it in the Dataverse team's URL (highlighted here):
84+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot8.png)
7885
* Save and enable the flow.
7986

87+
* Final flow should look like this:
88+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot9.png)
89+
8090
And that's it. Now whenever you add/remove a user from the Entra ID security group, the automated cloud flow will be triggered, syncing the latest changes to the connected Dataverse security team.
8191

92+
### Testing the flow
93+
94+
* Adding a new user to the Entra Security Group:
95+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot10.png)
96+
97+
* This will trigger our automated flow.
98+
* The **Force Sync user** action will get the newly added user's details and push them to the respective Dataverse Security Team.
99+
* Finally the **Perform a bound action** will update the Teams table by syncing the latest changes based on the Team ID provided.
100+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot11.png)
101+
102+
> ![img](/assets/posts/unlocking-seamless-access-how-to-ensure-users-can-create-connections-for-copilot-studio-agents/Screenshot12.png)
103+
104+
105+
106+
82107
## Step 5: Confirm Agent Connection Usage
83108
- In **Copilot Studio**, open the agent.
84109
- Verify that the agent uses the correct **connection reference**.
23.3 KB
Loading
157 KB
Loading
196 KB
Loading
81.7 KB
Loading
86.7 KB
Loading
4.74 KB
Loading
271 KB
Loading
62.6 KB
Loading
46.2 KB
Loading

0 commit comments

Comments
 (0)