# At least one Conditional Access policy is configured to enable application enforced restrictions

A Conditional Access policy with application-enforced restrictions can help minimize the risk of data leakage from a shared device.

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

<!-- 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/f-bader" title="Fabian Bader · Original author"><img src="https://github.com/f-bader.png" alt="Fabian Bader" width="28" height="28" loading="lazy" decoding="async" /></a><a class="test-byline-avatar" href="/contributors/thomas-s-schmidt" title="Thomas Schmidt · Co-contributor"><img src="https://github.com/thomas-s-schmidt.png" alt="Thomas Schmidt" 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/f-bader">Fabian Bader</a> with <a href="/contributors/thomas-s-schmidt">Thomas Schmidt</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> · Entra ID · Conditional Access · <a href="/docs/tests">All checks</a></p>

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

## Overview

A Conditional Access policy with application-enforced restrictions can help minimize the risk of data leakage from a shared device.

Learn more:
https://aka.ms/CATemplatesAppRestrictions

#### Remediation action

Review the configuration described above.

## Details

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

| Field | Value |
| --- | --- |
| Test ID | MT.1019 |
| Severity | Medium |
| Suite | Maester |
| Product | Entra ID |
| Related products | SharePoint, Exchange Online |
| Feature | Conditional Access |
| Area | Access control |
| Resource type | Tenant |
| User impact | Medium |
| Implementation cost | Medium |
| MITRE ATT&CK | T1213.002 Sharepoint, T1530 Data from Cloud Storage |
| PowerShell test | [Test-MtCaApplicationEnforcedRestriction](https://github.com/maester365/maester/blob/main/tests/maester/entra/Test.MT.1019.ps1) |
| Services | Graph |
| Compatible licenses | AAD_PREMIUM |

</details>

## Source

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