<?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>Paul Jones - Microsoft Corporation</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/pauljones/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/pauljones/feed.xml</link>
    <description>I am a Technology Solutions Professional for Microsoft. I have been with the company since 2004 and live in Lafayette, LA.</description>
    <lastBuildDate>Mon, 05 Feb 2018 19:36:13 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Microsoft Intune Device Categories</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/microsoft-intune-device-categories</link>
      <pubDate>Wed, 10 Jan 2018 21:00:32 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=995</guid>
      <description><![CDATA[Microsoft Intune Device Categories
In this blog post, I am going to cover how to use Device...]]></description>
      <content:encoded><![CDATA[<h1>Microsoft Intune Device Categories</h1>
In this blog post, I am going to cover how to use Device Categories in Microsoft Intune.  Device Categories can help with managing devices using Microsoft Intune and Azure Active Directory. This post will build upon my last two blog post on Dynamic Groups - <a href="https://blogs.technet.microsoft.com/pauljones/2017/08/28/dynamic-group-membership-in-azure-active-directory-part-1/">https://blogs.technet.microsoft.com/pauljones/2017/08/28/dynamic-group-membership-in-azure-active-directory-part-1/</a>

I will document (with screen shots) the following steps:
<ul>
 	<li>Create Categories in Microsoft Intune</li>
 	<li>Create Dynamic Groups based on the Categories</li>
 	<li>Deploy Policies and Apps to Dynamic Groups</li>
</ul>
&nbsp;

&nbsp;
<h3>Create Categories in Microsoft Intune Console (Azure Portal)</h3>
The first step is to create Categories in the Intune Console (Azure Portal).

Launch Azure Portal - <a href="https://portal.azure.com">https://portal.azure.com</a> and navigate to the Intune Blade.  Once in the Intune Console, navigate to <strong>Device Enrollment</strong> and select <strong>Device Categories.  </strong>Click <strong>+ Create, </strong> enter a Name for the Category, then click on the <strong>Create</strong> button at the bottom of the page.

In the screen shot below, it shows where I created 4 different Categories: Virtual Machines, iOS Devices, Android Devices and Physical Machines.  I will focus on managing Windows 10 Virtual Machines in this post.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/DeviceC1.jpg"><img width="803" height="519" class="alignleft size-full wp-image-1005" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/DeviceC1.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now that we have the Device Categories created in the Portal, we will now move create a Dynamic Group using Azure Active Directory.
<h3></h3>
&nbsp;
<h3>Create Dynamic Groups based on Device Category</h3>
From the Azure Portal, select the <strong>Azure Active Directory</strong> blade - choose <strong>Users and Groups</strong> - select <strong>All Groups.  </strong>This will list all the current Security and Office Groups.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/AB.jpg"><img width="821" height="405" class="alignleft size-full wp-image-1017" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/AB.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<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">At the top of the blade, click </span><strong>+ New Group</strong><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"> to create a New Group. Enter a </span><strong>Name</strong><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"> - I used </span><strong>Windows 10 Virtual Machines </strong><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">for this example.  Choose </span><strong>Membership Type - Dynamic Device </strong><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">and finally select </span><strong>Dynamic Device Members - Add dynamic query. </strong><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">Now it is time to add the dynamic membership rule - Under </span><strong>Add Devices Where</strong><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"> select the following: </span><b>deviceCategory Equals </b><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">then type in</span><b> Virtual Machines.</b>

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/AC.jpg"><img width="905" height="384" class="alignleft size-full wp-image-1025" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/AC.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

With those 2 steps: Create Device Category, then Create Dynamic Group, we will now be able to deploy Apps and Polices to devices based on Categories.

Now the final step is to deploy Apps and Policies to Dynamic Group.
<h3></h3>
&nbsp;
<h3>Deploy Apps and Policies based on Device Category</h3>
I will not document the steps to create a Configuration Profile, but I will share a screen shot where I deployed Device Configuration Profile (<strong>Windows Defender Firewall</strong>) to the Dynamic Group (<strong>Windows 10 Virtual Machines</strong>) which is based on the Device Category (<strong>Virtual Machines</strong>).

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/aaa.jpg"><img width="1400" height="415" class="alignleft size-full wp-image-1035" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/aaa.jpg" />
</a>

&nbsp;

&nbsp;

The next screen shot will display deploying an Application  (<strong>Azure Information Protection</strong>) to the same Dynamic Group (<strong>Windows 10 Virtual Machines</strong>).

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/aab.jpg"><img width="1487" height="450" class="alignleft size-full wp-image-1045" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/aab.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

This concludes my blog post on using <strong>Device Categories</strong> with Microsoft Intune and Azure Active Directory to help better manage devices.]]></content:encoded>
    </item>
    <item>
      <title>Dynamic Group Membership in Azure Active Directory (Part 2)</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/dynamic-group-membership-in-azure-active-directory-part-2</link>
      <pubDate>Tue, 29 Aug 2017 15:58:52 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=885</guid>
      <description><![CDATA[Dynamic Group Membership in Azure Active Directory (Part 2)
In Part 1 of this series, I covered...]]></description>
      <content:encoded><![CDATA[<h2>Dynamic Group Membership in Azure Active Directory (Part 2)</h2>
In<span> </span><strong>Part 1</strong><span> </span>of this series, I covered Creating and Assigning Licenses and Applications to a<span> </span><strong>Dynamic User Group - </strong><a href="https://blogs.technet.microsoft.com/pauljones/2017/08/28/dynamic-group-membership-in-azure-active-directory-part-1/">https://blogs.technet.microsoft.com/pauljones/2017/08/28/dynamic-group-membership-in-azure-active-directory-part-1/</a>.

For <strong>Part 2 </strong>of the series, I will cover Creating <strong>Dynamic Device Groups</strong>.

&nbsp;

One of my favorite new features in Azure Active Directory is Dynamic Group Membership.  In these blog posts, I will describe the different types of Dynamic Groups that you can create, then assign these Groups (User and Device) to Applications and Licenses. <span>If a user or device satisfies a rule on a group, they are added as a member of that group. If they no longer satisfy the rule, they are removed.</span>

I will step through the process in this blog on creating a<span> </span><strong>Dynamic Device Group</strong>:

The following options are available for Membership Type:
<ul>
 	<li>Assigned</li>
 	<li><strong>Dynamic Device</strong></li>
 	<li>Dynamic User</li>
</ul>
For this blog, I will create Dynamic Groups for the following: iOS Devices (iPad and iPhone), Android Devices and Windows Devices. For each one, I selected<span> </span><strong>Dynamic Device</strong><span> </span>under Membership Type. For my dynamic query, I selected the following:

Add devices where: <strong>deviceOSType equals Android</strong>

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Android21.jpg"><img width="507" height="432" class="alignleft size-full wp-image-905" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/Android21.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now, all Devices in Azure Active Directory that are Android Devices will automatically be added to this group.  I choose <strong>deviceOSType</strong>, but you can choose any of the attributes that are registered with each device.

I used Azure AD Graph Explorer to view the Device information:
<ol>
 	<li>Goto <a href="https://graphexplorer.azurewebsites.net/">https://graphexplorer.azurewebsites.net/</a></li>
 	<li>Login with Tenant Account</li>
 	<li>Run the following query <a href="https://graph.windows.net/myorganization/devices">https://graph.windows.net/myorganization/devices</a></li>
 	<li>Results:</li>
</ol>
<p style="text-align: left;padding-left: 90px"><span>     </span>"deviceId": "37d6b344-0234-469f-967f-98c975e8d355",
<span>     </span>"deviceMetadata": null,
<span>     </span>"deviceObjectVersion": 2,
<strong>     "deviceOSType": "Android"</strong>,
<span>     </span>"deviceOSVersion": "6.0.1",
<span>     </span>"devicePhysicalIds": [],
<span>     </span>"deviceTrustType": "Workplace",
<span>     </span>"dirSyncEnabled": null,
<span>     </span>"displayName": "samsungSM-G900M",
<span>     </span>"isCompliant": null,
<span>     </span>"isManaged": null,
<span>     </span>"lastDirSyncTime": null</p>
The information displayed will depend on if the device is Azure AD Joined, Workplace Joined, Intune MDM, etc...

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Android31.jpg"><img width="743" height="445" class="alignleft size-full wp-image-915" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/Android31.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<hr />

&nbsp;

&nbsp;

Another way to find this information is to use PowerShell Command <strong>Get-MsolDevice. </strong>In this example, I pulled information on a Windows 10 Device.

&nbsp;
<p style="padding-left: 90px"><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">PS C:\Users\Mike\Desktop&gt;Install-Module MSOnline</span></p>
<p style="padding-left: 90px">PS C:\Users\Mike\Desktop&gt; Connect-MSOLService
PS C:\Users\Mike\Desktop&gt; <strong>Get-MsolDevice</strong></p>
<p style="padding-left: 90px">cmdlet Get-MsolDevice at command pipeline position 1
Supply values for the following parameters:
<strong>Name: W10A</strong></p>
<p style="padding-left: 90px">Enabled : True
ObjectId : e815d501-0806-43f2-a725-62823638010c
DeviceId : 008d51f8-7fc0-4e8e-95b7-7d0c35a015f1
DisplayName : W10A
DeviceObjectVersion : 2
<strong>DeviceOsType : Windows</strong>
<strong>DeviceOsVersion : 10.0.15063.540</strong>
DeviceTrustType : Azure AD Joined
DeviceTrustLevel : Compliant
DevicePhysicalIds : {}
ApproximateLastLogonTimestamp : 8/17/2017 6:36:22 PM
AlternativeSecurityIds :
DirSyncEnabled :
LastDirSyncTime :
RegisteredOwners : {Paul@XXXXXXX.onmicrosoft.com}
GraphDeviceObject : Microsoft.Azure.ActiveDirectory.GraphClient.Device</p>
&nbsp;

<hr />

&nbsp;

This is the full list of all possible device attributes that can be used:
<p style="padding-left: 120px">accountEnabled
displayName
<strong>deviceOSType</strong>
<strong>deviceOSVersion</strong>
deviceCategory
deviceManufacturer
deviceModel
deviceOwnership
domainName
enrollmentProfileName
<strong>isRooted</strong>
managementType
organizationalUnit
deviceId
objectId</p>
You can also use multiple attributes and operators:
<ul>
 	<li>(device.deviceOSType -eq "<strong>iPad</strong>") <strong>-or</strong> (device.deviceOSType -eq "<strong>iPhone</strong>") - this will include all <strong>iOS</strong> Devices <em>(pictured below)</em></li>
 	<li><span>(device.deviceOSType -eq "<strong>Windows</strong>")</span><span> - this will include all <strong>Windows</strong> devices</span></li>
 	<li><span>(device.deviceOSType -eq "<strong>Android</strong>") <strong>-and</strong> (device.<strong>deviceOSVersion</strong> -eq "6.0.1") - this will include all <strong>Android</strong> devices running version <strong>6.0.1</strong></span></li>
 	<li><span>(device.deviceOSType -eq "</span><strong>Android</strong><span>") <strong>-and</strong> (device.<strong>isRooted</strong> -eq true</span><span>) - this will include all </span><strong>Android</strong><span> devices that are <strong>Rooted</strong></span></li>
</ul>
&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/iOS12.jpg"><img width="730" height="456" class="alignleft size-full wp-image-937" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/iOS12.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now that we have created Dynamic Groups, we can use these groups with Azure Active Directory, Intune and Application Deployments.

<span>You can create a dynamic group for devices or users, but you cannot create a rule that contains both user and device objects.</span>

<span>Device membership rules can only reference immediate attributes of device objects in the directory.</span>]]></content:encoded>
    </item>
    <item>
      <title>Dynamic Group Membership in Azure Active Directory (Part 1)</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/dynamic-group-membership-in-azure-active-directory-part-1</link>
      <pubDate>Mon, 28 Aug 2017 16:45:58 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=766</guid>
      <description><![CDATA[Dynamic Group Membership in Azure Active Directory (Part 1)
In Part 1 of this series, I will cover...]]></description>
      <content:encoded><![CDATA[<h2>Dynamic Group Membership in Azure Active Directory (Part 1)</h2>
In <strong>Part 1</strong> of this series, I will cover Creating and Assigning Licenses and Applications to a <strong>Dynamic User Group</strong> in this blog post.

&nbsp;

One of my favorite new features in Azure Active Directory is Dynamic Group Membership.  In these blog posts, I will describe the different types of Dynamic Groups that you can create, then assign these Groups to Applications and Licenses. <span>If a user or device satisfies a rule on a group, they are added as a member of that group. If they no longer satisfy the rule, they are removed.  This is very useful for dynamically provisioning Users into the proper group where they will automatically get the assigned Licenses and Applications based on attributes.  Example: A Sales Person gets a new role in the Marketing Department... once that persons title, department or company attribute is changed, they will automatically be removed from the Sales Group(s) and the associated Licenses and Applications, then automatically join to the Marketing Group(s) based on title, department or company and be assigned appropriate Marketing Licenses and Applications.</span>

I will first create a <strong>Dynamic User Group</strong>:

I selected Bedrock Users to go along with the Flintstones theme.  The following options are available for Membership Type:
<ul>
 	<li>Assigned</li>
 	<li>Dynamic Device</li>
 	<li><strong>Dynamic User</strong></li>
</ul>
I for this section, I selected <strong>Dynamic User</strong> under Membership Type. For my dynamic query, I selected the following:

Add users where: <strong>city equals Bedrock</strong>

Now, all users (Local Active Directory and Azure Active Directory) who have <strong>City</strong> defined as <strong>Bedrock</strong> will automatically be added to this group. I choose the city attribute, but you could choose many different attributes, including 16 custom attributes.  In another demo, I created an attribute on my local Active Directory called <strong>LSU Fan, </strong>configured Azure AD Connect to sync that attribute<strong>,</strong> then gave certain applications access to Users if they had a <strong>Yes </strong>value.<strong>  </strong>Some of the popular attributes are the following:
<ul>
 	<li>Company Name</li>
 	<li>Department</li>
 	<li>Title</li>
 	<li>User Type</li>
 	<li>City</li>
 	<li>State</li>
 	<li>Postal Code</li>
 	<li>Office Name</li>
</ul>
&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock1.jpg" alt="" width="908" height="372" class="alignleft size-full wp-image-805" /></a>

&nbsp;

&nbsp;

I used <strong>Equals</strong> in my Bedrock Users Group, but you are able to use any of the following supported expression rule operators:

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock4.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock4.jpg" alt="" width="497" height="636" class="alignleft size-full wp-image-785" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Here is a screen shot of <strong>Fred Flintstone</strong> User Profile showing where <strong>Bedrock</strong> is defined in <strong>City</strong> attribute:

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock7.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock7.jpg" alt="" width="542" height="750" class="alignleft size-full wp-image-845" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now, all the Flintstones and Rubbles are members of the Dynamic Group.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock5.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock5.jpg" alt="" width="746" height="447" class="alignleft size-full wp-image-795" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now that my group is dynamically populated, I can assign <strong>Licenses</strong> and <strong>Applications</strong> to the group.

In the caption below, I assigned Enterprise Mobility + Security E5 <strong>License</strong> to the <strong>Bedrock Users</strong> Group.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock9.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock9.jpg" alt="" width="696" height="278" class="alignleft size-full wp-image-856" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

In the screen shot below, I assigned <strong>Bedrock Users</strong> access to the <strong>Box </strong>Enterprise <strong>Application</strong>:

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock8.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/Bedrock8.jpg" alt="" width="900" height="323" class="alignleft size-full wp-image-847" /></a>

&nbsp;

&nbsp;

&nbsp;

Now, any User that is created or modified and has <strong>Bedrock</strong> listed under <strong>City</strong> will automatically get Enterprise Mobility + Security E5 <strong>License</strong> and access to Box Enterprise <strong>Application</strong>.

&nbsp;

<span>You can also create a group containing all direct reports of a manager. When the manager's direct reports change in the future, the group's membership will be adjusted automatically.</span>

<span>For the rule to work, make sure the </span><strong>Manager ID</strong><span> property is set correctly on users in your tenant. You can check the current value for a user on their </span><strong>Profile tab.</strong>

Under Dynamic membership rules, I created an Advanced rule - <strong>Direct Reports for "65ebb1eb-7bf9-49f7-9750-ae1e04471a1a" </strong>- now, all of Fred Flintstones Direct Reports will automatically be added to this group.  If someone switches Managers, they will automatically be removed from this Group.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/DirectReports.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/08/DirectReports.jpg" alt="" width="743" height="450" class="alignleft size-full wp-image-955" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Fred Flintstones <strong>Object ID</strong> is 65ebb1eb-7bf9-49f7-9750-ae1e04471a1a and Barney Rubble has his <strong>Manager ID</strong> populated with Fred's <strong>Object ID</strong>. This can be set on Local Active Directory using Active Directory Users and Computers: User - Organization Tab - Manager Name. Then the Manager ID will be populated in Azure with the next AD Connect Sync.  If this is a cloud only account, then Manager ID will have to be populated manually.  Direct Reports is not listed as an attribute in the drop list but does work and is supported - <a href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal">https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal</a>

&nbsp;

&nbsp;

The Dynamic Group feature is an <strong>Azure Active Directory Premium</strong> feature which is included with <strong>Enterprise Mobility + Security</strong> Suite and <strong>Microsoft 365</strong> Suite.

<span>You can create a dynamic group for devices or users, but you cannot create a rule that contains both user and device objects.</span>

&nbsp;

This is the conclusion of <strong>Part 1</strong> of 2 Blog Posts on Dynamic Group Membership in Azure Active Directory.

Next, I will create <strong>Part 2</strong> to cover creating <strong>Dynamic Device</strong> Groups and using Advanced Dynamic Membership Rules - <a href="https://blogs.technet.microsoft.com/pauljones/2017/08/29/dynamic-group-membership-in-azure-active-directory-part-2">https://blogs.technet.microsoft.com/pauljones/2017/08/29/dynamic-group-membership-in-azure-active-directory-part-2</a>/.

Thank You,

Paul Jones]]></content:encoded>
    </item>
    <item>
      <title>Implementing Conditional Access with Exchange Online (updated using Azure Portal)</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/implementing-conditional-access-with-exchange-online-updated-using-azure-portal</link>
      <pubDate>Wed, 28 Dec 2016 02:25:04 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=685</guid>
      <description><![CDATA[Implementing Conditional Access with Exchange Online (updated using Azure Portal)

I am updating...]]></description>
      <content:encoded><![CDATA[<strong>Implementing Conditional Access with Exchange Online (updated using Azure Portal)</strong>

I am updating this blog post using the new Conditional Access features in the Azure Portal. The new portal is accessed from <a href="https://portal.azure.com">https://portal.azure.com</a>.

I will demo using Exchange Online; however, these same steps can be used with all other Software as a Service applications in Azure.

Conditional Access will check the following:

<strong>     User / Risk</strong>

<strong>     Application</strong>

<strong>     Location</strong>

<strong>     Device / Device State</strong>

After checking the appropriate conditions, a decision will be made to either Allow, Block or require Multi-factor Authentication (MFA).  If the User Account or a Risky Sign-On is detected, then we can force a password change or force Multi-factor Authentication.

I will go through this process using my Windows 10 Virtual Machine.  However, this will apply to not only Windows, but iOS and Android.

&nbsp;

<strong>Step 1: Accessing Exchange Online</strong>

I will now go through the steps to access Exchange Online from a web browser. I go to <a href="https://outlook.office.com">https://outlook.office.com</a> and authenticate:

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog11.jpg"><img width="669" height="471" class="alignleft wp-image-646" alt="blog1" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog11.jpg" /></a><a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog1.jpg">
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

After authenticating I now have access to my email.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog2.jpg"><img width="619" height="350" class="alignleft wp-image-625" alt="blog2" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog2.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<strong>Step 2: Enable Location Based Rules</strong>

In this step, I will check who the User is and Based on the Users Location will require MFA, Allow or Block access to Exchange Online.

I have 3 different options:
<ul>
 	<li><strong>     Require multi-factor authentication</strong></li>
 	<li><strong>     Require multi-factor authentication when not on Trusted IPs (aka Work)</strong></li>
 	<li><strong>     Block access when not at work</strong></li>
</ul>
For this step, I will choose <strong>Block access when not at work</strong>.

Open the Azure Portal from <a href="https://portal.azure.com">https://portal.azure.com</a> and select <strong>Azure Active Directory</strong>.  Then select <strong>Conditional Access </strong>and click <strong>Add </strong>to create a Location Based Policy.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/CA2.jpg"><img width="730" height="487" class="alignleft wp-image-705" alt="ca2" src="https://msdnshared.blob.core.windows.net/media/2016/12/CA2.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

In the <strong>Name</strong> field I entered: <strong>Exchange - Block when not at work</strong>.

Under <strong>Assignments, </strong>I selected All Users from Users and Groups.  Then from Cloud apps, under the <strong>Include</strong> Tab, I chose <strong>Select Apps</strong> and then only selected <strong>Office 365 Exchange Online</strong>. As you can notice from the list, you can pick other Applications to add to this policy.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/CA3.jpg"><img width="727" height="564" class="alignleft wp-image-715" alt="ca3" src="https://msdnshared.blob.core.windows.net/media/2016/12/CA3.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Next I will select the <strong>Conditions</strong> to apply. I want this policy to apply to All Devices, so I will not configure any Device Platforms. Next, select <strong>Locations </strong>and under <strong>Configure </strong>select <strong>Yes </strong>and under<strong> Include</strong> tab, choose <strong>All locations</strong>. Then choose <strong>Exclude</strong> tab and select <strong>All Trusted IPs. </strong>This configuration will block all devices that are not on a Trusted IP.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/CA4.jpg"><img width="692" height="772" class="alignleft wp-image-725" alt="ca4" src="https://msdnshared.blob.core.windows.net/media/2016/12/CA4.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Finally, for <strong>Controls, </strong>select <strong>Block </strong><b>access.  </b>Now, all Users will have access Blocked when trying to connect from a non Trusted IP address.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/CA6.jpg"><img width="695" height="822" class="alignleft wp-image-735" alt="ca6" src="https://msdnshared.blob.core.windows.net/media/2016/12/CA6.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

This completes the creation and deployment of the policy to Block Access from devices that are not on a Trusted IP.

This is a screen shot that a user will receive when trying to access Exchange Online from a non Trusted IP Address:

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/12/CA91.jpg"><img width="481" height="267" class="alignleft wp-image-757" alt="ca9" src="https://msdnshared.blob.core.windows.net/media/2016/12/CA91.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

PAJ

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Implementing Conditional Access with Exchange Online</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/implementing-conditional-access-with-exchange-online</link>
      <pubDate>Tue, 29 Nov 2016 20:28:39 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=605</guid>
      <description><![CDATA[Please see updated post using new Azure Portal...]]></description>
      <content:encoded><![CDATA[Please see updated post using new Azure Portal - <span id="sample-permalink"><a href="https://blogs.technet.microsoft.com/pauljones/?p=685&amp;preview=true">https://blogs.technet.microsoft.com/pauljones/2016/12/27/<span id="editable-post-name">implementing-con…e-online-updated</span>/</a></span>

&nbsp;

In this Blog Post, I will step through the process to enable the different features of Conditional Access for Office 365 Exchange Online.  However, these same steps can be used with other Software as a Service applications in Azure.

Conditional Access will check the following:
<p style="text-align: left"><strong>     User / Risk</strong></p>
<p style="text-align: left"><strong>     Application</strong></p>
<p style="text-align: left"><strong>     Location</strong></p>
<p style="text-align: left"><strong>     Device / Device State</strong></p>
After checking the appropriate conditions, a decision will be made to either Allow, Block or require Multi-factor Authentication (MFA).

I will go through this process using my Windows 10 Virtual Machine.  However, this will apply to not only Windows, but iOS and Android.

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<strong>Step 1: Accessing Exchange Online</strong>

I will now go through the steps to access Exchange Online from a web browser. I go to https://outlook.office.com and authenticate

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog11.jpg"><img width="669" height="471" class="alignleft wp-image-646" alt="blog1" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog11.jpg" /></a><a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog1.jpg">
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

After authenticating I now have access to my email.

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog2.jpg"><img width="619" height="350" class="alignleft wp-image-625" alt="blog2" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog2.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<strong>Step 2: Enable Location Based Rules</strong>

In this step, I will check who the User is and Based on the Users Location will require MFA, Allow or Block access to Exchange Online.

I have 3 different options:
<ul>
 	<li><strong>     Require multi-factor authentication</strong></li>
 	<li><strong>     Require multi-factor authentication when not at work</strong></li>
 	<li><strong>     Block access when not at work</strong></li>
</ul>
For this step, I will choose <strong>Block access when not at work</strong>.

Go to https://manage.windowsazure.com and choose your Domain Name then Applications then Office 365 Exchange Online.  Once inside Office 365 Exchange Online, go to Configure and Click <strong>ON</strong> next to <strong>Enable Access Rules </strong>under multi-factor authentication and location based access rules.  Then select <strong>Block access when not at work</strong>.

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog3.jpg"><img width="685" height="659" class="alignleft wp-image-635" alt="blog3" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog3.jpg" />
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now when I try to access https://outlook.office.com from outside of work, I will get Blocked from the Access Rule and the following explanation will be posted.

&nbsp;

&nbsp;

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog4.jpg"><img width="440" height="484" class="alignleft wp-image-645" alt="blog4" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog4.jpg" />
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<strong>Step 3: Enable Device Based Access Rules</strong>

Follow the same steps to Configure Exchange Online, a little further down, Select <strong>ON</strong> for <strong>Enable Access Rules</strong> under Device Based Access Rules.  Then select either All devices or Only selected devices must be compliant, other devices will be allowed access.

For this demo, I just chose <strong>Windows</strong> and select Windows devices are compliant when <strong>domain joined or marked as compliant.</strong>

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog5.jpg"><img width="610" height="610" class="alignleft wp-image-655" alt="blog5" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog5.jpg" /></a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now when I go to https://outlook.office.com I will get the following message stating that the device must be domain joined compliant:

&nbsp;

&nbsp;

&nbsp;

<a href="https://msdnshared.blob.core.windows.net/media/2016/11/Blog6.jpg"><img width="436" height="662" class="alignleft wp-image-665" alt="blog6" src="https://msdnshared.blob.core.windows.net/media/2016/11/Blog6.jpg" />
</a>

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

Now I have stepped through the process for enabling Conditional Access for Exchange Online.

Conditional Access was given or denied based on the following steps:
<ul>
 	<li>Who is the User?</li>
 	<li>Where is the User Located?</li>
 	<li>Which Application is the User trying to Access?</li>
 	<li>Which Device is the User using?</li>
 	<li>Is that Device Compliant (domain joined or marked as Compliant via Microsoft Intune)?</li>
</ul>
&nbsp;

However, just remember that this can be used for any of the other Azure Applications.  Conditional Access is a feature of Azure Active Directory Premium and utilizes Microsoft Intune for Mobile Device Management.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Cloud App Security - Threat Detection</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/microsoft-cloud-app-security-threat-detection</link>
      <pubDate>Tue, 13 Sep 2016 21:19:38 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=565</guid>
      <description><![CDATA[Cloud App Security provides threat protection for your cloud applications that’s enhanced with vast...]]></description>
      <content:encoded><![CDATA[Cloud App Security provides threat protection for your cloud applications that’s enhanced with vast Microsoft threat intelligence and research. Identify high-risk usage, security incidents, and detect abnormal user behavior to prevent threats.

Cloud App Security helps you to stay ahead of attackers. You can identify anomalies in your cloud usage that may be indicative of a data breach. Cloud App Security advanced machine learning heuristics learn how each user interacts with each SaaS application and, through behavioral analysis, assesses the risks in each transaction. This includes simultaneous logins from two countries, the sudden download of terabytes of data, or multiple failed login attempts that may signify a brute force attack.

In this blog post, I will show how to identify and report on Users logging on from Risky IP Addresses outside of the United States.

From the Cloud App Security Console, Select Investigate and choose Activity Log.

For the full blog post, please visit my team site - <a href="https://blogs.technet.microsoft.com/scdsec/2016/09/13/cloud-app-security-threat-protection/">https://blogs.technet.microsoft.com/scdsec/2016/09/13/cloud-app-security-threat-protection/</a>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Cloud App Security - Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/microsoft-cloud-app-security-part-1</link>
      <pubDate>Mon, 22 Aug 2016 18:15:38 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/?p=545</guid>
      <description><![CDATA[Microsoft Cloud App Security (CAS)...]]></description>
      <content:encoded><![CDATA[Microsoft <strong>C</strong>loud <strong>A</strong>pp <strong>S</strong>ecurity (<strong>CAS</strong>) – https://www.microsoft.com/en-us/cloud-platform/cloud-app-security

Part 1: Credit Card Numbers

In this blog post, I am going to cover how to setup alerts and enforce Data Loss Prevention when a file containing credit card number is detected in a sanctioned cloud app.  A sanctioned app is a cloud application that has been approved in the Cloud App Security console.

<a href="https://msdnshared.blob.core.windows.net/media/2016/08/ACAS1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2016/08/ACAS1.jpg" alt="ACAS1" width="909" height="567" class="size-full wp-image-555 alignnone" /></a>

You can read the entire blog post from here - <a href="https://blogs.technet.microsoft.com/scdsec/2016/08/22/microsoft-cloud-app-security-part-1-credit-card-numbers/">https://blogs.technet.microsoft.com/scdsec/2016/08/22/microsoft-cloud-app-security-part-1-credit-card-numbers/</a>

Thanks,

Paul]]></content:encoded>
    </item>
    <item>
      <title>How to setup Azure SQL Integrated Authentication</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/how-to-setup-azure-sql-integrated-authentication</link>
      <pubDate>Mon, 08 Feb 2016 08:19:14 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/2016/02/08/how-to-setup-azure-sql-integrated-authentication/</guid>
      <description><![CDATA[How to setup Azure SQL Integrated Authentication

Error: &ldquo;Could not discover endpoint...]]></description>
      <content:encoded><![CDATA[<h1><span style="color:#2e74b5;font-family:Calibri Light;"></span></h1>
<div class="WordSection1">
<h1><span style="color:#3366ff;">How to setup Azure SQL Integrated Authentication</span></h1>
</div>
<h1><span style="color:#2e74b5;font-family:Calibri Light;">Error: &ldquo;Could not discover endpoint for Integrate Windows Authentication&rdquo; when attempting Active Directory Integrated Authentication</span></h1>
<h2><span style="color:#2e74b5;font-family:Calibri Light;font-size:large;">Details of error message:</span></h2>
<p><span><span style="font-size:medium;">Failed to authenticate the user NT Authority\Anonymous Logon in Active Directory (Authentication=ActiveDirectoryIntegrated).</span></span></p>
<p><span><span style="font-size:medium;">Error code 0xCAA90022; state 10</span></span></p>
<p><span><span style="font-size:medium;">Could not discover endpoint for Integrate Windows Authentication. Check your ADFS settings. It should support Integrate Widows Authentication for WS-Trust 1.3. (Microsoft SQL Server, Error: 0)</span></span></p>
<p><span><span style="font-size:medium;"><span style="color:#3366ff;font-size:small;"><strong>Image:</strong></span><br /></span></span></p>
<p><span><span style="font-size:medium;"><span style="font-size:small;"><strong><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/1665.A1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/1665.A1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/1665.A1.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/1665.A1.png" border="0" /></a><br /></strong></span></span></span></p>
<p><span><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span><span style="font-size:medium;"></span></span></p>
<p><span style="font-size:medium;"><strong><span style="color:#2e74b5;font-family:Calibri Light;">Caused:</span></strong></span><span style="font-family:Calibri;font-size:medium;"><strong><span style="font-size:medium;">&nbsp;</span>&nbsp;&nbsp;&nbsp;</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Caused when attempting &ldquo;Active Directory Integrated Authentication&rdquo; from the SQL Management Studio using ADALSQL with default ADFS Settings.</span></p>
<p><span><span style="font-size:medium;"></span></span></p>
<p><span style="font-size:medium;"><strong><span style="color:#2e74b5;font-family:Calibri Light;">Reason:</span></strong></span><span style="font-family:Calibri;font-size:medium;"><strong>&nbsp;&nbsp;&nbsp;</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; By default, ADFS does not enable Integrated Windows Authentication for WS-Trust 1.3, as shown below:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/2313.A2.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/2313.A2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/2313.A2.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/2313.A2.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"></span></p>
<p><strong><span style="font-size:medium;"><span style="color:#2e74b5;font-family:Calibri Light;">Solution:</span></span></strong><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enable Integrated Windows Authentication for WS-Trust 1.3 for the Transport Security Mode and if desired, enable for Proxy access, as shown below:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/7801.A3.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/7801.A3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/7801.A3.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/7801.A3.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Upon enabling the setting you can log into SQL Azure, using Active Directory Integrated Authentication, and verify that, if your account has permissions, you can access SQL Azure without an id or password.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/3022.A4.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/3022.A4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/3022.A4.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/3022.A4.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/6758.A5.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/6758.A5.png"><img width="591" height="240" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/6758.A5.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/6758.A5.png" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span><span style="font-size:medium;">&nbsp;</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>How to publish an internal web application using Microsoft Azure</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/how-to-publish-an-internal-web-application-using-microsoft-azure</link>
      <pubDate>Wed, 22 Jul 2015 14:16:00 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/2015/07/22/how-to-publish-an-internal-web-application-using-microsoft-azure/</guid>
      <description><![CDATA[How to publish an internal web application using Microsoft Azure
In this blog post, I will detailed...]]></description>
      <content:encoded><![CDATA[<h1><span style="font-size:x-large;">How to publish an internal web application using Microsoft Azure</span></h1>
<p><span style="font-size:large;"><span style="font-size:medium;">In this blog post, I will detailed the steps on how to publish an internal web application using Microsoft Azure.&nbsp; I will publish an internal Self Service Portal for MBAM (Microsoft BitLocker Administration and Management).&nbsp; This Portal is used to generate BitLocker Recovery Key if you are locked out of Windows by BitLocker.</span><br /></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 1: </strong>Enable Application Proxy on your directory</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Select your Directory, then select Configure. Scroll down and click on <strong>Enabled</strong><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app8.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app8.PNG"><img width="550" height="152" style="width:699px;height:231px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app8.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app8.PNG" border="0" /></a></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 2:</strong> Establish connectivity with the network<br /></span></span><span style="font-size:large;"><span style="font-size:medium;"></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">From your internal server, select Download and install the Application Proxy Connector on your network. Select <strong>Download now.</strong><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong><br /></strong>Run the install and follow the wizard.&nbsp; I installed Application Proxy Connector on my MBAM Web Server, but it is not required to be installed on the same server.&nbsp; Once the install completes successfully, you are ready to Add an Application.</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>&nbsp;</strong></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 3:</strong> Add an Application</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Login to Microsoft Azure - https://manage.windowsazure.com. Select your Directory (mine is called Oakbourne Enterprises), then click on Applications button at the top of the page.<br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/App3.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/App3.PNG"><img width="649" height="270" style="width:690px;height:340px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/App3.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/App3.PNG" border="0" /></a><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Select Add at the bottom of the Application page. Select <em>Publish an application that will be accessible from outside your network.</em><br /></span></span></p>
<p style="margin-left:60px;"><span style="font-size:large;"><span style="font-size:medium;"><strong>Name: </strong>MBAM Self Service Portal<em><br /></em></span></span></p>
<p style="margin-left:60px;"><span style="font-size:large;"><span style="font-size:medium;"><strong>Internal URL: </strong><a href="http://mbam.contoso.org/selfservice">http://mbam.contoso.org/selfservice</a><em><br /></em></span></span></p>
<p style="margin-left:60px;"><strong><span style="font-size:large;"><span style="font-size:medium;">Preauthentication Method: </span></span></strong><span style="font-size:large;"><span style="font-size:medium;">Azure Active Directory</span></span></p>
<p style="margin-left:60px;"><span style="font-size:large;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 5:</strong> Assign Users</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">From your list of Applications, select your application, then click on <strong>Users and Groups. </strong>Select appropriate Users and/or Groups for the application to show up in the user&#39;s application list.&nbsp; </span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Note: This only affects application visibility.<br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app4.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app4.PNG"><img width="550" height="248" style="width:812px;height:373px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app4.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app4.PNG" border="0" /></a><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>&nbsp;</strong></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 6:</strong> Configure Application SPN</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><span style="font-size:medium;">Note: The Application Proxy and Web Site are on the same server - MBAM.contoso.org</span></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Select Configure at the top of the page, scroll down near the bottom of the page and enter <strong>Internal Application SPN: </strong>http/mbam.contoso.org (it is not a typo that I used http/servername).<br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">If a HTTP SPN is not already configured for server, it will have to be set using SETSPN command. To check and set if necessary, follow these commands from your webserver:<br /></span></span><span style="font-size:large;"><span style="font-size:medium;"><span style="font-size:large;"><span style="font-size:medium;"></span></span></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><span style="font-size:large;"><span style="font-size:medium;">This will list all registered SPN for this server.&nbsp; </span></span>SETSPN -L (enter server name) - example: <em><strong>setspn -l mbam</strong> </em><br /></span></span></p>
<p style="margin-left:30px;"><span style="font-size:large;"><span style="font-size:medium;">You should see a line containing HOST/MBAM.contoso.org - If not, proceed to Add a SPN.<br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">If a HTTP SPN is not set, follow this command to create one:<br /></span></span></p>
<p style="margin-left:30px;"><span style="font-size:large;"><span style="font-size:medium;">&nbsp;SETSPN -S HTTP/ServerName Servername - example: <strong>setspn -s http/mbam mbam</strong></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">&nbsp;</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>Step 7:</strong> Configure&nbsp;Server Delegation<br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Launch Active Directory Users and Computers - find your Server, open Properties and select <strong>Delegation</strong> tab.&nbsp; Select <strong>Trust this computer for delegation to specified services only.&nbsp; </strong>Then select <strong>Use any authentication protocol, </strong>finally click Add button.&nbsp; Select your server, choose <strong>http</strong> <strong>mbam.contoso.org.</strong><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app5.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app5.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app5.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app5.PNG" border="0" /></a><br /></strong></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><strong>&nbsp;</strong></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Finally, logon to Azure AD Portal to launch your Application - <a href="https://myapps.microsoft.com">https://myapps.microsoft.com</a>.&nbsp; Click on MBAM Self Service icon to launch.</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app6.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app6.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app6.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app6.PNG" border="0" /></a><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app7.PNG" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app7.PNG"><img width="552" height="335" style="width:795px;height:383px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/app7.PNG" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/app7.PNG" border="0" /></a><br /></span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Note the differences between the URLs</span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">External Azure: <a href="https://mbamselfserviceportal-oakbourne.msappproxy.net/selfservice">https://mbamselfserviceportal-oakbourne.msappproxy.net/selfservice</a> </span></span></p>
<p><span style="font-size:large;"><span style="font-size:medium;">Internal Network: <a href="http://mbam.contoso.org">http://mbam.contoso.org/selfservice</a><br /></span></span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Advanced Customization of ADFS for Cloud Usage (Part 4 of 4)</title>
      <link>https://docs.microsoft.com/archive/blogs/pauljones/advanced-customization-of-adfs-for-cloud-usage-part-4-of-4</link>
      <pubDate>Tue, 26 May 2015 08:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Paul Jones (MSFT)]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/pauljones/2015/05/26/advanced-customization-of-adfs-for-cloud-usage-part-4-of-4/</guid>
      <description><![CDATA[Advanced Customization of ADFS for Cloud Usage

Written by Kevin Saye

This is part 4 of a 4 part...]]></description>
      <content:encoded><![CDATA[<span style="font-family:Calibri Light;font-size:300%;">Advanced Customization of ADFS for Cloud Usage</span>

<span style="font-family:Calibri;font-size:medium;">Written by Kevin Saye</span>

<span style="font-family:Calibri;font-size:medium;">This is part 4 of a 4 part blog about customizing Microsoft&rsquo;s ADFS for advanced user scenarios.&nbsp; I will break down this series into the following parts:</span>

<table border="1" cellspacing="0" cellpadding="0">  <tbody>  <tr>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <span style="font-family:Calibri;font-size:medium;">Part 1 &ndash; Customizing the Login Page</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">Customizing the Login Page for advanced features.&nbsp; We will add icons and have automated presentation logic.</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  </tr>  <tr>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">Part 2 &ndash; Using Cloud or on Premises MFA</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">What changes happen in the claims and how to control where MFA takes place.</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  </tr>  <tr>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">Part 3 &ndash; User Certificates</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">Enabling enrollment and usage of user certificates for ADFS.</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  </tr>  <tr>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">Part 4 &ndash; Expired passwords and locked out accounts</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  <td width="312" valign="top"><span style="font-family:Times New Roman;font-size:medium;"> </span>  <p><span style="font-family:Calibri;font-size:medium;">How to detect and address users with expired passwords or locked out accounts.</span></p>  <span style="font-family:Times New Roman;font-size:medium;"> </span></td>  </tr>  </tbody>  </table>

<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span>

<span style="color:#5a5a5a;font-family:Calibri;font-size:medium;">Part 4 &ndash; Expired passwords and locked out accounts</span>

<span style="font-family:Calibri;font-size:medium;">Expired Passwords are a part of life.&nbsp; For corporate users, they often log in using Windows, and Windows will give them (by default) a 14 day warning.&nbsp; ADFS, because it is exposed to the hostile internet, is not so friendly by default.</span>

<span style="font-family:Calibri;font-size:medium;">Windows Server 2012 R2 ADFS addresses passwords that expired, as show below:</span>

<span style="font-family:Times New Roman;font-size:medium;"> </span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c1.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c1.png" border="0"></a>



<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;">ADFS, for security reasons, does not address account lockout, as shown below:</span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;">&nbsp;</span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c2.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c2.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c2.png" border="0"></a><br></span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;">&nbsp;</span>



<span style="font-family:Calibri;font-size:medium;">Because this error message above can be for many reasons or could be a brute force attack, addressing this error can vary based on company policy.</span>



<span style="font-family:Calibri;font-size:medium;">If you want to enable the end user to reset their password using Azure Active Directory Premium&rsquo;s Reset Password (</span><a href="https://passwordreset.microsoftonline.com/"><span style="color:#0563c1;font-family:Calibri;font-size:medium;">https://passwordreset.microsoftonline.com</span></a><span style="font-family:Calibri;font-size:medium;">) we can notify or automatically redirect the user to the reset site.</span>



<span style="font-family:Calibri;"><span style="font-size:medium;">Using JavaScript, we can detect the &ldquo;errorText&rdquo; is not null and take action.&nbsp; </span></span>



<span style="font-family:Calibri;font-size:medium;">My example below ask the user if they need help resetting their password and will redirect them to the Reset Password Site.&nbsp; You can modify as you see fit.</span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;"><span style="font-family:Times New Roman;font-size:medium;"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c3.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c3.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c3.png" border="0"></a></span></span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;">&nbsp;</span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c4.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c4.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/72/08/c4.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-72-08/c4.png" border="0"></a><br></span>

<span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;">&nbsp;</span>



<span style="font-family:Calibri;font-size:medium;">The HTML I used to set this up is included below:</span>



&lt;script&gt;function resetPassword()



&nbsp; { if(document.getElementById("errorText").innerHTML != "")



&nbsp;&nbsp;&nbsp; { if (confirm("Would you like to reset your password?") == true)



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { location.href='https://passwordreset.microsoftonline.com/?whr=kevinsay.scd365.net'; }



&nbsp;&nbsp;&nbsp; };



&nbsp; };



&nbsp; window.onload=resetPassword;



&lt;/script&gt;



<span style="font-family:Calibri;font-size:medium;">The PowerShell command to configure this is:</span>



Set-AdfsGlobalWebContent -SignInPageDescriptionText "&lt;script&gt;function resetPassword() { if(document.getElementById(""errorText"").innerHTML != """") { if (confirm(""Would you like to reset your password?"") == true) { location.href='https://passwordreset.microsoftonline.com/?whr=kevinsay.scd365.net'; } }; }; window.onload=resetPassword; &lt;/script&gt;"

<p><span style="line-height:107%;font-family:'Calibri',sans-serif;font-size:11pt;"><span style="font-family:Times New Roman;font-size:medium;"> </span><br></span></p>]]></content:encoded>
    </item>
  </channel>
</rss>