> ## Documentation Index
> Fetch the complete documentation index at: https://docs.futurex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Intune configuration profiles

> Procedural guide to configure Intune certificate profiles and device enrollment settings.

This section explores the following tasks:

* Export the Root certificate.
* Enable automatic device enrollment in Intune.

## Export the certificate

Perform the following steps to export the Root certificate:

**Step 1**

Log in to your AD CS CA server and launch an elevated command prompt.

**Step 2**

Run the following command:

```powershell expandable lines wrap title="Powershell" theme={null}
certutil -ca.cert C:\root.cer
```

**Step 3**

Set the certificate aside, so you can use it later when setting up the Trusted **Certificate Profile** in Intune.

## Create a trusted certificate profile

Perform the following steps to create an Intune Trusted Certificate profile:

**Step 1**

In a web browser, go to [**https://intune.microsoft.com/**](https://intune.microsoft.com/) and log in.

**Step 2**

From the main page, select **Devices** > **Windows** and select **\[ Configuration Profiles ]**.

**Step 3**

Select **\[ Create profile ]** and enter the following settings:

<table>
  <thead>
    <tr>
      <th>***Setting***</th>
      <th>***Required*** ***Configuration***</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>**Platform**</td>
      <td>Windows 10 and later</td>
    </tr>

    <tr>
      <td>**Profile** **Type**</td>
      <td>Templates</td>
    </tr>

    <tr>
      <td>**Template** **Name**</td>
      <td>Trusted certificate</td>
    </tr>
  </tbody>
</table>

**Step 4**

Select **\[ Create ]**.

**Step 5**

On the **Basics** page, enter your profile name and description. Select **\[ Next ]**.

**Step 6**

On the **Configuration** **Settings** page, browse for and upload the `root.cer` you exported earlier. Set the **Destination** **store** to **Computer** **certificate** **store- Root**. Select **\[ Next ]**.

**Step 7**

On the **Assignments** page, set which devices and users you want to be included in this policy. Select **\[ Next ]**.

**Step 8**

On the **Applicability** **Rules** page, you can designate rules that systems must meet for the policy to be applied. Select **\[ Next ]**.

**Step 9**

On the **Review + Create** page, verify your configuration settings and select **\[ Create ]**\*.

## Create a SCEP certificate profile

Perform the following steps to create an Intune SCEP certificate profile:

**Step 1**

In a web browser, go to [**https://intune.microsoft.com/**](https://intune.microsoft.com/) and log in.

**Step 2**

From the main page, select **Devices** > **Windows** and select **\[ Configuration Profiles ]**.

**Step 3**

Select **\[ Create profile ]** and enter the following settings:

<table>
  <thead>
    <tr>
      <th>***Setting***</th>
      <th>***Required*** ***Configuration***</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>**Platform**</td>
      <td>Windows 10 and later</td>
    </tr>

    <tr>
      <td>**Profile** **Type**</td>
      <td>Templates</td>
    </tr>

    <tr>
      <td>**Template** **Name**</td>
      <td>SCEP</td>
    </tr>
  </tbody>
</table>

**Step 4**

Select **\[ Create ]**.

**Step 5**

On the **Basics** page, enter your profile name and description. Select **\[ Next ]**.

**Step 6**

On the **Configuration** **Settings** page, use the following settings:

<table>
  <thead>
    <tr>
      <th>***Setting***</th>
      <th>***Required*** ***configuration***</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>**Certificate type**</td>
      <td>Device</td>
    </tr>

    <tr>
      <td>**Subject Name**</td>
      <td>CN=\{\{AAD\_DEVICE\_ID}}</td>
    </tr>

    <tr>
      <td>**Certificate Validity**</td>
      <td>2 years</td>
    </tr>

    <tr>
      <td>**Key Storage Provider (KSP)**</td>
      <td>Enroll in Trusted Platform Module (TPM) KSP if present, otherwise Software KSP</td>
    </tr>

    <tr>
      <td>**Key Usage**</td>
      <td>Key Encipherment, Digital Signature</td>
    </tr>

    <tr>
      <td>**Key Size (bits)**</td>
      <td>2048</td>
    </tr>

    <tr>
      <td>**Hash Algoritihim**</td>
      <td>SHA-2</td>
    </tr>

    <tr>
      <td>**Root Certificate**</td>
      <td>Name of root certificate from the previous section</td>
    </tr>

    <tr>
      <td>**Extended Key Usage**</td>
      <td>Client Authentication</td>
    </tr>

    <tr>
      <td>**SCEP Server URLs**</td>
      <td>https\://\<NDES external URL FQDN as shown in your Azure app proxy list > `/certsrv/mscep/mscep.dll`(such as `https://ndesserver.intune.fx.com/certsrv/mscep/mscep.dll`)</td>
    </tr>
  </tbody>
</table>

**Step 7**

After entering all the necessary configuration settings, select **\[ Next ]**.

**Step 8**

On the **Assignments** page, set which devices and users you would like to be included in this policy. Select **\[ Next ]**.

**Step 9**

On the **Applicability** **Rules** page, you can designate rules that systems must meet for the policy to be applied. Select **\[ Next ]**.

**Step 10**

On the **Review + Create** page, verify your configuration and select **\[ Create ]**.

## Enable automatic device enrollment

Perform the following steps to enable automatic device enrollment in Intune:

**Step 1**

In a web browser, go to [**https://intune.microsoft.com/**](https://intune.microsoft.com/) and log in.

**Step 2**

On the main page, go to **Devices** > **Enroll** **Devices** and select **\[ Automatic Enrollment ]**.

**Step 3**

Set the **MDM** **user** **scope** to **All** and select **\[ Save ]**.

For more information on configuring Intune certificate profiles, refer to the Microsoft documentation: [**learn.microsoft.com/en-us/mem/intune/protect/certificates-scep-configure**](https://learn.microsoft.com/en-us/mem/intune/protect/certificates-scep-configure)
