<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>EMS: From SME to you</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/smeems/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/smeems/feed.xml</link>
    <description>Bringing security to the cloud</description>
    <lastBuildDate>Wed, 11 Jul 2018 21:37:19 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Manage Mobile Browser Access | CA Scenarios for Success (4 of 4)</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/manage-mobile-browser-access</link>
      <pubDate>Wed, 11 Jul 2018 16:32:09 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=555</guid>
      <description><![CDATA[Today we are back with the final installment of our four part series on conditional access scenarios...]]></description>
      <content:encoded><![CDATA[Today we are back with the final installment of our <a href="https://blogs.technet.microsoft.com/smeems/2018/04/11/conditional-access-scenarios-for-success-1-of-4/">four part series on conditional access scenarios for success</a>! We often hear from our customers that they want to give end users flexibility to access corporate resources on the go through their mobile browser, but still need the ability to manage that access and prevent data loss. When users access data through apps that support Intune App Protection, such as the Intune Managed Browser/Outlook/OneDrive, we can enforce policies to prevent data loss; however, up until a few months ago we had no way <span>to </span>force the use of a MAM protected app when accessing web resources. This left customers running the risk of data leakage when users accessed resources through unmanaged browsers such as Safari/Chrome.

&nbsp;

Thanks to new features of Conditional Access, we can block access to corporate resources on unmanaged browsers (such as Safari/Chrome) and force the use of the Intune Managed Browser! This enables web view of O365 and on-premises resources published through App Proxy to only be available through the Intune Managed Browser where we can prevent data loss with Intune App Protection policies.

&nbsp;

The additional benefit to end users? True Single Sign-On to Office 365 and other Azure AD applications! When your users access other web applications from the Intune Managed Browser (such as third party federated apps or those you have published with App Proxy), they will be seamlessly signed in to these applications- no username/password prompts. So this is a great improvement in end-user experience and accessing applications that they may need to use on mobile devices!
<h2>Scenario Requirements</h2>
This scenario requires a single Conditional Access policy along with an Intune App Protection policy targeting the Managed Browser, plus any other applications you want to protect. In our configuration today we focus on ExO/SPO, but you can extend the Intune App Protection policy to ensure the DLP settings are in place across additional applications.

&nbsp;
<ul type="disc">
 	<li><span>Conditional Access policy</span>
<ul type="circle">
 	<li><span>Policy: scoped to EXO/SPO, targets Browser for iOS and Android, and requires devices use the </span><span>Approved Client App</span></li>
</ul>
</li>
 	<li><span>Intune App Protection Policy</span>
<ul type="circle">
 	<li><span>Policy: targets the Intune Managed Browser (plus at least one other application*), configured to meet your desired security settings to protect your corporate data (i.e. disallow copy/paste to unmanaged locations, etc)</span></li>
</ul>
</li>
</ul>
&nbsp;

With these two policies, we lock down web traffic to corporate resources on mobile devices to the Intune Managed Browser, and then use Intune App Protection to ensure that the applications are managed with the application controls. This enables a managed experience when accessing corporate web resources, while also providing an improved end-user experience with SSO via the Managed Browser!

&nbsp;
<h2>Configuration Steps</h2>
<ol type="1">
 	<li value="1"><span>Create the Conditional Access policy that targets EXO/SPO to force users who are accessing these resources via the Web are doing so via the Intune Managed Browser</span></li>
</ol>
<img width="1330" height="800" class="alignnone size-full wp-image-575" alt="Conditional access policy configuration" src="https://msdnshared.blob.core.windows.net/media/2018/07/image50.png" />
<ol type="1">
 	<li value="2"><span>Create an Intune App Protection policy that targets the Intune Managed Browser and any other apps you plan on protecting</span></li>
</ol>
<img width="736" height="734" class="alignnone size-full wp-image-585" alt="MAM policy configuration" src="https://msdnshared.blob.core.windows.net/media/2018/07/image51.png" />

<strong>*NOTE:</strong><span> The Intune Managed Browser </span><em><strong>cannot</strong></em><span> be the only application you target with this policy. It does not have the ability to communicate with the App Protection service on its own, so a user will need to set up another managed application before the Managed Browser will receive policy</span>

Once you have completed these two steps, you are ready to move on and start testing this scenario.

&nbsp;
<h2>End-User Experience</h2>
Let's take a look at what the end-user experience looks like after you implement this scenario.

&nbsp;

When a user opens the native browser on their device and tries to access Exchange Online or SharePoint Online/OneDrive content, they will see a message redirecting them to the Intune Managed Browser. To access the desired corporate resource, they simply click on "Launch in app" button and are seamlessly redirected if they already have the app installed. If they do not yet have it installed, there is a link they can click that will take them to their device's app store to download the application.

<img width="750" height="742" class="alignnone size-full wp-image-595" alt="screenshot of being blocked in the native browser" src="https://msdnshared.blob.core.windows.net/media/2018/07/image52.png" />

The first time users launch the Managed Browser, they will be prompted to install the Microsoft Authenticator application. This is our "broker" application that relays the identity of the application to Azure AD and allows the Conditional Access check to be satisfied. You can read more about "broker" apps and the entire validation process <a href="https://docs.microsoft.com/en-us/intune/app-based-conditional-access-intune#how-app-based-conditional-access-works">here</a>.

&nbsp;

The Authenticator app also provides SSO inside the Managed Browser for end-users. So once this app is installed and configured, they will be able to seamlessly sign in to Office 365 and other Azure AD web resources through the Managed Browser.

<img width="530" height="704" class="alignnone size-full wp-image-605" alt="install authenticator prompt in the intune managed browser app" src="https://msdnshared.blob.core.windows.net/media/2018/07/image53.png" />

Once the Authenticator setup is complete, the end-user arrives at the link they were originally attempting to access in their device's native browser. So you can see below that they have landed in OWA and are successfully seeing their mailbox in the Managed Browser!

<img width="550" height="740" class="alignnone size-full wp-image-615" alt="owa in managed browser" src="https://msdnshared.blob.core.windows.net/media/2018/07/image54.png" />
<h2>In Review</h2>
<strong>Scenario Goal</strong>: Ensure users access web resources (like OWA, SPO, OneDrive, etc) from an app with Intune App Protection applied- the Intune Managed Browser

&nbsp;

<strong>Scenario Scope</strong>: iOS/Android

&nbsp;

<strong>Recommended when…</strong>
<ul type="disc">
 	<li><span>You allow browser access to corporate data on mobile devices</span></li>
 	<li><span>You want to extend Intune App Protection capabilities to the browser</span></li>
</ul>
&nbsp;

This wraps up our four-part series on Conditional Access and Scenarios for Success. We hope you have found it helpful and now find your environment a bit more secure! Have more questions about securing mobile device access to Office 365? Have you tried out these conditional access scenarios? Let us know in the comments below!]]></content:encoded>
    </item>
    <item>
      <title>Force Protected Apps or Devices | CA Scenarios for Success (3 of 4)</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/force-protected-apps-or-devices-conditional-access-3-of-4</link>
      <pubDate>Thu, 28 Jun 2018 13:34:53 GMT</pubDate>
      <dc:creator><![CDATA[Josh Douglas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=465</guid>
      <description><![CDATA[&nbsp;



&nbsp;

We are back today for part two of our four part series on conditional access...]]></description>
      <content:encoded><![CDATA[&nbsp;

<img width="728" height="246" class="alignnone wp-image-525 size-full" alt="scenariosummary" src="https://msdnshared.blob.core.windows.net/media/2018/06/scenariosummary.png" />

&nbsp;

We are back today for part <a href="https://blogs.technet.microsoft.com/smeems/2018/04/11/conditional-access-scenarios-for-success-1-of-4/">two of our <span>four part series</span></a> on conditional access scenarios for success. Today, we will discuss how to restrict resource access from mobile devices unless they are managed by Intune (and compliant) <span>or</span> using an approved application (like Outlook mobile). You may want to protect your corporate data, but also want to balance the experience that end-users have while using these protected resources. To do this, customers can leverage Conditional Access rules to go through and secure email access, but give end users a choice on which mail client they would like to use.

&nbsp;

Many users love using the native applications on their mobile devices to access email, while others may be fine using Outlook mobile instead. We can allow users to access email in the application they want while staying secure. Regardless of the choice your end users make, IT can rest assured that they will be accessing mail in a secure way. In this scenario, your users have two choices:
<ul type="disc">
 	<li><span>Use the native mail client, but enroll my device in to Microsoft Intune</span></li>
 	<li><span>Use Outlook mobile with Intune App Protection policies applied to secure the corporate data</span></li>
</ul>
This scenario enables users to securely access corporate data from their mobile device while giving them options; IT achieves the sweet spot of securing corporate resource access in a way that promotes positive end-user experiences.

&nbsp;
<h2><span>Scenario Requirements</span></h2>
This scenario is simple to fulfill- all it requires is setting up a conditional access policy. That's it!
<ul type="disc">
 	<li><span>One Conditional Access policy</span>
<ul type="circle">
 	<li><span>Policy: scoped to EXO/SPO, targets Mobile Apps and Desktop Clients for Modern Auth and Exchange ActiveSync, and requires devices be </span><span>either </span><span>Compliant </span><span>or</span><span> using the Approved Client App</span></li>
</ul>
</li>
</ul>
With this single policy, we target both the modern auth and Exchange ActiveSync channel, ensuring that with either option a user chooses they will be protected (see <strong><a href="#additionalinfo">Additional Options on how to secure Office 365</a></strong> for how to protect third party apps).  This gives end users the flexibility they are looking for, while ensuring that corporate data remains secure.

&nbsp;
<h2><span>Configuration Steps</span></h2>
<ul type="disc">
 	<li><span>Create the Conditional Access policy to require mobile devices either be enrolled or using an Approved App to access corporate data</span></li>
</ul>
&nbsp;

<img width="1062" height="338" class="alignnone wp-image-515 size-full" alt="capolicyconfiguration" src="https://msdnshared.blob.core.windows.net/media/2018/06/capolicyconfig1.png" />

&nbsp;

Once enabled, this policy will do everything that you need in regards to setting this scenario up.

&nbsp;
<h2><span>End User Experience</span></h2>
Let's take a look at how these policies impact the end user experience.

When a user tries to set up the native mail client on an iOS 11 device, they will see this message prompting them to enroll in to Intune:

&nbsp;

<img width="637" height="738" class="alignnone size-full wp-image-485" alt="blockmessagemodernauth" src="https://msdnshared.blob.core.windows.net/media/2018/06/blockmessage.png" />

&nbsp;

Since this is a modern auth client, we stop them before they can even finish setting up the mailbox on the device. The experience differs a bit using the legacy EAS authentication channel, which allows the mailbox to be set up, but quarantines the device in EXO and prompts the user to enroll. That message looks like this:

&nbsp;

<img width="540" height="360" class="alignnone size-full wp-image-475" alt="emailquarantinemessage" src="https://msdnshared.blob.core.windows.net/media/2018/06/blockemail.png" />

&nbsp;

So these are the two prompts your end users may get when you set this scenario up, so make sure that you provide some communications to them on what to expect if they are trying to use the native mail client on their device.

If users are using Outlook mobile, they will be prompted to set up the "broker" app on their device based on their device platform. On iOS devices, they will need to install the Microsoft Authenticator app; on Android, they will need to install the Company Portal (so if you are using Intune App Protection for Android today, end users should already have this installed). Part of this process of installing the broker app is also registering the device with Azure AD. The broker app becomes the manager for connections to Azure AD/Office 365 and is in charge of determining that the application trying to connect to cloud services is indeed an approved application. You can read more about this here: <a href="https://docs.microsoft.com/en-us/intune/app-based-conditional-access-intune">https://docs.microsoft.com/en-us/intune/app-based-conditional-access-intune</a>

&nbsp;
<h2 id="additionalinfo"><span>Additional options to secure Office 365</span></h2>
We have also recently had the option arrive in Conditional Access to block legacy authentication. Until this was available, Conditional Access only worked with modern authentication and EAS clients. We can now block all traffic coming in to Office 365/Azure AD with Conditional Access (including Exchange Web Services, SMTP, POP, IMAP, etc). We strongly recommend you create a simple policy in Conditional Access to target "Other Clients" and <span>block</span> that traffic. This ensures that legacy mail clients using other connection options than modern auth or EAS will be blocked. You can read more about this new functionality here: <a href="https://cloudblogs.microsoft.com/enterprisemobility/2018/06/07/azure-ad-conditional-access-support-for-blocking-legacy-auth-is-in-public-preview/">https://cloudblogs.microsoft.com/enterprisemobility/2018/06/07/azure-ad-conditional-access-support-for-blocking-legacy-auth-is-in-public-preview/</a>

&nbsp;
<h2><span>In Review</span></h2>
<strong>Scenario Goal:</strong> Protect corporate data on mobile device while giving users a choice on how they want to use their mobile device

<strong>Scenario Scope:</strong> iOS/Android

<strong>Recommended when…</strong>
<ul type="disc">
 	<li><span>Customers are concerned about protecting mobile access to Office 365</span></li>
 	<li><span>There is an end-user population who uses the native applications today</span></li>
 	<li><span>Customers want to provide options to end-users in how they access Office 365 data</span></li>
</ul>
In the next post of this series, we will shift our focus to how we can ensure users are accessing web content via the Managed Browser instead of the native device browsers. Have more questions about securing mobile device access to Office 365? Have you tried out these conditional access scenarios? Let us know in the comments below!

&nbsp;

-Josh and Sarah]]></content:encoded>
    </item>
    <item>
      <title>Creating Device Groups Based on User Groups with Graph API</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/user-based-device-groups</link>
      <pubDate>Fri, 11 May 2018 08:59:29 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=395</guid>
      <description><![CDATA[We are here today with another post that focuses on using Graph API to automate actions in Azure AD!...]]></description>
      <content:encoded><![CDATA[We are here today with another post that focuses on using Graph API to automate actions in Azure AD! Today, our post will be focusing on how to create device groups that only contain the devices belonging to users in a certain security group. <a href="https://blogs.technet.microsoft.com/smeems/2018/02/01/dynamic-aad-groups/">As we talked about in a previous post</a>, dynamic groups are powerful feature in Azure AD that allow you to automatically populate groups based on their user or device attributes. We oftentimes have customers ask how they can create a dynamic <em>device</em> Group based on <em>user</em> groups. In today's Dynamic Device Groups UI, you cannot base the membership of a dynamic device group on the owning users' attributes. However, if you look beyond the UI, we can absolutely achieve this with Graph API!

&nbsp;
<h2>Today's Goal: Populate a device group with devices belonging to users in a particular security group</h2>
&nbsp;

To achieve this goal, we have written a script that you can run a few different ways, depending on how you want to populate your device group. We have 3 scenarios…

&nbsp;
<ol type="1">
 	<li value="1"><span>I want to populate users' devices in to a device group if they are a member of a particular security group</span></li>
 	<li><span>I want to populate users' </span><em>corporate</em><span> devices in to a device group if they are a member of a particular security group</span></li>
 	<li><span>I want to populate users' </span><span><em>personal</em> </span><span>devices in to a device group if they are a member of a particular security group</span></li>
</ol>
&nbsp;
<h2>How do I run this script?</h2>
First, download a copy of the script from the TechNet Gallery: <a href="https://gallery.technet.microsoft.com/Create-Device-Group-Based-73eb063e">https://gallery.technet.microsoft.com/Create-Device-Group-Based-73eb063e</a>

&nbsp;

Once you have a copy, you will need to ensure you have the Azure AD PowerShell module installed. If you do not, you can simply launch PowerShell and run: <em>Install-Module -Name AzureAD</em>

You will also need to run this with a Global Admin account to ensure you have the right permissions to achieve everything the script is doing. If you want to try and delegate permissions, take a look at this blog post where I address delegating rights: <a href="https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#delegate">https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#delegate</a>

&nbsp;

The script written is set up to be run to meet one of these 3 scenarios. Depending on the scenario you want to achieve, you will start script execution a certain way. In the order of the scenarios above…

&nbsp;
<ol type="1">
 	<li value="1"><em>.\Add-SpecificDevicestoAADGroup.ps1</em></li>
 	<li><em>.\Add-SpecificDevicestoAADGroup.ps1 -CorporateOnly</em></li>
 	<li><em>.\Add-SpecificDevicestoAADGroup.ps1 -PersonalOnly</em></li>
</ol>
&nbsp;

Depending on how you choose to start the script, that will determine which types of devices the script will find and add to your specified device group.

&nbsp;

Now that we know how to start the script, let's talk about what to expect when you run it…
<h2>So what exactly does the script do?</h2>
Once you start the script using one of the options above, a few things happen. The first thing it does is ensure you did not run the script using both the<em> -CorporateOnly</em> and<em> -PersonalOnly </em>switches. If you did, the script will stop right there and inform you that you should start it again and choose only one switch. If you want to run the script and get all devices for users in a group, simply execute it with no switch selected.

&nbsp;

The next thing it does is ask you two important questions…

&nbsp;
<ol type="1">
 	<li value="1"><span>Enter the Azure AD user group name that contains the users who have the devices you are adding to a group:</span></li>
 	<li><span>Enter the Azure AD device group name where devices will be assigned as members:</span></li>
</ol>
&nbsp;

For the first question, you need to specify the AAD group that contains the users who have devices that you want to add to a device group. <span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">This group needs to be created in advance of running the script. </span>The name you enter is not case sensitive, and as soon as you enter it we do validation to ensure it is indeed a group in AAD and pull the members from it.

&nbsp;

For the second question, you need to specify the group that you are using as the destination for all the user's devices. This group needs to be created in advance of running the script. Again, once you enter the name (not case sensitive), we validate that the group does indeed exist in AAD and pull the current list of members in the group. We pull the members in this group so that way we can check that devices we find for users in the first group are not already members of the destination group.

&nbsp;

Once we have this info, this is where we start pulling devices from Intune and adding the AAD object to the destination group you specified. We do some validation to ensure that when we try to add the device that it does not already exist. Below are some screenshots that show the 2 experiences for what can happen with a device…
<ol type="1">
 	<li value="1"><span>Device does not already exist in the Device Group (destination)</span></li>
</ol>
<span>  <img width="834" height="203" class="size-full wp-image-415 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/blog1.png" /></span>
<ol type="1">
 	<li value="2"><span>Device does already exist in the Device Group (destination)</span></li>
</ol>
<img width="860" height="212" class="size-full wp-image-425 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/blog2.png" />

There is also the scenario that a user in the group does not have any Intune registered devices. If this happens, you will see this output:

<img width="875" height="154" class="size-full wp-image-435 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/blog3.png" />

&nbsp;

Once the script finishes executing (as long as we added at least 1 device to the group, or 1 device existed in the group) you will get a summary of the number of devices that were added to the group, and also the number of devices that already existed in the group. That output looks like this:

<img width="384" height="68" class="size-full wp-image-445 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/blog4.png" />

You can then go and check out your group in AAD, and see that the devices you added are indeed now included in the group:

<img width="936" height="220" class="size-full wp-image-405 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/05/blog5.png" />
<h2>Bringing It All Together</h2>
You now have everything you need to download the script and start creating device groups based on the membership of a security group. You can run this script as many times as you need, and we will handle ensuring that the appropriate devices are added to the group you specify, and if they are already there, we will let you know directly in the PowerShell window. So feel free to start using this to build your device groups based on security group membership!

&nbsp;

To ensure that this script updates the group membership as users get new devices, you can create a scheduled task to ensure that the script runs every day. We covered how to set this up in one of our previous blog posts here: <a href="https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#create">https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#create </a>

&nbsp;

If you are interested in learning more about automation opportunities with Intune, go check out our PowerShell samples on Github: <a href="https://github.com/microsoftgraph/powershell-intune-samples">https://github.com/microsoftgraph/powershell-intune-samples</a>

&nbsp;

The script written today started by downloading a sample and modifying it to meet our needs: <a href="https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/ManagedDevices_Add_ToAADGroup.ps1">https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/ManagedDevices_Add_ToAADGroup.ps1</a>

&nbsp;

These samples can be very handy in putting together scripts that will help with your automation opportunities. Looking for guidance on how to automate other Intune and AAD actions? Let us know in the comments below.

&nbsp;

Happy scripting!

&nbsp;

-Josh and Sarah]]></content:encoded>
    </item>
    <item>
      <title>Protect Unmanaged PC Access | CA Scenarios for Success (2 of 4)</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/protect-unmanaged-pc-access</link>
      <pubDate>Wed, 02 May 2018 09:31:52 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=285</guid>
      <description><![CDATA[We are back today for part two of our four part series on conditional access scenarios for success....]]></description>
      <content:encoded><![CDATA[<img width="884" height="300" class="alignnone wp-image-295" alt="Graphic covering benefits of restricting unmangaed PC access" src="https://msdnshared.blob.core.windows.net/media/2018/05/image23-e1525269745127.png" />We are back today for part two of our <a href="https://blogs.technet.microsoft.com/smeems/2018/04/11/conditional-access-scenarios-for-success-1-of-4/"><b>four part series</b></a> on conditional access scenarios for success. Today, we will discuss how to restrict unmanaged PCs from accessing corporate resources. We often hear that organizations want to empower their employees to be productive, even on their personal PCs- but that they need to do so in a way that prevents users from leaking their corporate data. We find that most want to enable full resource access (such as through thick clients) only from corporate PCs where they have the capability to wipe/manage that data. However, they still need to provide some access from personal PCs- which we can accomplish by enabling browser-only access with MFA enforced for personal PCs, providing a more limited (yet still protected) experience. Today, we are going to focus on implementing this for SharePoint Online and Exchange Online, since we see most organizations focused first on protecting mail and files, but you can extend these policies to other corporate resources as well.

&nbsp;

This scenario enables personal, unmanaged devices (non domain-joined) to access their corporate resources through the browser only with MFA controls, while allowing only domain-joined (corporate) devices to access corporate data using thick clients. Additionally, we can use SharePoint session controls to enforce restrictions for browser access on personal PCs, preventing users from downloading/printing/syncing their files.
<h2><span>Scenario Requirements</span></h2>
This scenario is simple to fulfill- all it requires is setting up two conditional access policies, enabling SharePoint session controls, and configuring Hybrid Azure AD Join for your domain-joined devices. Let's dive a little deeper into these requirements before we begin setting up the CA policies!
<ul>
 	<li><span>Two Conditional Access policies</span>
<ul type="disc">
 	<li><span>1st Policy: scoped to EXO/SPO/etc., that targets Client Apps and requires devices be Domain Joined to access. This policy will prevent non-domain joined devices from accessing ExO/SPO through thick clients.</span></li>
 	<li><span>2nd Policy: scoped to EXO/SPO/etc., that targets the Browser, excludes Trusted Networks, and requires MFA and Session Controls to access. This policy will allow browser-only access to ExO/SPO for personal devices and will force them to complete a MFA prompt before being granted access. For SPO, additional controls will be in place to prevent downloading/printing/syncing.</span></li>
 	<li>For Conditional Access policies to take effect, you also need to ensure the targeted users have Azure AD Premium licenses assigned.</li>
</ul>
</li>
 	<li><a href="https://support.office.com/en-us/article/Control-access-from-unmanaged-devices-5ae550c4-bd20-4257-847b-5c20fb053622"><span>Access control restrictions enabled in SPO</span></a><span> (required for Session Controls to work)</span>
<ul type="disc">
 	<li><span>In the SharePoint admin center under "access control" we will "allow limited, web-only access" for unmanaged devices</span><img width="768" height="500" class="alignright wp-image-305" alt="Screenshot of the access control policy in the SPO Admin Center" src="https://msdnshared.blob.core.windows.net/media/2018/05/image24-1024x667.png" /></li>
 	<li><em><span style="text-decoration: underline"><strong>NOTE:</strong> </span></em>When you enable these access controls in the SharePoint admin center it automatically creates two conditional access policies in Azure AD that by default apply to all users. You have two options: you can either modify the auto-created policies to target the specific security groups you want to receive this policy and add ExO as a targeted cloud app. Or, you can delete the auto-created policies and follow the configuration steps below to create them.</li>
</ul>
</li>
 	<li><a href="https://docs.microsoft.com/en-us/azure/active-directory/device-management-hybrid-azuread-joined-devices-setup"><span>Hybrid Azure AD Joined Devices</span></a>
<ul type="disc">
 	<li><span>In order for conditional access to consider a device "Hybrid Azure AD joined", it must be a Windows device that is<span> joined to an on-premises AD</span> and registered to Azure AD using Hybrid Azure AD Join. Follow the <a href="https://docs.microsoft.com/en-us/azure/active-directory/device-management-hybrid-azuread-joined-devices-setup">straightforward instructions in this doc</a> to get Hybrid Azure AD Join configured for your devices.</span></li>
</ul>
</li>
</ul>
<h2><span>Configuration Steps</span></h2>
To configure the two conditional access policies, simply follow the configuration outlined in the screenshots below.

&nbsp;

<strong>Policy 1</strong>- Enabling thick client access for only domain joined devices (effectively blocking thick client access for personal, non domain-joined devices)

<img width="1024" height="339" class="size-large wp-image-315 alignleft" alt="Screenshot of the conditional access CA policy configuration" src="https://msdnshared.blob.core.windows.net/media/2018/05/image25-e1525270279898-1024x339.png" />

<strong>Policy 2</strong>- Enforces MFA to access ExO/SPO through the browser on personal PCs, with additional session controls for SPO.

<img width="1024" height="353" class="alignnone wp-image-325 size-large" alt="Screenshot of CA policy #2 for SPO session controls, the conditions section" src="https://msdnshared.blob.core.windows.net/media/2018/05/image26-e1525271216440-1024x353.png" />

<img width="367" height="250" class="wp-image-335 alignnone" alt="Screenshot of the controls in the CA policy for sharepoint sesion controls" src="https://msdnshared.blob.core.windows.net/media/2018/05/image27-e1525270775139.png" />
<i>
</i>
<h2><span>End User Experience</span></h2>
Let's take a look at how these policies impact the end user experience.

When we try to access the Teams client on an unmanaged device (which honors CA policies targeted to SPO), end users will be blocked and notified that they need to be domain joined.

<img width="528" height="400" class="alignnone wp-image-345" alt="Screenshot of the end user experience on an unmanged PC access the Teams thick client. The end user receives a notification that they aren't able to access it because they're on an unmanaged device" src="https://msdnshared.blob.core.windows.net/media/2018/05/image28-1024x776.png" />

On that same unmanaged devices, if we try to access OneDrive through the browser we will see this limited experience enforced by the SharePoint Online session controls. The banner on the top of the page notifies the end user that they can't download/print/sync using this unmanaged device. This enables your end users to stay productive by accessing and editing documents, while preventing that corporate data from leaking to this unmanaged device.

<img width="1024" height="316" class="alignright size-large wp-image-355" alt="Screenshot of end user experience on an unamanged PC access SPO through the browser. the user gets a message that they can access/edit files but are prevented form downloading/printing/syncing" src="https://msdnshared.blob.core.windows.net/media/2018/05/image29-1024x316.png" />

<img width="1024" height="422" class="alignright size-large wp-image-365" alt="Screenshot of end user experience accessing word online (part of SPO) on an unmanaged PC. They can edit the doc but can't sync/download/print" src="https://msdnshared.blob.core.windows.net/media/2018/05/image30-1024x422.png" />
<h2><span>In Review</span></h2>
<strong>Scenario Goal:</strong> Allow only Domain Joined devices to access corporate data using thick clients, but restrict unmanaged device access to the browser with MFA

<strong>Scenario Scope:</strong> Windows PCs

<strong>Recommended when…</strong>
<ul type="disc">
 	<li><span>You want to enable remote access to web resources on personal PCs</span></li>
 	<li><span>You only want full resource access from corporate PCs</span></li>
 	<li><span>You want a strong, yet flexible, security posture for Windows PCs</span></li>
</ul>
&nbsp;

In the next post of this series, we will shift our focus to protecting corporate data on mobile devices. Have more questions about protecting unmanaged PC access? Have you tried out these conditional access scenarios? Let us know in the comments below!

&nbsp;

-Sarah and Josh]]></content:encoded>
    </item>
    <item>
      <title>Conditional Access | Scenarios for Success (1 of 4)</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/conditional-access-scenarios-for-success-1-of-4</link>
      <pubDate>Wed, 11 Apr 2018 14:07:31 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=255</guid>
      <description><![CDATA[Hello folks! Conditional Access is quickly becoming one of the most popular features our customers...]]></description>
      <content:encoded><![CDATA[Hello folks! Conditional Access is quickly becoming one of the most popular features our customers want to implement- it allows you to secure your corporate resources (such as Office 365) with quick and simple policies.

&nbsp;

We have identified 3 common scenarios that customers implement using conditional access. These scenarios secure your environment from different angles, enabling more holistic coverage. These are by no means the <span>only</span> policies that you can or should implement, but we have found them to be successful in addressing the most common customer scenarios we see.

&nbsp;

This post is the first installment of a four-part series on securing your environment with these conditional access scenarios. In this series, we will identify the requirements for each of these scenarios and cover configuration steps so you can implement them in your environment.

&nbsp;

In today's post, we will introduce the three scenarios, their goals, and when they may be appropriate for you- stay tuned for posts on how to enable these scenarios in the coming weeks!

<img width="1024" height="377" class="alignnone size-large wp-image-265" alt="Graphic of the three scenarios: restrict unmanaged PC access, enforce approved apps or devices, enforce managed browser" src="https://msdnshared.blob.core.windows.net/media/2018/04/cascnearioblog-1024x377.png" />
<h2><strong>SCENARIOS</strong></h2>
<h3><a href="https://blogs.technet.microsoft.com/smeems/2018/05/02/protect-unmanaged-pc-access/">Restrict Unmanaged PC Access</a></h3>
<strong>Scenario Goal</strong>: Allow only Domain Joined devices to access corporate data using thick clients, but restrict unmanaged device access to the browser with MFA

<strong>Scenario Scope</strong>: Windows PCs

<strong>Recommended when…</strong>
<ul type="square">
 	<li><span>You want to enable remote access to web resources on personal PCs</span></li>
 	<li><span>You only want full resource access from corporate PCs</span></li>
 	<li><span>You want a strong, yet flexible, security posture for Windows PCs</span></li>
</ul>
<h3><a href="https://blogs.technet.microsoft.com/smeems/2018/06/28/force-protected-apps-or-devices-conditional-access-3-of-4/">Enforce Protected Apps or Devices</a></h3>
<strong>Scenario Goal:</strong> Enable users to access corporate data on their mobile devices in a way that you can protect and wipe. You want to ensure users are accessing corporate data in Office 365 using either an Intune managed device (MDM) or using an application that supports Intune App Protection policies (MAM).

<strong>Scenario Scope:</strong> iOS/Android devices

<strong>Recommended when…</strong>
<ul type="square">
 	<li><span>You need to protect mobile access to Office 365</span></li>
 	<li><span>You allow end-users to access corporate data using their personal devices</span></li>
 	<li><span>You have an end-user population who uses native email apps today</span></li>
 	<li><span>You want to provide options to end-users in how they access Office 365 data</span></li>
</ul>
<h3><a href="https://blogs.technet.microsoft.com/smeems/2018/07/11/manage-mobile-browser-access/">Enforce Managed Browser/Manage Mobile Browser Access</a></h3>
<strong>Scenario Goal:</strong> Ensure end-users access web resources (OWA, SPO, app proxy published resources, etc.) from an app with Intune App Protection policies applied the Intune Managed Browser

<strong>Scenario Scope</strong>: iOS/Android devices

<strong>Recommended when…</strong>
<ul>
 	<li>You allow browser access to corporate data on mobile devices</li>
 	<li>You are already using Intune App Protection for Office 365 apps</li>
 	<li>You want to extend Intune App Protection capabilities to the browser</li>
</ul>
&nbsp;

In the next few weeks we will talk more in depth about the steps required to enable each of these scenarios.

&nbsp;

Have questions? Let us know in the comments below!

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Automating Stale Device Cleanup with Graph API</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/device-cleanup-with-graph-api</link>
      <pubDate>Wed, 07 Mar 2018 16:51:41 GMT</pubDate>
      <dc:creator><![CDATA[Josh Douglas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=225</guid>
      <description><![CDATA[We are back with another post today on how you can use Graph API to automate actions in Intune. We...]]></description>
      <content:encoded><![CDATA[We are back with another post today on how you can use Graph API to automate actions in Intune. We hear from a lot of customers that they want to automatically clean up devices that have not checked in with Intune in 90 days. Since Intune is built on top of Graph API, we can automate this pretty easily.

&nbsp;
<h2>Today's Goal: <strong>Wipe devices that have not checked in with the service for 90 or more days.</strong></h2>
&nbsp;
<h2>Why Should I Automate Device Cleanup?</h2>
Well, there is nothing saying that you <span>have to</span>… but if you are anything like us, it is nice to keep our tenant records clean. Sometimes devices stop checking in or are no longer managed, but their record stays around in the Intune console. This can inflate the reported number of devices being managed by Intune, and potentially even cause you to see duplicate records for the same device. Through automating device cleanup, you can run the below script to (1) go through and get a list of all of your devices that have not checked in for 90+ days, and then (2) determine if you want to proceed with retiring all of those devices from the Intune console.

&nbsp;
<h2>How Do I Run This Script?</h2>
<ol type="1">
 	<li value="1"><span>Download a copy of the script from the TechNet Gallery. You can find it at this link: <a href="https://gallery.technet.microsoft.com/Script-to-Remove-Stale-8328aca0">https://gallery.technet.microsoft.com/Script-to-Remove-Stale-8328aca0 </a></span></li>
</ol>
&nbsp;
<ol type="1">
 	<li value="2"><span>Ensure that rights have been delegated so the service account (if you are not using a Global Admin for this task) has permissions to execute actions via Graph API. We discussed more details on this in a previous blog post. For more detail here about setting up a service account and granting rights for it to execute actions against Graph API: </span><a href="https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#delegate"><span>https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#delegate</span></a></li>
</ol>
&nbsp;
<ol type="1">
 	<li value="3"><span>Set up your method for authenticating to Graph API. Review the aforementioned blog post for steps to determine how to set up your authentication file: </span><a href="https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#set"><span>https://blogs.technet.microsoft.com/smeems/2017/12/18/automate-dep-assignment/#set</span></a><span> </span></li>
</ol>
&nbsp;
<ol type="1">
 	<li value="4"><span>Open the script and search for </span><span>#update</span><span> before running. This will allow you to specify your username and the path to the secure password file on your machine. Remember, when you generate the secure password file it is only valid on the machine it was created on. So, you cannot move it to other machines and run the script without creating a new password file.</span></li>
</ol>
&nbsp;
<h2>So What Does This Script Do?</h2>
The script first returns all of the devices that have not checked in with the Intune service for 90 or more days by calling Graph API. Once we have all of these device records, we ask for admin input on a few items…

&nbsp;
<ol type="1">
 	<li value="1"><span>We first ask if you want to see all of the returned devices right in the PowerShell window formatted as a table. This allows you to quickly view the devices returned, and may be better used if you do not think there are many devices that fit the criteria of not having checked in for 90+ days.</span></li>
 	<li><span>We then ask if you want to export device info to a CSV, that way you can further review the devices that have not checked in within 90 days. When this CSV is created, we check to see if there is a file path at "C:\temp", and if not, we create a folder there and then create the CSV in that location.</span></li>
</ol>
<strong>***Proceed with caution! Read the below IMPORTANT NOTE before completing step 3***</strong>
<ol type="1">
 	<li value="3"><span>Finally, we verify that you are indeed ready to start removing these stale devices. When you go forward with this, we first issue a "Retire" command, and then we follow up with a "Delete" command for each device in the returned devices from Graph API.</span></li>
</ol>
&nbsp;

<span><strong>IMPORTANT NOTE: </strong></span>

<span><strong>Once you continue with step 3, there is no going back. The devices that were returned initially will be retired/wiped, meaning they will be removed from Intune. Ensure you are ready to do this. We recommend you review all of the devices returned and make sure that you do indeed want to remove them.</strong> </span>

<strong>We recommend you run this script manually each time and do not set it up to run in a Scheduled Task. By running it manually you can ensure that nothing is removed that you do not want to remove.</strong>

&nbsp;

The other great thing about Intune being built on top of Graph API is that we have full auditing capabilities. So whenever you run this script, you can then look at the Audit Logs in Intune and see that the devices were retired and deleted. Here is a screenshot of what these logs look like after running the script:

<img width="1024" height="215" class="alignnone size-large wp-image-235" alt="Screenshot of UI in Intune Azure portal of the Intune device audit logs. Shows that an admin initiated delete and retire commands" src="https://msdnshared.blob.core.windows.net/media/2018/03/image70-1024x215.png" />

We capture the date, who initiated the wipe, and what the activity was on the device. The two records in the screenshot above represent the running of this cleanup script and removing a stale device that had not checked in since November of last year. So even though you are executing these actions via PowerShell, you will still have an audit trail.

&nbsp;
<h2>Bringing It All Together</h2>
You now have everything you need to download the sample script and remove any stale devices that may be lingering in your tenant. Again, execute this script with caution because it can remove a large number of devices. Review the exportable CSV to ensure that everything being removed from Intune lines up with what you are looking to accomplish. With all of these things in mind, you should be able to clean up your tenant and get rid of those pesky, stale device records!

&nbsp;

If you are interested in learning more about automation opportunities with Intune, go check out our PowerShell samples on Github: <a href="https://github.com/microsoftgraph/powershell-intune-samples">https://github.com/microsoftgraph/powershell-intune-samples</a>

&nbsp;

The script written today started by downloading a few of these samples and modifying them to achieve our needs. The two base samples used were:
<ul>
 	<li>Authenticate from a File: <a href="https://github.com/microsoftgraph/powershell-intune-samples/tree/master/Authentication">https://github.com/microsoftgraph/powershell-intune-samples/tree/master/Authentication</a></li>
 	<li>Invoke a device action: <a href="https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/Invoke_DeviceAction_Set.ps1">https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/Invoke_DeviceAction_Set.ps1</a></li>
</ul>
These samples can be very helpful in putting together scripts that will help with your automation opportunities. Looking for guidance on how to automate other Intune actions? Let us know in the comments below.

&nbsp;

Happy scripting!

&nbsp;

-Josh and Sarah]]></content:encoded>
    </item>
    <item>
      <title>The Magic of Dynamic Groups</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/dynamic-aad-groups</link>
      <pubDate>Thu, 01 Feb 2018 11:57:25 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=135</guid>
      <description><![CDATA[One request that we commonly hear from our customers is that they want to simplify the management of...]]></description>
      <content:encoded><![CDATA[One request that we commonly hear from our customers is that they want to simplify the management of resource access and policy assignments for their end users. Today, you may be spending time manually updating group memberships or reassigning resource access when an employee moves to a new location, gets a new device, or has a new job title. As long as these attributes are syncing to Azure AD, we can automate this process using dynamic groups in Azure AD!

&nbsp;

Today we will cover the basics of dynamic groups and how to implement them for common scenarios we hear from customers.
<h2>What are Dynamic Groups?</h2>
Simply put, dynamic groups are automatically populated groups based on user or device attributes in Azure AD. For example, if you want a group of all your users in Chicago, you could create a dynamic group with a rule for users in that city. When a user's attributes change, they will be automatically added or removed from a dynamic group. In our example, if Mary lived in Chicago and then moved to Phoenix, once the city attribute changes she will be automatically removed from the Chicago group!

&nbsp;

Admins have two options when creating dynamic groups: <span>dynamic device groups</span> or <span>dynamic user groups</span>. It's important to note that you can't create a dynamic group that has both user and device objects. Additionally, this feature does require AADP P1 licensing.

&nbsp;

Dynamic groups become more powerful when you combine them with the other EMS features, such as group-based licensing, conditional access, and Intune. When you use dynamic groups for policy or license assignments, you ensure that your users will get the appropriate access and policies based upon their attributes. In our above example, if you were automatically giving access to a SaaS app and assigning an O365 license to the dynamic Chicago users group, then when anyone moves to the city and their AAD attribute is updated they will automatically be assigned licenses and access.

&nbsp;
<h2>Set-Up Basics</h2>
To set up a dynamic group, we will start in the Azure AD blade of the Azure portal.
<ol>
 	<li>Select "Users and groups", "all groups", then select "+New group" at the top of the page<img width="374" height="200" class="alignnone wp-image-196" alt="create new AAD group" src="https://msdnshared.blob.core.windows.net/media/2018/01/47A74C83-D147-4457-8CA3-DA0EBC19A126.png" /></li>
 	<li>Select either "dynamic user" or "dynamic device" as the membership type</li>
 	<li>Construct your query. You can use the drop down menu to create a simple rule or select advanced rule to write one yourself<img width="414" height="300" class="alignnone wp-image-205" alt="Create dynamic group image" src="https://msdnshared.blob.core.windows.net/media/2018/02/dynamic-group-image-1024x743.png" /></li>
 	<li>To save the group, click "add query" then "create"</li>
</ol>
Check out the full list of attributes you can use to create groups for <a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal#supported-properties">user</a> and <a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal#using-attributes-to-create-rules-for-device-objects">device</a> objects. For more information on constructing advanced rules you can reference <a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal#constructing-the-body-of-an-advanced-rule">this</a> doc.
<h2>Common Scenarios</h2>
<h3>All Guest Users</h3>
A dynamic group for all guest users can be helpful when securing guest access to your corporate resources. With a dynamic group of all guest users, you can then apply conditional access policies forcing them to MFA, block access of corpnet, etc. More info on how to enable conditional access for these users <a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-b2b-mfa-instructions">here.</a>

<code>(user.userType -eq "guest")</code>

<img width="570" height="300" class="alignnone wp-image-195" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/F89014B8-670D-477B-9CBE-A328592C660D-1024x539.png" />
<h3>Advanced User Group</h3>
There may be occasions when you need to create a group based upon multiple user attributes, such as country and department. For example, you could create a group of all the IT users in the US who are <span>not</span> in the IT department.

&nbsp;

<code>(user.country -eq "United States") -and -not (user.department -eq "IT")</code>

<img width="774" height="300" class="alignnone wp-image-175" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/F4D97DDB-3C1E-400C-B328-E641C1514062-1024x397.png" />
<h3>Corporate/Personal Device Groups</h3>
When using Intune as your MDM, you may want to easily target different policies to corporate and personal devices. This is especially helpful if you have users with <span>both </span>corporate and personal devices- by using device groups you can apply different policies/apps for their devices depending on ownership.

&nbsp;

To differentiate between the devices we will create two dynamic device groups. Unlike assigned groups, these groups won't be populated until the device finishes Intune enrollment and registers with Azure AD. It is normal for Intune policies to take a little longer to apply to these groups since the dynamic group population takes time (typically under 30 minutes, by up to 24 hours for larger directories).

&nbsp;

<code>(device.deviceOwnership -eq "Company")</code>

<code>(device.deviceOwnership -eq "Personal")</code>

<img width="634" height="300" class="alignnone wp-image-165" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/B23BF306-AFB2-4B4E-AA6E-B7AFC77B05B9-1024x485.png" />

<img width="616" height="300" class="alignnone wp-image-155" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/2BB0DA22-2BDA-48DE-94C6-61035BA1AA84-1024x498.png" />

NOTE: All devices in Intune are automatically labeled "personal" unless they: 1) <a href="https://docs.microsoft.com/en-us/intune/device-enrollment-program-enroll-ios">Came in through DEP</a>, 2) Were <a href="https://docs.microsoft.com/en-us/intune/corporate-identifiers-add#add-corporate-identifiers">pre-declared as corporate</a>, or 3) Had the <a href="https://docs.microsoft.com/en-us/intune/corporate-identifiers-add#change-device-ownership">ownership changed by the admin</a> in the portal.

&nbsp;
<h2>What Next?</h2>
Once you start building dynamic AAD groups you will find how many activities you can automate when leveraging all of EMS. Do you have more group related actions that you want to automate? Let us know in the comments so we can cover them in future posts!

&nbsp;

-Sarah &amp; Josh]]></content:encoded>
    </item>
    <item>
      <title>Automating Intune DEP Profile Assignment</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/automate-dep-assignment</link>
      <pubDate>Mon, 18 Dec 2017 12:01:05 GMT</pubDate>
      <dc:creator><![CDATA[Josh Douglas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=26</guid>
      <description><![CDATA[Update: As of April 2018, we have started rolling out our new DEP experience in Intune. Once your...]]></description>
      <content:encoded><![CDATA[<span style="font-size: 11pt"><em><strong><span style="margin: 0px;font-family: 'Calibri',sans-serif"><span style="color: #000000">Update: As of April 2018, we have started rolling out our new DEP experience in Intune. Once your tenant receives this update, you will no longer need to use Graph API and automation to ensure that the profiles are assigned to DEP devices. Check here to determine if your tenant has been updated based on the UI you see: <a href="https://docs.microsoft.com/en-us/intune/device-enrollment-program-enroll-ios">https://docs.microsoft.com/en-us/intune/device-enrollment-program-enroll-ios</a></span></span></strong></em></span>

<span style="font-size: 11pt"><em><strong><span style="margin: 0px;font-family: 'Calibri',sans-serif"><span style="color: #000000">Once your tenant is updated you can go through and assign your default profile and new devices will assign it as they flow in to Intune through DEP.</span></span></strong></em></span>

<span style="font-size: 11pt"><em><strong><span style="margin: 0px;font-family: 'Calibri',sans-serif"><span style="color: #000000">Note: The Graph API calls we were using in the script below are also being updated, so the process below will no longer function once your tenant is upgraded to the new DEP experience. If you did set the automation described in the post below, you can simply go and remove the scheduled task you created so it no longer runs daily.</span></span></strong></em></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">With Intune's migration to the Azure portal, the default Device Enrollment Program (DEP) profile functionality was eliminated. While this prevents unintentional profile assignment, we heard from customers that they want to automate the assignment of enrollment profiles. Thanks to the Microsoft Graph API, you can do just that!</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt">Keep reading to find out how you can automate this in your environment and save your Help Desk and Intune admins a lot of time!</span>
<ul>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#why">Why Should I Automate DEP Profile Assignments?</a></span></li>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#configuration">Configuration Steps</a></span>
<ul>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#delegate">Delegate Rights to Execute Graph Scripts to Non-Global Admins</a></span></li>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#set">Set Up the Automation Required to Assign DEP Profiles</a></span></li>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#create">Create the Scheduled Task</a></span></li>
</ul>
</li>
 	<li><span style="color: #000000;font-family: Calibri"><a href="#more">What Else Can I Do with Graph API?</a></span></li>
</ul>
<h2 id="why"><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">Why Should I Automate DEP Profile Assignments?</span></h2>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Customers who use Apple's Device Enrollment Program often have new devices flowing in to Intune daily. When this is the case, it can be a lot of work to constantly sign in to the Intune portal and ensure that all of your devices have a profile assigned prior to them reaching your end users. If a device makes it to an end user before a DEP profile is assigned, it will be treated as a standard device and not a corporate-owned DEP device. To help decrease the overhead of ensuring all devices have a profile assigned, you can leverage Graph API to do this work for you! </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>
<h2 id="configuration"><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">Configuration Steps</span></h2>
<h3 id="delegate"><span style="margin: 0px;color: #5b9bd5;font-family: 'Calibri',sans-serif;font-size: 12pt">Delegate Rights to Execute Graph Scripts to Non-Global Admins</span></h3>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">The first time you run this script if you are using a "service account", you will need to execute another script for this to work properly. By default, non-Global Admins do not have the ability to execute Graph API calls unless a GA delegates rights to them. To allow this account to execute the script, you first must assign it rights within Intune. The easiest way to do this is to assign the account the AAD role "Intune Service Admin" since this will give the account the user rights to execute these Graph API calls.</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">NOTE: You will <i><u>not</u></i> want to have this account enforce MFA since you are trying to automate this action. MFA requires user input, so to make this a truly automated task, do not require MFA for this account</span></span></b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Next, you need to run the Admin Consent script from our Intune PowerShell Samples site on GitHub. You can find a copy of this script here: </span><a href="https://github.com/microsoftgraph/powershell-intune-samples/blob/master/AdminConsent/GA_AdminConsent_Set.ps1">https://github.com/microsoftgraph/powershell-intune-samples/blob/master/AdminConsent/GA_AdminConsent_Set.ps1</a></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="color: #000000"><b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt">Tip</span></b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt">: You can copy this into Notepad and save it as a .ps1</span></span>
<ul>
 	<li style="list-style-type: none">
<ol>
 	<li><span style="color: #000000"><span><span style="font-family: 'Calibri',sans-serif;font-size: 11pt">Once you have a copy of the script from the link above, you will launch it with PowerShell. When prompted for the Azure AD Username, enter the UPN of your "service account" to specify this as the account you want to delegate permission to. </span></span></span><span style="color: #000000"><span><span style="font-family: 'Calibri',sans-serif;font-size: 11pt"></span></span></span>
<span style="color: #000000"><span><span style="font-family: 'Calibri',sans-serif;font-size: 11pt"><img width="300" height="68" class="size-medium wp-image-115 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog1-300x68.png" /></span></span></span></li>
 	<li><span style="color: #000000"><span><span style="font-family: 'Calibri',sans-serif;font-size: 11pt">You will then get a notice that this application needs rights that only a Global Admin can grant. Choose "sign in with another account" and complete sign in with the Global Admin (GA) account</span></span></span>
<img width="300" height="182" class="size-medium wp-image-106 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog2-300x182.png" /></li>
 	<li><span style="color: #000000"><span><span style="font-family: 'Calibri',sans-serif;font-size: 11pt">Accept the permissions</span></span></span>
<img width="300" height="267" class="size-medium wp-image-105 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog3-300x267.png" /></li>
</ol>
</li>
</ul>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Once this is complete, you can set up the automated DEP profile assignment.</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>
<h3 id="set"><span style="margin: 0px;color: #5b9bd5;font-family: 'Calibri',sans-serif;font-size: 12pt">Set Up the Automation Required to Assign DEP Profiles</span></h3>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">There are a few pre-requisites you must complete prior to creating the Scheduled Task that will run the PowerShell script to automate assigning DEP profiles. </span></span>
<ol>
 	<li><span style="color: #000000"><span><span style="font-family: Calibri,sans-serif;font-size: 11pt">Create a secure password file for the service account and store it in an accessible location (i.e. in Documents, Desktop, etc). You can create the secure password file by running this cmdlet in PowerShell:</span></span></span>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Read-Host -Prompt "Enter your tenant password" -AsSecureString | ConvertFrom-SecureString | Out-File "&lt;Enter File Path&gt;\credentials.txt"</span></span><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span></li>
 	<li><span style="color: #000000"><span><span style="font-family: Calibri,sans-serif;font-size: 11pt">Download a copy of the automation script here: <a href="https://gallery.technet.microsoft.com/Automate-DEP-Profile-0657c740">https://gallery.technet.microsoft.com/Automate-DEP-Profile-0657c740  </a></span></span></span></li>
 	<li><span style="color: #000000"><span><span style="font-family: Calibri">You need to update three variables in the PowerShell sample. You find these located towards the bottom of the script. Here are the three variables:</span></span></span>
<b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">NOTE: To easily find the variables you need to update in the script, open in PowerShell ISE and search for #UPDATE</span></span></b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">$User - the username of your service account that will be executing the daily task to assign DEP profiles (<b>NOTE</b>: this account does need admin rights to Intune, meaning it will also need an Intune license)</span></span><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">$Password - this is the path to the secure password file that you created previously. It needs to be created and stored on the server that will be executing the daily task. You cannot move this file around to other machines and use it since it only works on the machine it was generated on.</span></span><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">$global:profileID - this is the GUID of your DEP profile that you have created in Intune. To get this guid, you must navigate to the Corporate Device Enrollment profile in the Intune portal, and the GUID is located at the end of the URL. Here is an example URL that shows you where the GUID is located: </span><a href="https://portal.azure.com/#blade/Microsoft_Intune_Enrollment/EditAcProfileBlade/overview/profileId/af897c67-05ac-469f-b6c1-64a9fa41eaea">https://portal.azure.com/#blade/Microsoft_Intune_Enrollment/EditAcProfileBlade/overview/profileId/af897c67-05ac-469f-b6c1-64a9fa41eaea</a></span><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span></li>
 	<li><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"></span></span><span style="color: #000000"><span><span style="font-family: Calibri">Once you have the script and have saved the updated variables, you will use this to create your Scheduled Task</span></span></span></li>
</ol>
<h3 id="create"><span style="margin: 0px;color: #5b9bd5;font-family: 'Calibri',sans-serif;font-size: 12pt">Create the Scheduled Task</span></h3>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Now that you have your script, let's create our Scheduled Task. You should create this task on a server (or Windows 10 machine) in your environment that is consistently online and available, so that you can ensure the script will run at the same time every day. As a side note, on this machine you will need to make sure you have the latest Azure AD PowerShell module installed. You can install this by simply launching PowerShell as an admin and running this cmdlet: <i>Install-Module -Name AzureAD</i></span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">NOTE: If you are running a version of Windows Server (or Windows) other than Windows Server 2016 (or Windows 10) on the machine you are setting up the scheduled task, you will need to install the latest version of the Windows Management Framework to be able to install the Azure AD PowerShell module. You can download WMF 5.1 here: </span></span></b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><a href="https://www.microsoft.com/en-us/download/details.aspx?id=54616">https://www.microsoft.com/en-us/download/details.aspx?id=54616</a></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">This will install the module on the server so that way the automation script for assigning DEP profiles will work.</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Back on track, here is what we need to do to create the task…</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>
<ol>
 	<li><span><span style="color: #000000;font-family: Calibri">On the machine you have selected to host this, launch the Start Menu and search for "Task Scheduler"</span></span></li>
 	<li><span><span style="color: #000000;font-family: Calibri">Right-click on "Task Scheduler (Local)" and choose "Create Task"</span></span></li>
 	<li><span><span style="color: #000000;font-family: Calibri">Give your Task a name and choose which account you will have execute this task -- you will need to choose an account that exists on the machine, choose to run whether logged on or not, and store the password</span></span>
<img width="300" height="214" class="size-medium wp-image-125 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog4-300x214.png" /></li>
 	<li><span style="margin: 0px;line-height: 107%;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Set up your Trigger to run this task at a specific time, daily</span></span>
<img width="300" height="216" class="size-medium wp-image-117 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog5-300x216.png" /></li>
 	<li><span style="margin: 0px;line-height: 107%;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Choose your Action to "Start a program" and in the "Program/script" field enter "PowerShell". In the "arguments" enter the path to your saved PowerShell script</span></span>
<img width="300" height="215" class="size-medium wp-image-116 alignnone" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/depblog6-300x215.png" /></li>
 	<li><span style="margin: 0px;line-height: 107%;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Click "OK" to finish creating the task. To confirm, you can go to the "Task Scheduler Library" and you should see your task in the list -- it will execute at the time you chose when creating the task</span></span></li>
 	<li><span style="margin: 0px;line-height: 107%;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">You can test the task by right-clicking on it and then choosing to "Run" it -- this will execute it now and you can then go and view your DEP devices in the Intune portal to confirm you have no unassigned DEP devices (if you still have unassigned DEP devices, this means the script did not execute successfully and you will need to determine why)</span></span></li>
</ol>
<b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">NOTE</span></span></b><span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">: To easily filter on devices that do not have a DEP profile assigned, follow the instructions on our docs site to do this directly in the Azure portal: </span><a href="https://docs.microsoft.com/en-us/intune/device-enrollment-program-enroll-ios#assign-an-enrollment-profile-to-devices">https://docs.microsoft.com/en-us/intune/device-enrollment-program-enroll-ios#assign-an-enrollment-profile-to-devices</a><span style="color: #000000">. By loading the "unassigned" filter, as an IT Pro you can see if even a single device in your environment is missing a profile.</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"></span>
<h2 id="more"><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">What Else Can I Do with Graph API?</span></h2>
<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">To learn more about the actions you can automate with Graph API, check out our Graph API samples on Github! You can find them all here: </span><a href="https://github.com/microsoftgraph/powershell-intune-samples">https://github.com/microsoftgraph/powershell-intune-samples</a></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">In this blog post, we used two of the sample scripts from GitHub. You can find both of them individually at these locations:</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Authentication: </span><a href="https://github.com/microsoftgraph/powershell-intune-samples/tree/master/Authentication">https://github.com/microsoftgraph/powershell-intune-samples/tree/master/Authentication</a></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"></span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">Apple Enrollment: </span><a href="https://github.com/microsoftgraph/powershell-intune-samples/tree/master/AppleEnrollment">https://github.com/microsoftgraph/powershell-intune-samples/tree/master/AppleEnrollment</a></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">We hope this post helps you and leave us comments if you have questions or feedback!</span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000"> </span></span>

<span style="margin: 0px;font-family: 'Calibri',sans-serif;font-size: 11pt"><span style="color: #000000">-Sarah and Josh</span></span>

<span style="color: #000000"><span><span style="font-family: Calibri"></span></span></span>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Protecting Email on Any iOS/Android Device</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/protecting-email-ios-android</link>
      <pubDate>Wed, 13 Dec 2017 12:02:19 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=85</guid>
      <description><![CDATA[As organizations are moving their mail to the cloud, we have heard from our customers that they want...]]></description>
      <content:encoded><![CDATA[<span><span style="color: #000000;font-family: Calibri">As organizations are moving their mail to the cloud, we have heard from our customers that they want to easily protect their Exchange Online data on mobile devices. One of the most exciting features of Intune is the ability to protect your corporate data even on mobile devices that aren't enrolled in an MDM. With Intune App Protection (aka "Intune MAM"), we can give employees secure access to corporate data with minimal end user effort.</span></span>

<span><span style="color: #000000;font-family: Calibri">The best part of all? Setting up and deploying MAM can be completed in a matter of hours (and that's with testing)!</span></span>

<span><span style="font-family: Calibri"><span style="color: #000000">Today, we're going to cover the <a href="#basics">basics </a>of Intune app protection, how to get it <a href="#configuration">configured </a>for Outlook, and (most importantly) how to successfully <a href="#deployment">deploy </a>it to your organization.  </span></span></span>

<span><span style="color: #000000;font-family: Calibri"> </span></span>
<h2 id="basics"><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">What is Intune App Protection? </span></h2>
<h3><span style="margin: 0px;color: #5b9bd5;font-family: 'Calibri',sans-serif;font-size: 12pt">(Already know the basics? <a href="#configuration">Skip down to the "Configuration" section</a>)</span></h3>
<span><span style="font-family: Calibri"><span style="color: #000000">Intune app protection applies <i>protection</i> at the <i>app</i> level for iOS and Android devices. If you want to enable your employees to access their corporate email on their personal (BYOD) devices <i>without</i> taking control of the entire device, MAM allows you to manage only the corporate content within targeted apps (such as Outlook). You can use Intune MAM to </span><a href="https://www.microsoft.com/cloud-platform/microsoft-intune-apps">protect a number of applications</a></span><span style="color: #000000;font-family: Calibri">, but today we are going to focus on the Outlook app and securing access to email with MAM.</span></span>

<span><span style="color: #000000;font-family: Calibri">The benefits of applying MAM policies?</span></span>
<ul>
 	<li><span style="color: #000000"><span style="font-family: Calibri"><b><span>Minimal end-user set up</span></b><span>- If they already have the Outlook app installed, they will receive a one-time pop up to inform them of the new policy. If they don't have it installed already, all they need to do is install the app and log in! (For Android, they also need to download the Company Portal in the background)</span></span></span></li>
 	<li><span style="color: #000000"><span style="font-family: Calibri"><b><span>Wipe the corporate data</span></b><span>- If an employee leaves your organization or loses their device you can wipe the Exchange Online data from the Outlook app!</span></span></span></li>
 	<li><span style="color: #000000"><span style="font-family: Calibri"><b><span>Prevent data leakage</span></b><span>- MAM policies can be configured to prevent cut/copy/paste and restrict Save-As to unmanaged locations</span></span></span></li>
 	<li><span style="color: #000000"><span style="font-family: Calibri"><b><span>Ensure app-layer protections</span></b><span>- Prevent unauthorized users from accessing the application but enforcing a PIN on the Outlook app itself</span></span></span></li>
 	<li><span style="color: #000000"><span style="font-family: Calibri"><b><span>Protect your employees' privacy and autonomy</span></b><span>- MAM is only applied to the corporate account, so you can protect corporate data without touching personal data! Using MAM-only for BYOD devices eliminates the chance that an employee would have their entire device wiped by IT (and lose precious family photos in the process!)</span></span></span></li>
</ul>
<h1><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">Configuration</span></h1>
<span><span style="color: #000000;font-family: Calibri">To get your app protection policies configured, follow these steps:</span></span>

<span style="color: #000000"><span><span style="font-family: Calibri">1.</span><span style="font: 7pt 'Times New Roman';margin: 0px">       </span></span><b><span><span style="font-family: Calibri">Identify your target user group(s)</span></span></b></span><span></span>

<span><span style="color: #000000;font-family: Calibri">For testing purposes, you should identify a group of pilot users. When ready to fully deploy, you can use a broader user group (such as an "all users" group). Make sure that the security group(s) have synced to Azure AD.</span></span>

<span style="font-family: Calibri"><b><span><span style="color: #000000">NOTE</span></span></b><span><span style="color: #000000">: Make sure that the users have an Intune/EMS license! If they don't, you can quickly assign licenses to the groups with </span><a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-licensing-group-assignment-azure-portal">group-based licensing</a><span style="color: #000000">.</span></span></span>

<span style="color: #000000"><b><span><span style="font-family: Calibri">2.</span><span style="font: 7pt 'Times New Roman';margin: 0px">       </span></span></b><b><span><span style="font-family: Calibri">Decide on your policy settings</span></span></b></span>

<span><span style="color: #000000;font-family: Calibri">When you create a new MAM policy the settings will have the default values. You should review the available settings and customize them to fit your security requirements.</span></span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policy-settings-ios"><span><span style="color: #000000;font-family: Calibri"></span></span></a><span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policy-settings-ios"></a></span><span style="color: #000000"><b><span><span style="font-family: Calibri"></span></span></b></span>
<ul>
 	<li><span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policy-settings-android">Android settings</a></span></li>
 	<li><span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policy-settings-ios">iOS settings</a></span></li>
</ul>
<span style="color: #000000"><b><span><span style="font-family: Calibri">3.</span><span style="font: 7pt 'Times New Roman';margin: 0px">       </span></span></b><b><span><span style="font-family: Calibri">Create the Outlook app protection policies</span></span></b></span>

<span><span style="font-family: Calibri"><span style="color: #000000">You will need to create two policies: one for Android and one for iOS. Detailed instructions on this with screenshots can be found </span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policies">here</a></span></span><span><span style="color: #000000;font-family: Calibri"></span></span>

<span><span style="color: #000000;font-family: Calibri">When you create the policy you will select the target app(s)- for this example we are choosing Outlook, since we are focused on email access. But you can also select and include other Microsoft apps to expand your protection. Then, configure the policy settings. Once done, make sure to click "OK" to save</span></span>

<span style="color: #000000"><b><span><span style="font-family: Calibri">4.</span><span style="font: 7pt 'Times New Roman';margin: 0px">       </span></span></b><b><span><span style="font-family: Calibri">Deploy the policies</span></span></b></span>

<span><span style="font-family: Calibri"><span style="color: #000000">Once the policies are ready, deploy them to your pilot user group. Detailed instructions </span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policies#deploy-a-policy-to-users">here</a>.</span></span>

<span><span style="font-family: Calibri"></span></span><span><span style="color: #000000;font-family: Calibri">After testing with the pilot users, you can deploy to your broader organization by simply selecting the appropriate group(s) under "user groups". However, before you deploy the policy make sure you have communicated this change to your end users (as described in the "Deployment &amp; Adoption" section below).</span></span>

<span style="color: #000000"><b><span><span style="font-family: Calibri">5.</span><span style="font: 7pt 'Times New Roman';margin: 0px">       </span></span></b><b><span><span style="font-family: Calibri">Enforce protection- set up conditional access </span></span></b></span>

<span><span style="font-family: Calibri"><span style="color: #000000">Corporate email in the native mail apps on iOS and Android cannot be managed or wiped unless the device is enrolled with an MDM. You can prevent users from utilizing native mail apps on personal devices and enforce use of the protected Outlook app with </span><a href="https://docs.microsoft.com/en-us/intune/app-based-conditional-access-intune">app-based conditional access</a></span><span style="color: #000000;font-family: Calibri">. App-based conditional access (powered by Azure AD Premium) ensures that only apps which support MAM can access your company data.</span></span>

<span><span style="color: #000000;font-family: Calibri">Note: This will not impact users' ability to access personal email on whichever application they choose.</span></span>

<span><span style="font-family: Calibri"><span style="color: #000000">To configure app based conditional access follow </span><a href="https://docs.microsoft.com/en-us/intune/app-based-conditional-access-intune-create">these instructions</a></span><span style="color: #000000;font-family: Calibri">, ensuring that you configure it for "Exchange Online".</span></span>

<span style="font-family: Calibri"><span style="color: #000000"><b><i><span>Wait to deploy this policy until you have taken the end-user notification actions in the below section.</span></i></b><span> Once you're ready, you will add the same group you used for the MAM policy under the "restricted user groups" tab to enforce conditional access.</span></span></span>
<h1><span style="margin: 0px;color: #2e75b5;font-family: 'Calibri',sans-serif;font-size: 14pt">Deployment &amp; Adoption</span></h1>
<span><span style="color: #000000;font-family: Calibri"><img width="340" height="457" class="alignright wp-image-95" style="background-color: transparent;color: #000000;float: right;font-family: Calibri;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;height: 456.9px;letter-spacing: normal;max-width: 1257.13px;text-align: left;text-decoration: none;text-indent: 0px;margin: 8px 0px 8px 16px" alt="Notification email" src="https://msdnshared.blob.core.windows.net/media/2017/12/notificationemail-762x1024.png" /></span></span>

<span><span style="color: #000000;font-family: Calibri">Now that you have gotten MAM configured it is time for the most important step… deployment and end-user awareness! As with any roll-out of new technology, it is important that you are up-front with your end-users and help them understand the benefit of this change</span></span>

<span><span style="color: #000000;font-family: Calibri">If you followed the above steps for the configuration, this roll-out will mean that end-users will be empowered to access their corporate email on Outlook for iOS and Android <i>but</i> will be prevented from accessing corporate email in their native mail clients.</span></span>

<span><span style="font-family: Calibri"><span style="color: #000000">To inform your end-users of this change, you can use this </span><a href="https://gallery.technet.microsoft.com/Outlook-Mobile-w-Intune-f8994413">customizable e-mail template</a></span><span style="color: #000000;font-family: Calibri">. The template includes instructions on how to set this up for iOS and Android, as well as a field for you to complete which informs them of the deadline to switch to Outlook mobile if they aren't already using it.</span></span>

<span><span style="color: #000000;font-family: Calibri">Once end-user communications have been sent out and you have reached the deadline you specified for end-users to move to Outlook, you are ready to turn on the conditional access policy (step 5 above)</span></span>

<span><span style="font-family: Calibri"><span style="color: #000000">You can also post this information internally, so end users have an easy way to learn more about what this means for them and how Intune app protection works. Consider adding information to your internal website on what end users can expect when their </span><a href="https://docs.microsoft.com/en-us/intune/end-user-mam-apps-android">Android</a><span style="color: #000000"> or </span><a href="https://docs.microsoft.com/en-us/intune/end-user-mam-apps-ios">iOS</a></span><span style="color: #000000;font-family: Calibri"> app is managed by app protection.</span></span>

<span><span style="font-family: Calibri"><span style="color: #000000">Now that you have deployed Intune app protection, you can </span><a href="https://docs.microsoft.com/en-us/intune/app-protection-policies-monitor">monitor user adoption</a></span><span style="color: #000000;font-family: Calibri"> from the Azure portal.</span></span>

&nbsp;

<span><span style="color: #000000;font-family: Calibri">Congrats-- you can now breathe easier knowing that your corporate email is protected across iOS and Android devices!</span></span>

&nbsp;

<span><span style="color: #000000;font-family: Calibri">Questions? Post them in the comments below.</span></span>

&nbsp;

-Sarah and Josh

<span><span style="color: #000000;font-family: Calibri"> </span></span>]]></content:encoded>
    </item>
    <item>
      <title>From SME to You</title>
      <link>https://docs.microsoft.com/archive/blogs/smeems/from-sme-to-you</link>
      <pubDate>Fri, 08 Dec 2017 16:17:13 GMT</pubDate>
      <dc:creator><![CDATA[Sarah L Handler]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/smeems/?p=55</guid>
      <description><![CDATA[Welcome to "From SME to You- Bringing security to the cloud" with Sarah Handler and Josh Douglas! We...]]></description>
      <content:encoded><![CDATA[Welcome to "From SME to You- <em>Bringing security to the cloud</em>" with Sarah Handler and Josh Douglas! We are engineers in the FastTrack Center at Microsoft, and spend our days helping customers to secure their cloud services with Enterprise Mobility + Security (EMS). We have worked with a wide variety of customers across industries, and understand the common tasks, challenges, and needs that arise during an EMS deployment. Join us as we team up to bring this knowledge to you!

&nbsp;

<b>What we do</b>
<p style="text-align: left">To save our customers time and money, we enable an accelerated and optimized deployment of Enterprise Mobility + Security. We work hand-in-hand with customers to envision their mobility and security plan, guide their configuration, and drive value as they onboard users. Combined, we have helped over half a million users stay secure and productive across their apps and devices.</p>
&nbsp;

<b>What you will find on this blog</b>
<ul>
 	<li>Frequently asked questions from our customers</li>
 	<li>Steps to enable common security scenarios</li>
 	<li>Tips and tricks on configuring EMS</li>
 	<li>Resources to drive end users adoption</li>
 	<li>Common automation scenarios</li>
</ul>
What content would you like to see? Let us know in the comments below!

[caption id="attachment_57" align="alignleft" width="296"]<img width="296" height="300" class="size-medium wp-image-57" alt="Sarah Handler, Support Escalation Engineer" src="https://msdnshared.blob.core.windows.net/media/2017/12/picture4-296x300.jpg" /> Sarah Handler, Support Escalation Engineer[/caption]

[caption id="attachment_65" align="alignright" width="300"]<img width="300" height="300" class="size-medium wp-image-65" alt="Josh Douglas, Escalation Engineer" src="https://msdnshared.blob.core.windows.net/media/2017/12/josh-e1512766945733-300x300.jpg" /> Josh Douglas, Escalation Engineer[/caption]]]></content:encoded>
    </item>
  </channel>
</rss>