# Apple Automated Device Enrollment Tokens should be valid for more than 30 days

Apple Automated Device Enrollment Tokens should be valid for more than 30 days. A Maester check for Intune, Tenant administration.

Source: https://maester.dev/docs/tests/MT.1093

<!-- This file is generated by website/scripts/generate-test-docs.mjs. Do not edit manually. -->

<div class="test-byline"><div class="test-byline-avatars"><a class="test-byline-avatar test-byline-avatar--author" href="/contributors/nicolonsky" title="Nicola Suter · Original author"><img src="https://github.com/nicolonsky.png" alt="Nicola Suter" width="28" height="28" loading="lazy" decoding="async" /></a></div><div class="test-byline-meta"><span class="test-byline-text">Contributed by <a href="/contributors/nicolonsky">Nicola Suter</a></span><a class="test-byline-link" href="/contributors">All contributors →</a></div></div>

<p class="test-part">Part of <a href="/docs/tests/maester">Maester</a> · Intune · Tenant administration · <a href="/docs/tests">All checks</a></p>

```powershell title="Run this check"
Invoke-Maester -TestId MT.1093
```

## Overview

This test checks if the Apple ADE token is valid and not expired. The Apple Automated Device Enrollment (ADE) token is required to synchronize Apple devices with Microsoft Intune.
The token has a lifetime of one year and needs to be renewed to allow synchronization.

#### Remediation action

See the [Microsoft learn instructions to Renew enrollment program token](https://learn.microsoft.com/intune-education/renew-ios-certificate-token#renew-enrollment-program-token).

Direct Link for [Intune Portal -  Enrollment program tokens](https://intune.microsoft.com/#view/Microsoft_Intune_Enrollment/DepTokensPaging.ReactView).

## Details

<details>
<summary>Every attribute of this check</summary>

| Field | Value |
| --- | --- |
| Test ID | MT.1093 |
| Severity | High |
| Suite | Maester |
| Product | Intune |
| Feature | Tenant administration |
| Area | Devices and endpoints |
| Resource type | Connector |
| User impact | Low |
| Implementation cost | Low |
| MITRE ATT&CK | None |
| PowerShell test | [Test-MtAppleAutomatedDeviceEnrollmentToken](https://github.com/maester365/maester/blob/main/tests/maester/intune/Test.MT.1093.ps1) |
| Services | Graph |
| Compatible licenses | INTUNE_A |

</details>

## Source

- Test: [`tests/maester/intune/Test.MT.1093.ps1`](https://github.com/maester365/maester/blob/main/tests/maester/intune/Test.MT.1093.ps1)
- Documentation: [`tests/maester/intune/Test.MT.1093.md`](https://github.com/maester365/maester/blob/main/tests/maester/intune/Test.MT.1093.md)
