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: memdocs/autopilot/user-driven.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ For each device that you'll deploy using user-driven deployment, these extra ste
111
111
- If you use other methods, like Microsoft Store for Business or Partner Center, manually assign an Autopilot profile to the device.
112
112
113
113
> [!TIP]
114
-
> If the intended end-state of the device is co-management, you can configure device enrollment in Intune to enable co-management, which happens during the Autopilot process. This behavior directs the workload authority in an orchestrated manner between Configuration Manager and Intune. For more information, see [How to enroll with Autopilot](../configmgr/comanage/autopilot-enrollment.md).<!-- Intune 5637106-->
114
+
> If the intended end-state of the device is co-management, you can configure device enrollment in Intune to enable co-management, which happens during the Autopilot process. This behavior directs the workload authority in an orchestrated manner between Configuration Manager and Intune. For more information, see [How to enroll with Autopilot](../configmgr/comanage/autopilot-enrollment.md).<!-- Intune 11300628-->
Copy file name to clipboardExpand all lines: memdocs/configmgr/comanage/autopilot-enrollment.md
+190-6Lines changed: 190 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: How to enroll with Autopilot
3
3
titleSuffix: Configuration Manager
4
4
description: Enable clients to enroll with co-management when they provision with Windows Autopilot.
5
-
ms.date: 04/05/2022
5
+
ms.date: 05/18/2022
6
6
ms.prod: configuration-manager
7
7
ms.technology: configmgr-comanage
8
8
ms.topic: how-to
@@ -13,7 +13,7 @@ manager: dougeby
13
13
14
14
# How to enroll with Autopilot
15
15
16
-
<!-- Intune 5637106-->
16
+
<!-- Intune 11300628-->
17
17
18
18
When you use [Windows Autopilot](../../autopilot/windows-autopilot.md) to provision a device, it first enrolls to Azure Active Directory (Azure AD) and Microsoft Intune. If the intended end-state of the device is co-management, previously this experience was difficult because of component timing and policy delays.
19
19
@@ -23,6 +23,56 @@ You no longer need to create and assign an Intune app to install the Configurati
23
23
24
24
If the device is targeted with an [Autopilot enrollment status page (ESP) policy](../../intune/enrollment/windows-enrollment-status.md), the device waits for Configuration Manager. The Configuration Manager client installs, registers with the site, and applies the production co-management policy. Then the Autopilot ESP continues.
25
25
26
+
## Scenarios
27
+
28
+
The following scenarios are several common ones that this feature supports:
29
+
30
+
- Use the full Microsoft Endpoint Manager solution to configure devices to your organizational standards. You want to combine modern provisioning with Autopilot, cloud-attached management with co-management, and existing investments in Configuration Manager task sequences and app deployments.
31
+
32
+
- Install apps in a specific sequence during the Autopilot enrollment status page process.
33
+
34
+
- Override the co-management policy and use Intune for all workloads. You want devices to get all policies from Intune, but still have the Configuration Manager client for emergency use.
35
+
36
+
## Process
37
+
38
+
When you use this policy, the following actions happen on the device during Autopilot provisioning:
39
+
40
+
1. When the device enrolls into Intune, the service checks if the device is assigned a co-management settings policy.
41
+
42
+
1. During the **Device preparation** phase of the enrollment status page, the service configures the following information on the device:
43
+
44
+
- It provides an enrollment status page policy, which configures Configuration Manager as a policy provider.
45
+
46
+
- It sets the management authority on the device:
47
+
48
+
- Intune: The process continues with those policies.
49
+
50
+
- Configuration Manager: The service doesn't apply Intune policies. It waits for policy from Configuration Manager to determine the workload configuration.
51
+
52
+
- The device downloads the CCMSetup.msi bootstrap file from the Intune service, which it runs with the specified command-line parameters. These parameters specify the location of the CMG, which it uses to download the client installation content. This content is the site's production client version hosted on the CMG.
53
+
54
+
> [!NOTE]
55
+
> This step can take time depending on the network and device performance, while it downloads the content and installs. The enrollment status page will stay on the step for **Preparing your device for mobile management**. For more information, see the [Troubleshooting](#troubleshoot) section.
56
+
57
+
- Once it successfully installs, the client's normal behavior begins. It communicates through the CMG, registers with the site, and then requests policy.
58
+
59
+
1. During the **Device setup** phase of the enrollment status page:
60
+
61
+
- If the client installation command line includes the **PROVISIONTS** parameter, the client runs that task sequence.
62
+
63
+
- The enrollment status page tracks the task sequence in the **Apps** category. The task sequence progress displays in front of the enrollment status page.
64
+
65
+
:::image type="content" source="media/esp-task-sequence-progress.png" alt-text="Enrollment status page, task sequence installation progress.":::
66
+
67
+
- If necessary, the task sequence can restart the device and return to the enrollment status page afterwards.
68
+
69
+
- Once the task sequence successfully completes, the Autopilot provisioning process continues on the enrollment status page.
70
+
71
+
:::image type="content" source="media/esp-device-setup-complete.png" alt-text="Enrollment status page, Device Setup complete.":::
72
+
73
+
> [!NOTE]
74
+
> There's no integration during the **Account setup** phase of the enrollment status page.
75
+
26
76
## Requirements
27
77
28
78
The following components are required to support Autopilot into co-management:
@@ -39,12 +89,35 @@ The following components are required to support Autopilot into co-management:
39
89
40
90
- User-driven scenario only
41
91
42
-
- Configuration Manager version 2011 or later, and the following features:
92
+
- A device group in Intune to which you'll assign the co-management settings policy. For more information, see [Add groups to organize users and devices](../../intune/fundamentals/groups-add.md).
93
+
94
+
You also need to assign the following profiles to the same device group:
95
+
96
+
-[Enrollment status page profile](../../intune/enrollment/windows-enrollment-status.md), with the option to **Show app and profile configuration progress**
- Configuration Manager version 2111 or later, and the following features:
43
101
44
102
- Set up a cloud management gateway (CMG). For more information, see [CMG overview](../core/clients/manage/cmg/overview.md).
45
103
46
104
- Enable co-management. For more information, see [How to enable co-management](how-to-enable.md).
47
105
106
+
## Recommendations
107
+
108
+
Use these recommendations for a more successful deployment:
109
+
110
+
- When you run a task sequence after client installation, don't include many application installations. Many apps can delay the process, and risk timeout for the enrollment status page. For a better user experience, only include critical apps that are needed immediately. Install other apps through separate deployments or user self-service.
111
+
112
+
> [!NOTE]
113
+
> The default timeout for the enrollment status page is 60 minutes. You can adjust this value in that policy, if needed, but a faster process may provide a better user experience.
114
+
115
+
- Don't use this process with other policy providers like the [Intune management extension](../../intune/apps/intune-management-extension.md), which can cause conflicts. Each provider isn't currently aware of others. Either use the co-management policy for the Configuration Manager provider, or use the Intune management extension provider, not both.
116
+
117
+
- If you need to install apps in a specific order, use the co-management policy. Run a task sequence to install the apps.
118
+
119
+
- If the installation order of apps doesn't matter to you, you can use either provider.
120
+
48
121
## Limitations
49
122
50
123
Autopilot into co-management currently doesn't support the following functionality:
@@ -67,18 +140,129 @@ Use the following process to configure the co-management policy in Intune:
67
140
68
141
1. Select **Co-management settings**, and then select **Create**.
69
142
70
-
1.Select **Yes**to automatically install the Configuration Manager client.
143
+
1.On the **Basics**page, specify a **Name** for the policy, and an optional description.
71
144
72
-
1. Specify the client installation command-line parameters. You can copy these parameters from the co-management properties page. For more information and specific command-line parameters, see [Get the command line from Configuration Manager](how-to-prepare-Win10.md#get-the-command-line-from-configuration-manager).
145
+
1. On the **Settings** page, select **Yes** to automatically install the Configuration Manager client.
146
+
147
+
1. Specify the client installation command-line parameters. You can copy these parameters from the **Enablement** tab of the cloud attach properties in the Configuration Manager console. For more information and specific command-line parameters, see [Get the command line from Configuration Manager](how-to-prepare-Win10.md#get-the-command-line-from-configuration-manager).
73
148
74
149
:::image type="content" source="media/intune-comanage-settings.png" alt-text="Co-management settings in Microsoft Intune.":::
75
150
76
-
1. After you configure these settings, go to the **Assignments** page and select a target group. For more information, see [Assign user and device profiles in Microsoft Intune](../../intune/configuration/device-profile-assign.md).
151
+
1. On the **Assignments** page, select a target _device_ group. For more information, see [Assign user and device profiles in Microsoft Intune](../../intune/configuration/device-profile-assign.md).
152
+
153
+
1. On the **Review + create** page, review the settings and create the policy.
154
+
155
+
> [!NOTE]
156
+
> If you assign more than one policy to a device, Intune pre-computes which policy it serves to the device. The **Co-management authority** pane in the Microsoft Endpoint Manager admin console lists the policy settings. Set the priority of each setting to help determine which policy a device receives when you assign more than one.
77
157
78
158
### Advanced settings
79
159
80
160
By default, the device waits for and uses the workload assignments from the Configuration Manager co-management policy. In the **Advanced** area of this policy, you can select **Yes** to override the co-management policy and use Intune for all workloads. Use this option for devices that are primarily cloud-managed with Intune policies, but you need the Configuration Manager client for certain apps. Even when Intune is the authority for the **Client apps** workload, a co-managed device can still get apps from Configuration Manager. For more information, see [Workloads: Client apps](workloads.md#client-apps) and [Use the Company Portal app on co-managed devices](company-portal.md).
81
161
162
+
> [!WARNING]
163
+
> Don't change this setting after device provisioning. It will apply to existing devices in the assigned group, not just new devices running the Autopilot process. Because of policy synchronization timing, the behavior of the policy change is non-deterministic, thus should be avoided.
164
+
165
+
## Troubleshoot
166
+
167
+
The first step when you troubleshoot issues with this process is to make sure that you're using Autopilot into co-management in a supported scenario. For more information, see [Requirements](#requirements).
168
+
169
+
Next, collect logs. Press **Shift** + **F10** during the Autopilot out-of-box experience (OOBE) to open a command prompt. Then run the MDM diagnostics tool, for example: `%windir%\system32\mdmdiagnosticstool.exe -area Autopilot;DeviceEnrollment -cab %temp%\autopilot-logs.cab`
170
+
171
+
> [!NOTE]
172
+
> This tool doesn't collect Configuration Manager CCMSetup and client logs. Manually gather them from the device. By default, these logs are in the following directories:
173
+
>
174
+
> -`%windir%\ccmsetup\Logs`
175
+
> -`%windir\CCM\Logs`
176
+
177
+
Investigate how the enrollment status page failed while waiting for Configuration Manager. There are two possible situations:
178
+
179
+
- The **Device preparation** phase fails while waiting on the client to install. For more information, see [The client installation doesn't complete](#the-client-installation-doesnt-complete).
180
+
181
+
- The **Device setup** phase fails while waiting on the task sequence to complete. For more information, see [The task sequence doesn't complete](#the-task-sequence-doesnt-complete).
182
+
183
+
> [!TIP]
184
+
> For more information on troubleshooting Autopilot, see [Troubleshooting overview](../../autopilot/troubleshooting.md).
185
+
186
+
### The client installation doesn't complete
187
+
188
+
The enrollment status page tracks the client installation during the **Device preparation** phase while **Preparing your device for mobile management**. If you see the error code `0x800705b4` during this phase, it timed out while trying to install the client. The enrollment status page default timeout is 60 minutes.
If this registry value is set, it can be one of the following possible values:
208
+
209
+
- `1`: Not installed
210
+
- `2`: Not required
211
+
- `3`: Complete
212
+
- `4`: Error
213
+
214
+
1. If the installation state isn't complete (`3`), investigate further depending upon the installation state:
215
+
216
+
- The default value of the installation state for a registered policy provider is `1`. This state means that the CCMSetup.msi bootstrap installer didn't download from the service or it didn't start installing.
217
+
218
+
- If the installation state is `4`, review the client logs to determine why CCMSetup failed.
219
+
220
+
1. Make sure the device is receiving CCMSetup.msi from Intune and the full client installation content from the CMG.
221
+
222
+
1. Look in `%windir%\ccmsetup` for the installation and log files.
223
+
224
+
1. Examine `%windir%\ccmsetup\Logs\ccmsetup.log` for possible failures.
225
+
226
+
### The task sequence doesn't complete
227
+
228
+
The enrollment status page tracks the task sequence as an app during the **Device setup** phase. If the task sequence doesn't complete successfully, the **Device setup** section shows an error for **Apps**.
229
+
230
+
:::image type="content" source="media/device-setup-error.png" alt-text="Autopilot enrollment status page, Device Setup error for Apps.":::
231
+
232
+
1. In the `autopilot-logs.cab` file from the diagnostic tool, find the **Shell-Core** logs. You may see an entry similar to the following event:
233
+
234
+
```log
235
+
[ETW] [Microsoft-Windows-Shell-Core] [Informational] - CloudExperienceHost Web App Event 2. Name:
If this registry value is set, it can be one of the following possible values:
250
+
251
+
- `1`: Not installed
252
+
- `2`: In progress
253
+
- `3`: Complete
254
+
- `4`: Error
255
+
256
+
1. If the installation state isn't complete (`3`), examine the task sequence log for details depending upon the installation state:
257
+
258
+
- If the installation state is `1` or `2`, see if the task sequence was still running when the enrollment status page timed out. By default, this timeout is 60 minutes.
259
+
260
+
- Look more closely at the steps of the task sequence, if one step took longer than anticipated. Remove long-running steps, or reduce the number of steps in the task sequence.
261
+
262
+
- Alternatively, increase the timeout value for the enrollment status page policy.
263
+
264
+
- If the installation state is `4`, review the task sequence log to determine why it failed.
265
+
82
266
## Next steps
83
267
84
268
[Tutorial: Use Autopilot to enroll Windows devices in Intune](../../intune/enrollment/tutorial-use-autopilot-enroll-devices.md)
Copy file name to clipboardExpand all lines: memdocs/configmgr/comanage/how-to-prepare-Win10.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ For more information, see [Windows Autopilot for existing devices](../../autopil
51
51
52
52
## Install the Configuration Manager client
53
53
54
-
You no longer need to create and assign an Intune app to install the Configuration Manager client. The Intune enrollment policy automatically installs the Configuration Manager client as a first-party app. The device gets the client content from the Configuration Manager cloud management gateway (CMG), so you don't need to provide and manage the client content in Intune. For more information, see [How to enroll with Autopilot](autopilot-enrollment.md).<!-- Intune 5637106-->
54
+
You no longer need to create and assign an Intune app to install the Configuration Manager client. The Intune enrollment policy automatically installs the Configuration Manager client as a first-party app. The device gets the client content from the Configuration Manager cloud management gateway (CMG), so you don't need to provide and manage the client content in Intune. For more information, see [How to enroll with Autopilot](autopilot-enrollment.md).<!-- Intune 11300628-->
55
55
56
56
You do still specify the Configuration Manager client command-line parameters in Intune.
0 commit comments