title | description | keywords | author | ms.author | manager | ms.date | ms.topic | ms.service | ms.localizationpriority | ms.technology | ms.suite | search.appverid | ms.custom | ms.collection |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Noncompliant message and actions with Microsoft Intune - Azure | Microsoft Docs |
Create a notification email to send to non-compliant devices. Add actions after a device is marked as non-compliant, such as add a grace period to get compliant, or create a schedule to block access until the device is compliant. Do this using Microsoft Intune in Azure. |
MandiOhlinger |
mandia |
dougeby |
08/22/2019 |
conceptual |
microsoft-intune |
high |
ems |
MET150 |
intune-azure |
M365-identity-device-management |
For devices that don't meet your compliance policies or rules, you can add Actions for noncompliance. This feature configures a time-ordered sequence of actions, such as emailing the end user, and more.
By default, when Intune detects a device that isn't compliant, Intune immediately marks the device as noncompliant. Azure Active Directory (AD) Conditional Access then blocks the device. When a device isn't compliant, action for noncompliance also gives you flexibility to decide what to do. For example, don't block the device immediately, and give the user a grace period to be compliant.
There are several types of actions:
-
Send email to end user: Customize an email notification before sending it to the end user. You can customize the recipients, subject, and message body, including company logo, and contact information.
Additionally, Intune includes details about the noncompliant device in the email notification.
-
Remotely lock the noncompliant device: For devices that are noncompliant, you can issue a remote lock. The user is then prompted for a PIN or password to unlock the device. More on the Remote Lock feature.
-
Mark device non-compliant: Create a schedule (in number of days) after the device is marked not compliant. You can configure the action to take effect immediately, or give the user a grace period to be compliant.
This article shows you how to:
- Create a message notification template
- Create an action for noncompliance, such as send an email or remotely lock a device
-
To set up actions for non-compliance, you need at least one device compliance policy. To create a device compliance policy, see the following platforms:
-
When using device compliance policies to block devices from corporate resources, Azure AD Conditional Access must be set up. See Conditional Access in Azure Active Directory or common ways to use Conditional Access with Intune for guidance.
To send email to your users, create a notification message template. When a device is noncompliant, the details you enter in the template is shown in the email sent to your users.
-
Sign in to Intune.
-
Select Device compliance > Notifications.
-
Select Create notification. Enter the following information:
- Name
- Subject
- Message
- Email header – Include company logo
- Email footer – Include company name
- Email footer – Include contact information
-
Once you're done adding the information, choose Create. The Notification message template is ready to use. The logo you upload as part of the Company Portal branding is used for email templates. For more information about Company Portal branding, see Company identity branding customization.
Note
You can also change or update an existing notification template you previously created.
When you create a device compliance policy, Intune automatically creates an action for noncompliance. If a device isn't meeting your compliance policy, this action marks the device as not compliant. You can customize how long the device is marked as not compliant. This action can't be removed.
You can also add another action when you create a compliance policy, or update an existing policy.
-
Sign in to Intune and select Device compliance.
-
Select Policies, choose one of your policies, and then select Properties.
Don't have a policy yet? Create an Android, iOS, Windows, or other platform policy.
[!NOTE] JAMF devices and devices targeted with device groups cannot receive compliance actions at this time.
-
Select Actions for noncompliance > Add.
-
Select your Action:
-
Send email to end users: When the device is noncompliant, choose to email the user. Also:
- Choose the Message template you previously created
- Enter any Additional recipients by selecting groups
-
Remotely lock the noncompliant device: When the device is noncompliant, lock the device. This action forces the user to enter a PIN or passcode to unlock the device.
-
-
Configure a Schedule: Enter the number of days (0 to 365) after noncompliance to trigger the action on users' devices. After this grace period, you can enforce a conditional access policy. If you enter 0 (zero) number of days, then conditional access takes effect immediately. For example, if a device is noncompliant, use conditional access to block access to email, SharePoint, and other organization resources immediately.
When you create a compliance policy, the Mark device noncompliant action is automatically created, and automatically set to 0 days (immediately). With this action, when the device checks-in, the device is evaluated as non-compliant immediately. If also using conditional access, then conditional access kicks in immediately. If you want to allow a grace period, then change the Schedule on the Mark device noncompliant action.
In your compliance policy, for example, you also want to notify the user. You can add the Send email to end user action. On this Send email action, you set the Schedule to 2 days. If the device or end user is still evaluated as non-compliant on day 2, then your email is sent on day 2. If you want to email the user again on day 5 of noncompliance, then add another action, and set the Schedule to 5 days.
For more information on compliance, and the built-in actions, see the compliance overview.
-
When finished, select Add > OK to save your changes.