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/active-directory/cloud-provisioning/tutorial-pilot-aadc-aadccp.md
+59-36Lines changed: 59 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,23 @@ This tutorial walks you through piloting cloud provisioning for a test Active Di
24
24
Before you try this tutorial, consider the following items:
25
25
1. Ensure that you're familiar with basics of cloud provisioning.
26
26
2. Ensure that you're running Azure AD Connect sync version 1.4.32.0 or later and have configured the sync rules as documented. When piloting, you will be removing a test OU or group from Azure AD Connect sync scope. Moving objects out of scope leads to deletion of those objects in Azure AD. In case of user objects, the objects in Azure AD are soft-deleted and can be restored. In case of group objects, the objects in Azure AD are hard-deleted and cannot be restored. A new link type has been introduced in Azure AD Connect sync which will prevent the deletion in case of a piloting scenario.
27
-
3. Ensure that the objects in the pilot scope have ms-ds-consistencyGUID populated so cloud provisioning hard matches the objects. Do note that Azure AD Connect sync does not populate ms-ds-consistencyGUID by default for group objects.
27
+
3. Ensure that the objects in the pilot scope have ms-ds-consistencyGUID populated so cloud provisioning hard matches the objects.
28
+
29
+
> [!NOTE]
30
+
> Azure AD Connect sync does not populate *ms-ds-consistencyGUID* by default for group objects. Follow the steps documented in [this blog post](https://blogs.technet.microsoft.com/markrenoden/2017/10/13/choosing-a-sourceanchor-for-groups-in-multi-forest-sync-with-aad-connect/) to populate *ms-ds-consistencyGUID* for group objects.
31
+
28
32
4. This is an advanced scenario. Ensure that you follow the steps documented in this tutorial precisely.
29
33
30
34
## Prerequisites
31
35
The following are prerequisites required for completing this tutorial
32
36
- A test environment with Azure AD Connect sync version 1.4.32.0 or later
33
37
- An OU or group that is in scope of sync and can be used the pilot. We recommend starting with a small set of objects.
34
38
- A server running Windows Server 2012 R2 or later that will host the provisioning agent. This cannot be the same server as the Azure AD Connect server.
39
+
- Source anchor for AAD Connect sync should be either *objectGuid* or *ms-ds-consistencyGUID*
35
40
36
41
## Update Azure AD Connect
37
42
38
-
As a minimum, you should have [Azure AD connect](https://www.microsoft.com/download/details.aspx?id=47594) 1.4.32.0. To update Azure AD Connect sync, complete the steps in [Azure AD Connect: Upgrade to the latest version](../hybrid/how-to-upgrade-previous-version.md). This step is provided in case your test environment does not have the latest version of Azure AD Connect.
43
+
As a minimum, you should have [Azure AD connect](https://www.microsoft.com/download/details.aspx?id=47594) 1.4.32.0. To update Azure AD Connect sync, complete the steps in [Azure AD Connect: Upgrade to the latest version](../hybrid/how-to-upgrade-previous-version.md).
39
44
40
45
## Stop the scheduler
41
46
Azure AD Connect sync synchronizes changes occurring in your on-premises directory using a scheduler. In order to modify and add custom rules, you want to disable the scheduler so that synchronizations will not run while you are working on this. Use the following steps:
@@ -44,6 +49,9 @@ Azure AD Connect sync synchronizes changes occurring in your on-premises directo
44
49
2. Run `Stop-ADSyncSyncCycle`. Hit Enter.
45
50
3. Run `Set-ADSyncScheduler -SyncCycleEnabled $false`.
46
51
52
+
>[!NOTE]
53
+
>If you are running your own custom scheduler for AAD Connect sync, then please disable the scheduler.
54
+
47
55
## Create custom user inbound rule
48
56
49
57
1. Launch the synchronization editor from the application menu in desktop as shown below:</br>
@@ -77,7 +85,7 @@ Azure AD Connect sync synchronizes changes occurring in your on-premises directo
77
85
6. On the **Transformations** page, add a Constant transformation: flow True to cloudNoFlow attribute. Click **Add**.
Same steps need to be followed for all object types (user, group and contact).
88
+
Same steps need to be followed for all object types (user, group and contact). Repeat steps per configured AD Connector / per AD forest.
81
89
82
90
## Create custom user outbound rule
83
91
@@ -88,7 +96,7 @@ Same steps need to be followed for all object types (user, group and contact).
88
96
89
97
**Name:** Give the rule a meaningful name<br>
90
98
**Description:** Add a meaningful description<br>
91
-
**Connected System:** Choose the AD connector that you are writing the custom sync rule for<br>
99
+
**Connected System:** Choose the AAD connector that you are writing the custom sync rule for<br>
92
100
**Connected System Object Type:** User<br>
93
101
**Metaverse Object Type:** Person<br>
94
102
**Link Type:** JoinNoFlow<br>
@@ -105,48 +113,38 @@ Same steps need to be followed for all object types (user, group and contact).
105
113
106
114
Same steps need to be followed for all object types (user, group and contact).
107
115
108
-
## Scope Azure AD Connect sync to exclude the pilot OU
109
-
Now, you will configure Azure AD Connect to exclude the pilot OU that was created above. The cloud provisioning agent will handle synchronizing these users. Use the following steps to scope Azure AD Connect.
110
-
111
-
1. On the server that is running Azure AD Connect, double-click on the Azure AD Connect icon.
112
-
2. Click **Configure**
113
-
3. Select **Customize synchronization options** and click next.
114
-
4. Sign-in to Azure AD and click **Next**.
115
-
5. On the **Connect your directories** screen click **Next**.
116
-
6. On the **Domain and OU filtering** screen, select **Sync selected domains and OUs**.
117
-
7. Expand your domain and **de-select** the **CPUsers** OU. Click **Next**.
9. On the **Optional features** screen, click **Next**.
120
-
10. On the **Ready to configure** screen click **Configure**.
121
-
11. Once that has completed, click **Exit**.
116
+
## Install the Azure AD Connect provisioning agent
117
+
1. Sign in to the server you will use with enterprise admin permissions. If you are using the [Basic AD and Azure environment](tutorial-basic-ad-azure.md) tutorial it would be CP1.
118
+
2. Download the Azure AD Connect cloud provisioning agent [here](https://go.microsoft.com/fwlink/?linkid=2109037).
119
+
3. Run the Azure AD Connect cloud provisioning (AADConnectProvisioningAgent.Installer)
120
+
3. On the splash screen, **Accept** the licensing terms and click **Install**.</br>
Azure AD Connect sync synchronizes changes occurring in your on-premises directory using a scheduler. Now that you have modified the rules, you can re-start the scheduler. Use the following steps:
123
+
4. Once this operation completes, the configuration wizard will launch. Sign in with your Azure AD global administrator account.
124
+
5. On the **Connect Active Directory** screen, click **Add directory** and then sign in with your Active Directory administrator account. This operation will add your on-premises directory. Click **Next**.</br>
7. Once this operation completes, the configuration wizard will launch. Sign in with your Azure AD global administrator account. Note that if you have IE enhanced security enabled this will block the sign-in. If this is the case, close the installation, disable IE enhanced security in Server Manager, and click the **AAD Connect Provisioning Agent Wizard** to restart the installation.
141
-
8. On the **Connect Active Directory** screen, click **Add directory** and then sign in with your Active Directory domain administrator account. NOTE: The domain administrator account should not have password change requirements. In case the password expires or changes, you will need to re-configure the agent with the new credentials. This operation will add your on-premises directory. Click **Next**.</br>
138
+
4. Once this operation completes, the configuration wizard will launch. Sign in with your Azure AD global administrator account.
139
+
5. On the **Connect Active Directory** screen, click **Add directory** and then sign in with your Active Directory administrator account. This operation will add your on-premises directory. Click **Next**.</br>
11. If you still see the initial splash screen, click **Close**.
147
+
8. If you still see the initial splash screen, click **Close**.
150
148
151
149
## Verify agent installation
152
150
Agent verification occurs in the Azure portal and on the local server that is running the agent.
@@ -205,11 +203,36 @@ You will now verify that the users that you had in our on-premises directory hav
205
203
206
204
Additionally, you can verify that the user and group exist in Azure AD.
207
205
206
+
## Start the scheduler
207
+
Azure AD Connect sync synchronizes changes occurring in your on-premises directory using a scheduler. Now that you have modified the rules, you can re-start the scheduler. Use the following steps:
208
+
209
+
1. On the server that is running Azure AD Connect sync open PowerShell with Administrative Privileges
210
+
2. Run `Set-ADSyncScheduler -SyncCycleEnabled $true`.
211
+
3. Run `Start-ADSyncSyncCycle`. Hit Enter.
212
+
213
+
>[!NOTE]
214
+
>If you are running your own custom scheduler for AAD Connect sync, then please enable the scheduler.
215
+
208
216
## Something went wrong
209
217
In case the pilot does not work as expected, you can go back to the Azure AD Connect sync setup by following the steps below:
210
218
1. Disable provisioning configuration in the Azure portal.
211
219
2. Disable all the custom sync rules created for Cloud Provisioning using the Sync Rule Editor tool. Disabling should cause full sync on all the connectors.
212
220
221
+
## Configure Azure AD Connect sync to exclude the pilot OU
222
+
Once you have verified that users from the pilot OU are successfully managed by cloud provisioning, you can re-configure Azure AD Connect to exclude the pilot OU that was created above. The cloud provisioning agent will handle synchronization for these users going forward. Use the following steps to scope Azure AD Connect.
223
+
224
+
1. On the server that is running Azure AD Connect, double-click on the Azure AD Connect icon.
225
+
2. Click **Configure**
226
+
3. Select **Customize synchronization options** and click next.
227
+
4. Sign-in to Azure AD and click **Next**.
228
+
5. On the **Connect your directories** screen click **Next**.
229
+
6. On the **Domain and OU filtering** screen, select **Sync selected domains and OUs**.
230
+
7. Expand your domain and **de-select** the **CPUsers** OU. Click **Next**.
0 commit comments