35 KiB
title, description, ms.prod, ms.mktglfcycl, ms.sitesec, ms.pagetype, author, ms.author, manager, audience, ms.collection, ms.topic, ms.date, ms.reviewer
title | description | ms.prod | ms.mktglfcycl | ms.sitesec | ms.pagetype | author | ms.author | manager | audience | ms.collection | ms.topic | ms.date | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create a Windows Information Protection (WIP) policy with MDM using the Azure portal for Microsoft Intune (Windows 10) | Learn how to use the Azure portal for Microsoft Intune to create and deploy your Windows Information Protection (WIP) policy to protect data on your network. | w10 | explore | library | security | dansimp | dansimp | dansimp | ITPro | M365-security-compliance | conceptual | 05/13/2019 |
Create a Windows Information Protection (WIP) policy using the Azure portal for Microsoft Intune
Applies to:
- Windows 10, version 1607 and later
- Windows 10 Mobile, version 1607 and later (except Microsoft Azure Rights Management, which is only available on the desktop)
Microsoft Intune has an easy way to create and deploy a Windows Information Protection (WIP) policy. You can choose which apps to protect, the level of protection, and how to find enterprise data on the network. The devices can be fully managed by Mobile Device Management (MDM), or managed by Mobile Application Management (MAM), where Intune manages only the apps on a user's personal device.
Differences between MDM and MAM for WIP
You can create an app protection policy in Intune either with device enrollment for MDM or without device enrollment for MAM. The process to create either policy is similar, but there are important differences:
- MAM has additional Access settings for Windows Hello for Business.
- MAM can selectively wipe company data from a user's personal device.
- MAM requires an Azure Active Directory (Azure AD) Premium license.
- An Azure AD Premium license is also required for WIP auto-recovery, where a device can re-enroll and re-gain access to protected data. WIP auto-recovery depends on Azure AD registration to back up the encryption keys, which requires device auto-enrollment with MDM.
- MAM supports only one user per device.
- MAM can only manage enlightened apps.
- Only MDM can use BitLocker CSP policies.
- If the same user and device are targeted for both MDM and MAM, the MDM policy will be applied to devices joined to Azure AD. For personal devices that are workplace-joined (that is, added by using Settings > Email & accounts > Add a work or school account), the MAM-only policy will be preferred but it's possible to upgrade the device management to MDM in Settings. Windows Home edition only supports WIP for MAM-only; upgrading to MDM policy on Home edition will revoke WIP-protected data access.
Prerequisites
Before you can create a WIP policy using Intune, you need to configure an MDM or MAM provider in Azure Active Directory (Azure AD). MAM requires an Azure Active Directory (Azure AD) Premium license. An Azure AD Premium license is also required for WIP auto-recovery, where a device can re-enroll and re-gain access to protected data. WIP auto-recovery relies on Azure AD registration to back up the encryption keys, which requires device auto-enrollment with MDM.
Configure the MDM or MAM provider
-
Sign in to the Azure portal.
-
Click Azure Active Directory > Mobility (MDM and MAM) > Microsoft Intune.
-
Click Restore Default URLs or enter the settings for MDM or MAM user scope and click Save:
Create a WIP policy
-
Sign in to the Microsoft Endpoint Manager.
-
Open Microsoft Intune and click Apps > App protection policies > Create policy.
-
In the App policy screen, click Add a policy, and then fill out the fields:
-
Name. Type a name (required) for your new policy.
-
Description. Type an optional description.
-
Platform. Choose Windows 10.
-
Enrollment state. Choose Without enrollment for MAM or With enrollment for MDM.
-
-
Click Protected apps and then click Add apps.
You can add these types of apps:
Note
An application might return access denied errors after removing it from the list of protected apps. Rather than remove it from the list, uninstall and reinstall the application or exempt it from WIP policy.
Add recommended apps
Select Recommended apps and select each app you want to access your enterprise data or select them all, and click OK.
Add Store apps
Select Store apps, type the app product name and publisher, and click OK. For example, to add the Power BI Mobile App from the Store, type the following:
- Name: Microsoft Power BI
- Publisher:
CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
- Product Name:
Microsoft.MicrosoftPowerBIForWindows
To add multiple Store apps, click the ellipsis ….
If you don't know the Store app publisher or product name, you can find them by following these steps.
-
Go to the Microsoft Store for Business website, and find your app. For example, Power BI Mobile App.
-
Copy the ID value from the app URL. For example, the Power BI Mobile App ID URL is https://www.microsoft.com/store/p/microsoft-power-bi/9nblgggzlxn1, and you'd copy the ID value,
9nblgggzlxn1
. -
In a browser, run the Store for Business portal web API, to return a JavaScript Object Notation (JSON) file that includes the publisher and product name values. For example, run https://bspmts.mp.microsoft.com/v1/public/catalog/Retail/Products/9nblgggzlxn1/applockerdata, where
9nblgggzlxn1
is replaced with your ID value.The API runs and opens a text editor with the app details.
{ "packageIdentityName": "Microsoft.MicrosoftPowerBIForWindows", "publisherCertificateName": "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" }
-
Copy the
publisherCertificateName
value into the Publisher box and copy thepackageIdentityName
value into the Name box of Intune.Important
The JSON file might also return a
windowsPhoneLegacyId
value for both the Publisher Name and Product Name boxes. This means that you have an app that’s using a XAP package and that you must set the Product Name aswindowsPhoneLegacyId
, and set the Publisher Name asCN=
followed by thewindowsPhoneLegacyId
.For example:
{ "windowsPhoneLegacyId": "ca05b3ab-f157-450c-8c49-a1f127f5e71d", }
Note
Your PC and phone must be on the same wireless network.
-
On the Windows Phone, go to Settings, choose Update & security, and then choose For developers.
-
In the For developers screen, turn on Developer mode, turn on Device Discovery, and then turn on Device Portal.
-
Copy the URL in the Device Portal area into your device's browser, and then accept the SSL certificate.
-
In the Device discovery area, press Pair, and then enter the PIN into the website from the previous step.
-
On the Apps tab of the website, you can see details for the running apps, including the publisher and product names.
-
Start the app for which you're looking for the publisher and product name values.
-
Copy the
publisherCertificateName
value and paste it into the Publisher Name box and thepackageIdentityName
value into the Product Name box of Intune.Important
The JSON file might also return a
windowsPhoneLegacyId
value for both the Publisher Name and Product Name boxes. This means that you have an app that’s using a XAP package and that you must set the Product Name aswindowsPhoneLegacyId
, and set the Publisher Name asCN=
followed by thewindowsPhoneLegacyId
.For example:
{ "windowsPhoneLegacyId": "ca05b3ab-f157-450c-8c49-a1f127f5e71d", }
Add Desktop apps
To add Desktop apps, complete the following fields, based on what results you want returned.
Field | Manages |
---|---|
All fields marked as “*” | All files signed by any publisher. (Not recommended and may not work) |
Publisher only | If you only fill out this field, you’ll get all files signed by the named publisher.This might be useful if your company is the publisher and signer of internal line-of-business apps. |
Publisher and Name only | If you only fill out these fields, you’ll get all files for the specified product, signed by the named publisher. |
Publisher, Name, and File only | If you only fill out these fields, you’ll get any version of the named file or package for the specified product, signed by the named publisher. |
Publisher, Name, File, and Min version only | If you only fill out these fields, you’ll get the specified version or newer releases of the named file or package for the specified product, signed by the named publisher.This option is recommended for enlightened apps that weren't previously enlightened. |
Publisher, Name, File, and Max version only | If you only fill out these fields, you’ll get the specified version or older releases of the named file or package for the specified product, signed by the named publisher. |
All fields completed | If you fill out all fields, you’ll get the specified version of the named file or package for the specified product, signed by the named publisher. |
To add another Desktop app, click the ellipsis …. After you’ve entered the info into the fields, click OK.
If you’re unsure about what to include for the publisher, you can run this PowerShell command:
Get-AppLockerFileInformation -Path "<path_of_the_exe>"
Where "<path_of_the_exe>"
goes to the location of the app on the device. For example:
Get-AppLockerFileInformation -Path "C:\Program Files\Windows NT\Accessories\wordpad.exe"
In this example, you'd get the following info:
Path Publisher
---- ---------
%PROGRAMFILES%\WINDOWS NT\ACCESSORIES\WORDPAD.EXE O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US
Where O=MICROSOFT CORPORATION, L=REDMOND, S=WASHINGTON, C=US
is the Publisher name and WORDPAD.EXE
is the File name.
Regarding to how to get the Product Name for the Apps you wish to Add, please reach out to our Windows Support Team to request the guidelines
Import a list of apps
This section covers two examples of using an AppLocker XML file to the Protected apps list. You’ll use this option if you want to add multiple apps at the same time.
For more info about AppLocker, see the AppLocker content.
Create a Packaged App rule for Store apps
-
Open the Local Security Policy snap-in (SecPol.msc).
-
In the left blade, expand Application Control Policies, expand AppLocker, and then click Packaged App Rules.
-
Right-click in the right-hand blade, and then click Create New Rule.
The Create Packaged app Rules wizard appears.
-
On the Before You Begin page, click Next.
-
On the Permissions page, make sure the Action is set to Allow and the User or group is set to Everyone, and then click Next.
-
On the Publisher page, click Select from the Use an installed packaged app as a reference area.
-
In the Select applications box, pick the app that you want to use as the reference for your rule, and then click OK. For this example, we’re using Microsoft Dynamics 365.
-
On the updated Publisher page, click Create.
-
Click No in the dialog box that appears, asking if you want to create the default rules. You must not create default rules for your WIP policy.
-
Review the Local Security Policy snap-in to make sure your rule is correct.
-
In the left blade, right-click on AppLocker, and then click Export policy.
The Export policy box opens, letting you export and save your new policy as XML.
-
In the Export policy box, browse to where the policy should be stored, give the policy a name, and then click Save.
The policy is saved and you’ll see a message that says 1 rule was exported from the policy.
Example XML file
This is the XML file that AppLocker creates for Microsoft Dynamics 365.<?xml version="1.0"?> <AppLockerPolicy Version="1"> <RuleCollection EnforcementMode="NotConfigured" Type="Appx"> <FilePublisherRule Action="Allow" UserOrGroupSid="S-1-1-0" Description="" Name="Microsoft.MicrosoftDynamicsCRMforWindows10, version 3.2.0.0 and above, from Microsoft Corporation" Id="3da34ed9-aec6-4239-88ba-0afdce252ab4"> <Conditions> <FilePublisherCondition BinaryName="*" ProductName="Microsoft.MicrosoftDynamicsCRMforWindows10" PublisherName="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US"> <BinaryVersionRange HighSection="*" LowSection="3.2.0.0"/> </FilePublisherCondition> </Conditions> </FilePublisherRule> </RuleCollection> <RuleCollection EnforcementMode="NotConfigured" Type="Dll"/> <RuleCollection EnforcementMode="NotConfigured" Type="Exe"/> <RuleCollection EnforcementMode="NotConfigured" Type="Msi"/> <RuleCollection EnforcementMode="NotConfigured" Type="Script"/> </AppLockerPolicy>
-
After you’ve created your XML file, you need to import it by using Microsoft Intune.
Create an Executable rule for unsigned apps
The executable rule helps to create an AppLocker rule to sign any unsigned apps. It enables adding the file path or the app publisher contained in the file's digital signature needed for the WIP policy to be applied.
-
Open the Local Security Policy snap-in (SecPol.msc).
-
In the left pane, click Application Control Policies > AppLocker > Executable Rules.
-
Right-click Executable Rules > Create New Rule.
-
On the Before You Begin page, click Next.
-
On the Permissions page, make sure the Action is set to Allow and the User or group is set to Everyone, and then click Next.
-
On the Conditions page, click Path and then click Next.
-
Click Browse Folders... and select the path for the unsigned apps. For this example, we’re using "C:\Program Files".
-
On the Exceptions page, add any exceptions and then click Next.
-
On the Name page, type a name and description for the rule and then click Create.
-
In the left pane, right-click AppLocker > Export policy.
-
In the Export policy box, browse to where the policy should be stored, give the policy a name, and then click Save.
The policy is saved and you’ll see a message that says 1 rule was exported from the policy.
-
After you’ve created your XML file, you need to import it by using Microsoft Intune.
To import a list of protected apps using Microsoft Intune
-
In Protected apps, click Import apps.
Then import your file.
-
Browse to your exported AppLocker policy file, and then click Open.
The file imports and the apps are added to your Protected apps list.
Exempt apps from a WIP policy
If your app is incompatible with WIP, but still needs to be used with enterprise data, you can exempt the app from the WIP restrictions. This means that your apps won't include auto-encryption or tagging and won't honor your network restrictions. It also means that your exempted apps might leak.
-
In Client apps - App protection policies, click Exempt apps.
-
In Exempt apps, click Add apps.
Be aware that when you exempt apps, they’re allowed to bypass the WIP restrictions and access your corporate data.
-
Fill out the rest of the app info, based on the type of app you’re adding:
-
Click OK.
Manage the WIP protection mode for your enterprise data
After you've added the apps you want to protect with WIP, you'll need to apply a management and protection mode.
We recommend that you start with Silent or Allow Overrides while verifying with a small group that you have the right apps on your protected apps list. After you're done, you can change to your final enforcement policy, Block.
-
From the App protection policy blade, click the name of your policy, and then click Required settings.
Mode Description Block WIP looks for inappropriate data sharing practices and stops the employee from completing the action. This can include sharing info across non-enterprise-protected apps in addition to sharing enterprise data between other people and devices outside of your enterprise. Allow Overrides WIP looks for inappropriate data sharing, warning employees if they do something deemed potentially unsafe. However, this management mode lets the employee override the policy and share the data, logging the action to your audit log. For info about how to collect your audit log files, see How to collect Windows Information Protection (WIP) audit event logs. Silent WIP runs silently, logging inappropriate data sharing, without blocking anything that would’ve been prompted for employee interaction while in Allow Override mode. Unallowed actions, like apps inappropriately trying to access a network resource or WIP-protected data, are still stopped. Off (not recommended) WIP is turned off and doesn't help to protect or audit your data.
After you turn off WIP, an attempt is made to decrypt any WIP-tagged files on the locally attached drives. Be aware that your previous decryption and policy info isn’t automatically reapplied if you turn WIP protection back on. -
Click Save.
Define your enterprise-managed corporate identity
Corporate identity, usually expressed as your primary Internet domain (for example, contoso.com), helps to identify and tag your corporate data from apps you’ve marked as protected by WIP. For example, emails using contoso.com are identified as being corporate and are restricted by your Windows Information Protection policies.
Starting with Windows 10, version 1703, Intune automatically determines your corporate identity and adds it to the Corporate identity field.
To change your corporate identity
-
From the App policy blade, click the name of your policy, and then click Required settings.
-
If the auto-defined identity isn’t correct, you can change the info in the Corporate identity field.
-
To add domains, such your email domain names, click Configure Advanced settings > Add network boundary and select Protected domains.
Choose where apps can access enterprise data
After you've added a protection mode to your apps, you'll need to decide where those apps can access enterprise data on your network. Every WIP policy should include your enterprise network locations.
There are no default locations included with WIP, you must add each of your network locations. This area applies to any network endpoint device that gets an IP address in your enterprise’s range and is also bound to one of your enterprise domains, including SMB shares. Local file system locations should just maintain encryption (for example, on local NTFS, FAT, ExFAT).
To define the network boundaries, click App policy > the name of your policy > Advanced settings > Add network boundary.
Select the type of network boundary to add from the Boundary type box. Type a name for your boundary into the Name box, add your values to the Value box, based on the options covered in the following subsections, and then click OK.
Cloud resources
Specify the cloud resources to be treated as corporate and protected by WIP. For each cloud resource, you may also optionally specify a proxy server from your Internal proxy servers list to route traffic for this cloud resource. Be aware that all traffic routed through your Internal proxy servers is considered enterprise.
Separate multiple resources with the "|" delimiter. For example:
URL <,proxy>|URL <,proxy>
Personal applications will be able to access a cloud resource that has a blank space or an invalid character, such as a trailing dot in the URL.
To add a subdomain for a cloud resource, use a period (.) instead of an asterisk (*). For example, to add all subdomains within Office.com, use ".office.com" (without the quotation marks).
In some cases, such as when an app connects directly to a cloud resource through an IP address, Windows can’t tell whether it’s attempting to connect to an enterprise cloud resource or to a personal site.
In this case, Windows blocks the connection by default.
To stop Windows from automatically blocking these connections, you can add the /*AppCompat*/
string to the setting.
For example:
URL <,proxy>|URL <,proxy>|/*AppCompat*/
When you use this string, we recommend that you also turn on Azure Active Directory Conditional Access, using the Domain joined or marked as compliant option, which blocks apps from accessing any enterprise cloud resources that are protected by conditional access.
Value format with proxy:
contoso.sharepoint.com,contoso.internalproxy1.com|contoso.visualstudio.com,contoso.internalproxy2.com
Value format without proxy:
contoso.sharepoint.com|contoso.visualstudio.com|contoso.onedrive.com,
Protected domains
Specify the domains used for identities in your environment. All traffic to the fully-qualified domains appearing in this list will be protected. Separate multiple domains with the "|" delimiter.
exchange.contoso.com|contoso.com|region.contoso.com
Network domains
Specify the DNS suffixes used in your environment. All traffic to the fully-qualified domains appearing in this list will be protected. Separate multiple resources with the "," delimiter.
corp.contoso.com,region.contoso.com
Proxy servers
Specify the proxy servers your devices will go through to reach your cloud resources. Using this server type indicates that the cloud resources you’re connecting to are enterprise resources.
This list shouldn’t include any servers listed in your Internal proxy servers list. Proxy servers must be used only for non-WIP-protected (non-enterprise) traffic. Separate multiple resources with the ";" delimiter.
proxy.contoso.com:80;proxy2.contoso.com:443
Internal proxy servers
Specify the internal proxy servers your devices will go through to reach your cloud resources. Using this server type indicates that the cloud resources you’re connecting to are enterprise resources.
This list shouldn’t include any servers listed in your Proxy servers list. Internal proxy servers must be used only for WIP-protected (enterprise) traffic. Separate multiple resources with the ";" delimiter.
contoso.internalproxy1.com;contoso.internalproxy2.com
IPv4 ranges
Specify the addresses for a valid IPv4 value range within your intranet. These addresses, used with your Network domain names, define your corporate network boundaries. Classless Inter-Domain Routing (CIDR) notation isn’t supported.
Separate multiple ranges with the "," delimiter.
Starting IPv4 Address: 3.4.0.1
Ending IPv4 Address: 3.4.255.254
Custom URI: 3.4.0.1-3.4.255.254,
10.0.0.1-10.255.255.254
IPv6 ranges
Starting with Windows 10, version 1703, this field is optional.
Specify the addresses for a valid IPv6 value range within your intranet. These addresses, used with your network domain names, define your corporate network boundaries. Classless Inter-Domain Routing (CIDR) notation isn’t supported.
Separate multiple ranges with the "," delimiter.
Starting IPv6 Address: 2a01:110::
Ending IPv6 Address: 2a01:110:7fff:ffff:ffff:ffff:ffff:ffff
Custom URI: 2a01:110:7fff:ffff:ffff:ffff:ffff:ffff,
fd00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
Neutral resources
Specify your authentication redirection endpoints for your company. These locations are considered enterprise or personal, based on the context of the connection before the redirection. Separate multiple resources with the "," delimiter.
sts.contoso.com,sts.contoso2.com
Decide if you want Windows to look for additional network settings:
-
Enterprise Proxy Servers list is authoritative (do not auto-detect). Turn on if you want Windows to treat the proxy servers you specified in the network boundary definition as the complete list of proxy servers available on your network. If you turn this off, Windows will search for additional proxy servers in your immediate network.
-
Enterprise IP Ranges list is authoritative (do not auto-detect). Turn on if you want Windows to treat the IP ranges you specified in the network boundary definition as the complete list of IP ranges available on your network. If you turn this off, Windows will search for additional IP ranges on any domain-joined devices connected to your network.
Upload your Data Recovery Agent (DRA) certificate
After you create and deploy your WIP policy to your employees, Windows begins to encrypt your corporate data on the employees’ local device drive. If somehow the employees’ local encryption keys get lost or revoked, the encrypted data can become unrecoverable. To help avoid this possibility, the Data Recovery Agent (DRA) certificate lets Windows use an included public key to encrypt the local data while you maintain the private key that can unencrypt the data.
Important
Using a DRA certificate isn’t mandatory. However, we strongly recommend it. For more info about how to find and export your data recovery certificate, see Data Recovery and Encrypting File System (EFS). For more info about creating and verifying your EFS DRA certificate, see Create and verify an Encrypting File System (EFS) Data Recovery Agent (DRA) certificate.
To upload your DRA certificate
-
From the App policy blade, click the name of your policy, and then click Advanced settings from the menu that appears.
The Advanced settings blade appears.
-
In the Upload a Data Recovery Agent (DRA) certificate to allow recovery of encrypted data box, click Browse to add a data recovery certificate for your policy.
Choose your optional WIP-related settings
After you've decided where your protected apps can access enterprise data on your network, you can choose optional settings.
Revoke encryption keys on unenroll. Determines whether to revoke a user’s local encryption keys from a device when it’s unenrolled from Windows Information Protection. If the encryption keys are revoked, a user no longer has access to encrypted corporate data. The options are:
-
On, or not configured (recommended). Revokes local encryption keys from a device during unenrollment.
-
Off. Stop local encryption keys from being revoked from a device during unenrollment. For example if you’re migrating between Mobile Device Management (MDM) solutions.
Show the enterprise data protection icon. Determines whether the Windows Information Protection icon overlay appears on corporate files in the Save As and File Explorer views. The options are:
-
On. Allows the Windows Information Protection icon overlay to appear on corporate files in the Save As and File Explorer views. Additionally, for unenlightened but protected apps, the icon overlay also appears on the app tile and with Managed text on the app name in the Start menu.
-
Off, or not configured (recommended). Stops the Windows Information Protection icon overlay from appearing on corporate files or unenlightened, but protected apps. Not configured is the default option.
Use Azure RMS for WIP. Determines whether WIP uses Microsoft Azure Rights Management to apply EFS encryption to files that are copied from Windows 10 to USB or other removable drives so they can be securely shared amongst employees. In other words, WIP uses Azure Rights Management "machinery" to apply EFS encryption to files when they are copied to removable drives. You must already have Azure Rights Management set up. The EFS file encryption key is protected by the RMS template’s license. Only users with permission to that template will be able to read it from the removable drive. WIP can also integrate with Azure RMS by using the AllowAzureRMSForEDP and the RMSTemplateIDForEDP MDM settings in the EnterpriseDataProtection CSP.
-
On. Protects files that are copied to a removable drive. You can enter a TemplateID GUID to specify who can access the Azure Rights Management protected files, and for how long. The RMS template is only applied to the files on removable media, and is only used for access control—it doesn’t actually apply Azure Information Protection to the files.
If you don’t specify an RMS template, it’s a regular EFS file using a default RMS template that all users can access.
-
Off, or not configured. Stops WIP from encrypting Azure Rights Management files that are copied to a removable drive.
Note
Regardless of this setting, all files in OneDrive for Business will be encrypted, including moved Known Folders.
Allow Windows Search Indexer to search encrypted files. Determines whether to allow the Windows Search Indexer to index items that are encrypted, such as WIP protected files.
-
On. Starts Windows Search Indexer to index encrypted files.
-
Off, or not configured. Stops Windows Search Indexer from indexing encrypted files.
Encrypted file extensions
You can restrict which files are protected by WIP when they are downloaded from an SMB share within your enterprise network locations. If this setting is configured, only files with the extensions in the list will be encrypted. If this setting is not specified, the existing auto-encryption behavior is applied.
Related topics
-
How to collect Windows Information Protection (WIP) audit event logs
-
General guidance and best practices for Windows Information Protection (WIP)
-
Create a Windows Information Protection (WIP) protection policy using Microsoft Intune
Note
Help to make this topic better by providing us with edits, additions, and feedback. For info about how to contribute to this topic, see Editing Windows IT professional documentation.