<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Field notes by - Vinayak Latthe</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/vilath/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/vilath/feed.xml</link>
    <description>Office 365 in the Enterprise.</description>
    <lastBuildDate>Sat, 06 Oct 2018 00:19:49 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>How to Update Certificates for AD FS</title>
      <link>https://docs.microsoft.com/archive/blogs/vilath/how-to-update-certificates-for-ad-fs-3-0</link>
      <pubDate>Wed, 02 Sep 2015 04:25:00 GMT</pubDate>
      <dc:creator><![CDATA[iVinayak]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vilath/2015/09/02/how-to-update-certificates-for-ad-fs-3-0/</guid>
      <description><![CDATA[How to Update Certificates for AD FS
Active Directory Federation Services (AD FS) 3.0 is a server...]]></description>
      <content:encoded><![CDATA[<h3>How to Update Certificates for AD FS</h3>
Active Directory Federation Services (AD FS) 3.0 is a server role included in Windows Server 2012 R2.
Active Directory Federation Services (AD FS) 4.0 is a server role included in Windows Server 2016.
<h4>Certificates used by federation servers</h4>
<div class="section" id="sectionSection0">

Each federation server is required to have a server authentication certificate and a token-signing certificate before it can participate in AD FS communications. The trust policy requires an associated certificate, known as a verification certificate, which is the public key portion of the token-signing certificate.
<table width="1374">
<tbody>
<tr>
<td width="188"><strong>Server authentication certificates</strong></td>
<td width="681">The federation server uses Secure Sockets Layer (SSL) server authentication certificates to secure Web services traffic for communication with Web clients or the federation server proxy. These certificates are requested and installed through the Internet Information Services (IIS) snap-in.</td>
</tr>
<tr>
<td width="188"><strong>Token-signing certificates</strong></td>
<td width="681">Each federation server uses a token-signing certificate to digitally sign all security tokens that it produces. Because each security token is digitally signed by the account partner, the resource partner can verify that the security token was in fact issued by the account partner and that it was not modified. This helps prevent attackers from forging or modifying security tokens to gain unauthorized access to resources.

Digital signatures on security tokens are also used in the account partner when there is more than one federation server. In this situation, the digital signatures verify the origin and integrity of security tokens that are issued by other federation servers in the account partner. The digital signatures are verified with verification certificates.</td>
</tr>
</tbody>
</table>
</div>
<div class="contentTableWrapper">
<table width="5" summary="table">
<tbody>
<tr>
<td></td>
</tr>
</tbody>
</table>
</div>
<ol start="1"></ol>
<h3><span>Replacing the SSL Certificate for an AD FS farm</span></h3>
<span>Normally the SSL certificate for the AD FS farm comes from a trusted third-party CA, like DigiCert or Verisign. This is a traditional SSL cert like you would use in IIS for any secure web server. You may use a Single-name, subject alternative name (SAN), or wildcard cert for this purpose as long as it's valid and trusted by internal and external AD FS clients. You can find more information about the certificate requirements <a href="https://docs.microsoft.com/windows-server/identity/ad-fs/design/certificate-requirements-for-federation-servers">here</a>.</span>

<span>Now you can use <b>Azure AD Connect Tool</b> to update the SSL certificate for an Active Directory Federation Services (AD FS) farm. <b>AD Connect is the preferred method for changing the SSL certificate.</b> </span>

<span>You can perform the whole operation of updating SSL certificate for the AD FS farm across all <b>federation</b> and <b>Web Application Proxy (WAP)</b> servers in three simple steps:</span>
<ol>
 	<li><strong>Provide ADFS Farm Information</strong></li>
 	<li><strong>Provide new SSL Certificate</strong></li>
 	<li><strong>Select Servers for update</strong></li>
</ol>
<h3 id="prerequisites">Prerequisites</h3>
<ul class="lf-text-block lf-block">
 	<li><strong>AD FS Farm</strong>: Make sure that your AD FS farm is Windows Server 2012 R2-based or later.</li>
 	<li><strong>Azure AD Connect</strong>: Ensure that the version of Azure AD Connect is 1.1.553.0 or higher. You'll use the task <strong>Update AD FS SSL certificate</strong></li>
</ul>
<img alt="Update SSL task" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/updatessltask.png" />
<h3 id="step-1-provide-ad-fs-farm-information">Step 1: Provide AD FS farm information</h3>
<p class="lf-text-block lf-block">Azure AD Connect attempts to obtain information about the AD FS farm automatically by:<span class="lf-thread-btn"> </span></p>

<ol class="lf-text-block lf-block">
 	<li style="list-style-type: none">
<ol class="lf-text-block lf-block">
 	<li>Querying the farm information from AD FS (Windows Server 2016 or later).</li>
 	<li>Referencing the information from previous runs, which are stored locally with Azure AD Connect.</li>
</ol>
</li>
</ol>
You can modify the list of servers that are displayed by adding or removing the servers to reflect the current configuration of the AD FS farm. As soon as the server information is provided, Azure AD Connect displays the connectivity and current SSL certificate status.<span class="lf-thread-btn"> </span>
<p class="lf-text-block lf-block"><img alt="AD FS server info" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/adfsserverinfo.png" /><span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block">If the list contains a server that's no longer part of the AD FS farm, click <strong>Remove</strong> to delete the server from the list of servers in your AD FS farm.<span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block"><img alt="Offline server in list" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/offlineserverlist.png" /><span class="lf-thread-btn"> </span></p>

<div class="NOTE alert">
<p class="lf-text-block lf-block">Note<span class="lf-thread-btn"> - </span>Removing a server from the list of servers for an AD FS farm in Azure AD Connect is a local operation and updates the information for the AD FS farm that Azure AD Connect maintains locally. Azure AD Connect doesn't modify the configuration on AD FS to reflect the change. <span class="lf-thread-btn"> </span></p>

</div>
<h3 id="step-2-provide-a-new-ssl-certificate">Step 2: Provide a new SSL certificate</h3>
<p class="lf-text-block lf-block">After you've confirmed the information about AD FS farm servers, Azure AD Connect asks for the new SSL certificate. Provide a password-protected PFX certificate to continue the installation.<span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block"><img alt="SSL certificate" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/certificate.png" /><span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block">After you provide the certificate, Azure AD Connect goes through a series of prerequisites. Verify the certificate to ensure that the certificate is correct for the AD FS farm:<span class="lf-thread-btn"> </span></p>

<ul class="lf-text-block lf-block">
 	<li style="list-style-type: none">
<ul class="lf-text-block lf-block">
 	<li>The subject name/alternate subject name for the certificate is either the same as the federation service name, or it's a wildcard certificate.</li>
 	<li>The certificate is valid for more than 30 days.</li>
 	<li>The certificate trust chain is valid.</li>
 	<li>The certificate is password protected.</li>
</ul>
</li>
</ul>
<h3 id="step-3-select-servers-for-the-update">Step 3: Select servers for the update</h3>
<p class="lf-text-block lf-block">In the next step, select the servers that need to have the SSL certificate updated. Servers that are offline can't be selected for the update.<span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block"><img alt="Select servers to update" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/selectservers.png" /><span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block">After you complete the configuration, Azure AD Connect displays the message that indicates the status of the update and provides an option to verify the AD FS sign-in.<span class="lf-thread-btn"> </span></p>
<p class="lf-text-block lf-block"><img alt="Configuration complete" src="https://docs.microsoft.com/en-us/azure/active-directory/connect/media/active-directory-aadconnectfed-ssl-update/configurecomplete.png" /></p>
&nbsp;
<ul>
 	<li><strong><em>Tip</em></strong>:Use the <a target="_blank" href="https://www.digicert.com/help/" rel="noopener">DigiCert SSL Installation Diagnostics Tool</a>  to confirm that the certificate and all intermediate certs are installed correctly, This tool works with any third-party CA certificate, not just DigiCert's.</li>
</ul>
<h3>Replacing the Token-Signing and Token-Decrypting Certificate</h3>
The Token-Signing and Token-Decrypting certificates are normally self-signed certificates good for one year, dated from the time the primary AD FS server was installed. The Office 365 portal will warn you when these certs are about to expire and that user access to all Office 365 services will fail.

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6371.49.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6371.49.png" border="0" /></a>
By default, Token-Signing and Token-Decrypting Certificates will expire one year after your ADFS was setup. Near to the expiration period you will get the following notification on your Portal Admin Page.

This notification does not apply to SSL Certificate, also known as Service Communications Certificate.

The number of days represents the day where the service will stop. Due to certificate change.

<strong>How to calculate the effective day:</strong>

The new Certificate will be generated 20 days before the certificate expirations date:

1) Go to Powershell
2) Connect-MsolService
3) Get-MsolFederationProperty
4) Check [CertificateGenerationThreshold: 20]

The new certificate will be promoted to Primary after 5 days:

1) Go to Powershell
2) Connect-MsolService
3) Get-MsolFederationProperty
4) Check [CertificatePromotionThreshold: 5]

Knowing that AD FS Service only uses the primary certificate, as we will switch the certificates 15 days before the current primary certificates expires the service will stop 15 days before the current certificate expiration.

This is not true if the Relying party has been updated on the 5 days that exist between the new certificate creation and the promotion.

<strong>Example:</strong>

Certificate expires on 30-01-2014.

New certificate will be created on 10-01-1014 and will be marked as Secondary [20 days before expiration].

On the 15-01-2014 the Secondary Certificate is promoted to Primary [5 days after new certificate generation].

If we see the message on the portal on the day 05-01-2014 this should be informing that the service will stop in 10 days, if federation metadata information is not updated.

<strong>ADFS default configuration:</strong>

Default configuration on AD FS regarding Token Signing and Token Decrypting certificates includes an auto-renewal process, [AutoCertificateRollover].

If you did not change this value from “True” to “False”, no renewal operation regarding token certificates is needed, this will happen automatically based on triggers explained below.

<strong>Default values of ADFS - [see details below for default values]:</strong>

The Rollover interval is checked by the AD FS service every 720 minutes (12 hours).

If the existing primary certificate (Token Signing or Token Decryption) expiration time is within the window of the CertificateGenerationThreshold value (20 days), then a new certificate is generated and configured as the secondary certificate.

Noted by event ID 335 in the event logs: It will remain as the secondary certificate until the CertificatePromotionThreshold value is observed (5 days). So, 5 days after creation of the certificate, it will be promoted and the existing primary will be configured as the secondary until the next CertificateGenerationThreshold window is observed.

Once the Promotion event has occurred, the Token Service will sign/encrypt all issued tokens with the new primary certificate.

This does not cause a service outage of AD FS 2.0, but an application issue when the token is received and signed with something other than the expected certificate. This is true for O365 or any other application.

With AutoCertificateRollover enabled, AD FS 2.0 will continue to function as expected.

<strong>Validate your ADFS configuration:</strong>

To validate your configuration, connect to your primary ADFS Server and follow these PowerShell instructions:

Open the Windows PowerShell
Add-PSSnapin Microsoft.ADFS.PowerShell
Get-ADFSProperties

<strong>CertificateCriticalThreshold: 2</strong> - Days prior to expiry of the certificate before a new certificate is generated and promoted if AutoCertificateRollover has not performed naturally.

<strong>CertificateDuration: 365</strong> - Validity period of the auto-generated Certificate.

<strong>CertificateGenerationThreshold: 20</strong> - Days before expiration of current primary a new certificate will be generated.

<strong>CertficatePromotionThreshold: 5</strong> - Days the newly generated certificate will exist before being promoted from secondary to primary.

<strong>CertificateRolloverInterval: 720</strong> - Interval in minutes at which we check to see if a new certificate needs to be generated.

<strong>CertificateThresholdMulitplier: 1440</strong> - Number of minutes used in calculation of other threshold counters (default value is 1440 minutes or 24 hrs. X 60 minutes, which makes threshold values equal to full days).

To have single sign on with ADFS the federation certificates need to be updated with the online platform. O365 is now automatically pulling the certificates from the AD FS server via the public metadata endpoint on a regular basis.

You may need to manually update the federation metadata using the PowerShell in complement to the Microsoft pull mechanism, as this will not pull the certificates on all scenarios.

&nbsp;

<strong>How to Enable and Immediately Use AutoCertificateRollover</strong>

<strong>If you have turned off AutoCertificateRollover in the past and you want to turn it back on, there are a few things you need to consider </strong>
<ul>
 	<li>Simply turning AutoCertificateRollover back on via PowerShell will not immediately cause the self-signed certificates to be generated</li>
 	<li>The self-signed certificates will only be generated once the critical threshold (close to expiration) of your existing certificates has been met</li>
 	<li><strong>There is a way to immediately cause the self-signed certificates to be generated, but this will cause service outage with your partners until they have refreshed from your federation metadata. We recommend causing the certificate generation after hours to avoid an outage.Alternatively, you could work closely with your partners to ensure that they are ready to immediately update via federation metadata (causing a short outage).</strong></li>
</ul>
if you decide to let the existing certificates hit the critical threshold instead of invoking the certificate generation process, then you only need to re-enable AutoCertificateRollover.

If you decide that you want to immediately generate new self-signed certificates, then you need to first re-enable AutoCertificateRollover and then issue a PowerShell command to invoke immediate certificate generation.

<span style="text-decoration: underline">PowerShell command to re-enable
AutoCertificateRollover:</span>

<strong>Add-PSSnapin Microsoft.Adfs.Powershell</strong>

<strong>Set-ADFSProperties -AutoCertificateRollover $true</strong>

<span style="text-decoration: underline">PowerShell command to immediately generate new self-signed certificates:</span>

<strong>Add-PSSnapin Microsoft.Adfs.Powershell</strong>

<strong>Update-AdfsCertificate -Urgent</strong>

<strong>NOTE:</strong> Be aware that there is an AD FS service outage incurred when the Token-Decrypting or Token-Signing certificates are updated because the relaying parties must update their configuration to expect the new certs. Do this work when users are least impacted by the outage.

Before you renew the Token-Signing and Token-Decrypting certificates I recommend that you increase the AD FS certificate lifetime for self-signed certs.
<ul>
 	<li>Logon to the primary AD FS server and open an elevated PowerShell prompt. Run the following to configure the AD FS server to generate  self-sign Token-Signing and Token-Decrypting certificates that  last 10 years and enable Auto Certificate Rollover:</li>
</ul>
<strong>Set-ADFSProperties CertificateDuration 3650 -AutoCertificateRollover $true</strong>
<ul>
 	<li>These cmdlets will generate new self-signed Token-Signing and Token-Decrypting certificates which will be promoted immediately and then disable auto certificate rollover again. Relay partners will need to update their metadata to accept the new signed claims:</li>
</ul>
<strong>Update-AdfsCertificate -CertificateType Token-Decrypting -Urgent</strong>

<strong>Update-AdfsCertificate -CertificateType Token-Signing -Urgent</strong>

<strong>Set-ADFSProperties -AutoCertificateRollover $false</strong>
<ul>
 	<li>Update the Office 365 metadata using Windows Azure PowerShell:</li>
</ul>
<strong>Connect-MsolService</strong>

<strong>Update-MsolFederatedDomain -DomainName <em>domain.com</em> -SupportMultipleDomain</strong>

<strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8741.50.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8741.50.png" border="0" /></a></strong>

&nbsp;
<ul>
 	<li>Remember that you'll need to update other relaying party metadata, if you use them. For example, Yammer on-prem (not Office 365) must be updated manually by Microsoft by opening a support ticket in the Office 365 portal. You will need to supply them with the Token-Signing and Token-Decrypting certificates (minus the private keys).</li>
</ul>
<h4>A Note About WAP Servers</h4>
If your organization uses Windows Application Proxy (WAP) servers for your AD FS deployment, there's nothing else you need to do regarding Token-Signing and Token-Decrypting certificates. WAP servers only use the Service Communications SSL cert.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Step-by-Step Guide for AAD Connect Custom installation + Federation with AD FS</title>
      <link>https://docs.microsoft.com/archive/blogs/vilath/step-by-step-guide-for-aad-connect-custom-installation-federation-with-ad-fs</link>
      <pubDate>Wed, 24 Jun 2015 00:58:00 GMT</pubDate>
      <dc:creator><![CDATA[iVinayak]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vilath/2015/06/24/step-by-step-guide-for-aad-connect-custom-installation-federation-with-ad-fs/</guid>
      <description><![CDATA[When setting up an Office 365 environment and you want to use your own Active Directory domain you...]]></description>
      <content:encoded><![CDATA[<p>When setting up an Office 365 environment and you want to use your own Active Directory domain you definitely need to setup synchronization services with Azure AD. Where we needed to setup DirSync in the past we now need to install and configure the successor <a href="https://www.microsoft.com/en-us/download/details.aspx?id=44225">Azure AD Sync</a>&nbsp;or the Azure AD Connect synchronization service. You can do this by downloading this tool or by downloading <a href="https://www.microsoft.com/en-us/download/details.aspx?id=47594">Microsoft Azure Active Directory Connect</a> a really great job in simplifying the setup process. Let&rsquo;s have a look.</p>
<p><strong>Overview of AAD Connect</strong></p>
<p>Azure AD Connect is a single wizard that performs following steps automatically</p>
<ul>
<li>Install pre-requisites like the Azure Active Directory PowerShell Module and Microsoft Online Services Sign-In Assistant.</li>
<li>Install and configure Azure AD Sync, as the sync engine, and enable directory synchronization in the customer's Azure tenant</li>
<li>Configures either password sync or AD FS, depending on which sign-on option the customer prefers, and includes any required configuration in Azure</li>
</ul>
<p><strong>Different Synchronization Tools</strong></p>
<p>With the release of Azure AD Connect we now have three tools that will provide directory synchronization to Azure AD / Office 365.&nbsp;</p>
<ul>
<li>Microsoft Azure Active Directory Sync tool (DirSync) &ndash; This sync tool will eventually retire but there is no ETA at this time.</li>
<li>Azure AD Sync &ndash; The &ldquo;stand alone&rdquo; version of this tool will retire when Azure AD Connect goes GA.</li>
<li>Azure AD Connect &ndash; This sync tool will be the only tool available once DirSync is retired. It includes Azure AD Sync as the synchronization engine.</li>
</ul>
<p>Azure AD Connect with additional sync options, seamless migration from DirSync,</p>
<p>There will no longer be separate releases of Azure AD Sync and Azure AD Connect. And we have no future releases of DirSync planned. Azure AD Connect is now your one stop shop for sync, sign on and all combinations of hybrid connections.</p>
<p>When stating the setup the Microsoft Azure Active Directory Connect tool assist you by installing the prerequisites that are needed to be able to synchronize users and groups from your on premise AD to Azure AD. It will automatically install the following products if they do not exist;</p>
<ul>
<li>Microsoft Online Services Sign-In Assistant for IT Professionals</li>
<li>Windows Azure Active Directory Module for Windows PowerShell</li>
<li>Microsoft Visual C++ 2013 Redistributable Package</li>
</ul>
<p><br /> <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8103.25.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8103.25.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8103.25.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8103.25.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2161.26.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2161.26.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2161.26.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2161.26.png" alt="" border="0" /></a></p>
<p><em>Install the prereqs</em></p>
<p>After getting the prerequisites ready the Azure AD Connect synchronization service will be installed. Azure AD Connect synchronization service needs a SQL database, you can configure an existing one or a SQL Express version will be automatically installed. Next we need to provide the username of a Azure AD user that is a member of the Global Administrator role.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0243.27.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0243.27.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0243.27.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0243.27.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2671.28.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2671.28.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2671.28.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2671.28.png" alt="" border="0" /></a>&nbsp;</p>
<p><em>Connect to Azure AD</em></p>
<p>After the synchronization service installed and connected with Azure AD we are able to customize the configuration of Azure AD Connect synchronization service, and more&nbsp; So if we do not choose to use the express settings as shown below we are able to<br />configure Single Sign On via Password Synchronization, Federation with AD FS.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0871.29.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0871.29.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0871.29.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0871.29.png" alt="" border="0" /></a></p>
<p>&nbsp;<em>Use customize option</em></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2260.30.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2260.30.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2260.30.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2260.30.png" alt="" border="0" /></a><em></em></p>
<p><em>Custom options</em></p>
<p>I will choose Federation with AD FS and connect my Active Directory. Microsoft Azure Active Directory Connect allows you to synchronize more than one directory, which is really cool if you ask me.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0827.31.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0827.31.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0827.31.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0827.31.png" alt="" border="0" /></a><em></em></p>
<p><em>Add your on premise AD</em></p>
<p>The next step is that you are able to filter users and groups by DN or Group Membership. So no hacking in FIM (which is not part of this solution anymore) anymore.</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5621.32.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5621.32.png" alt="" border="0" /><em></em></p>
<p><em>Filter or synchronize everything</em></p>
<p>Next you need configure how the user in on premise directories is identified. Is a user represented only once across multiple directories or does user identities exist across multiple directories. Based on attributes you are able to configure how a user must be matched. If you only use one Active Directory as a source, you can easily use the defaults as shown below.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2063.33.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2063.33.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2063.33.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2063.33.png" alt="" border="0" /></a><em></em></p>
<p><em>Select the attributes</em></p>
<p>As you see the Microsoft Azure Active Directory Connect tool assist you heavily in setting up the synchronization service. But is does more, optionally you are able to configure the following features:</p>
<p><strong>Exchange hybrid deployment</strong></p>
<p>The Exchange hybrid deployment features allows co-existence of Exchange mailboxes on both on premises as in Azure by synchronizing a specific set of attributes from Azure AD back to your own Active Directory.</p>
<p><strong>Password write back</strong></p>
<p>If the password changes in Azure AD, it will be written back to your own Active Directory.</p>
<p><strong>User write back</strong></p>
<p>If a user is created in Azure AD, it will be written back to your own Active Directory.</p>
<p>And:</p>
<ul>
<li><strong>Azure AD app and attribute filtering</strong></li>
<li><strong>Group writeback</strong></li>
<li><strong>Device writebrack</strong></li>
<li><strong>Device Sync</strong></li>
<li><strong>Directory extension attribute sync</strong></li>
</ul>
<p>Selecting two options as shown below allows us to configure the writeback location in the on premise Active Directory.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2677.34.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2677.34.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2677.34.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2677.34.png" alt="" border="0" /></a><em></em></p>
<p><em>Additional options</em></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3404.35.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3404.35.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3404.35.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3404.35.png" alt="" border="0" /></a></p>
<p>Next you need to configure a new AD FS Farm Windows server 2012 R2. Specify the SSL certificate used to secure the communication between clients and AD FS. The certificate file should be in pfx.</p>
<p><strong>Certificates</strong></p>
<p>Since ADFS leverages SSL, we need to have a SSL certificate.&nbsp; You could try three options, but only one will work:</p>
<ol>
<li>Self-signed certificate</li>
<li>Certificate issued from internal PKI</li>
<li>Certificate from 3rd party public CA</li>
</ol>
<p>Office 365 needs to see a valid <strong><span style="text-decoration: underline;">Service Communication Certificate </span></strong>on your ADFS infrastructure, so you are going to have to buy a certificate from a public CA.&nbsp; Office 365 will not trust a service communication certificate that is either self-signed or from your internal CA, which results in tears.&nbsp; We can use self-signed certificates for the <strong>Token Decrypting </strong>and <strong>Token Signing Certificate</strong>.&nbsp; These are separate from the service communication cert.</p>
<p>Please follow the documentation from your chosen CA to request, install and complete the certificate.&nbsp; The steps required vary from vendor to vendor and also over time.&nbsp; Make sure you are not missing any updated intermediate certificates!&nbsp; How would you know?&nbsp; Follow their&nbsp;process!!</p>
<p>For the purposes of this post we shall deploy the initial ADFS server, and in the future add another ADFS server for redundancy.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1273.36.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1273.36.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1273.36.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1273.36.png" alt="" border="0" /></a></p>
<p>&nbsp;Add Federation Servers On Windows Server 2012 R2, specify where to install AD FS services</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3660.37.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3660.37.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3660.37.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3660.37.png" alt="" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4075.38.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4075.38.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4075.38.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4075.38.png" alt="" width="207" height="177" border="0" /></a>&nbsp;</p>
<p>Add Proxy servers On Windows Server 2012 R2, specify where to install Web Application proxy servers name</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5238.39.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5238.39.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5238.39.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5238.39.png" alt="" border="0" /></a></p>
<p>Next specify proxy trust credentials. The web application proxy requires credentials to request a certificate from federation server.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3857.40.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3857.40.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3857.40.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3857.40.png" alt="" border="0" /></a></p>
<p>It is possible to use a GMSA as the ADFS service account.&nbsp; GMSA will automatically update the service account&rsquo;s credentials and administrators will also be oblivious as to its password.</p>
<p>In this case a standard service account was used.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8547.41.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8547.41.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8547.41.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8547.41.png" alt="" border="0" /></a></p>
<p>&nbsp;Select the Azure AD domain to federate with your on-premises Directory. The managed domain will be converted into a federated domain</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/7875.42.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/7875.42.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/7875.42.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/7875.42.png" alt="" border="0" /></a></p>
<p>&nbsp;The Final step in the really great wizard is to install and configure the synchronization services, AD FS and WAP servers.</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/7433.43.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/7433.43.png" alt="" border="0" /><em></em></p>
<p><em>Configure!</em></p>
<p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8863.44.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8863.44.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8863.44.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8863.44.png" alt="" border="0" /></a></em></p>
<p>At this time please make sure that you have created DNS records that allow clients to resolve your federation services from both internal and external.&nbsp;</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3000.45.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3000.45.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3000.45.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3000.45.png" alt="" border="0" /></a></p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4341.46.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4341.46.png" alt="" border="0" /><em></em></p>
<p><em>All done,&nbsp;</em></p>
<h3>Additional Steps</h3>
<p><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2" target="_blank">This topic</a> covers additional steps to configure AD FS after you install the first federation server, including:</p>
<ul>
<li><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2#BKMK_ADFSSnapin">Opening the ADFS&nbsp;Management Snap-in</a></li>
<li><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2#BKMK_ConfigureDNS">Configuring Name Resolution for AD FS Services</a></li>
<li><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2#BKMK_AddNodesToFarm">Adding nodes to the farm</a></li>
<li><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2#BKMK_AddWebAppProxy">Adding a Web Application Proxy</a></li>
<li><a href="https://technet.microsoft.com/library/c66c7f4b-6b8f-4e44-8331-63fa85f858c2#BKMK_InstallDRS">Enabling Device Registration Service</a></li>
</ul>
<p>For more information about how to deploy AD FS, see <a href="https://technet.microsoft.com/en-us/library/dn303423">How to deploy AD FS in Windows Server 2012 R2</a>.</p>
<p>&nbsp;</p>
<h3>Verify Federation Service Metadata</h3>
<p>Open Internet Explorer and navigate to your ADFS server&rsquo;s federation metadata URL.</p>
<p>This will be something like the below, just change the FQDN to match your environment.</p>
<p><a href="https://sts.vin-o365.in/federationmetadata/2007-06/federationmetadata.xml">https://sts.vin-o365.in/federationmetadata/2007-06/federationmetadata.xml</a></p>
<p>The result should show this:</p>
<h3>Verify ADFS Sign-In Page</h3>
<p>Browse to the ADFS sign-in page and test that you are able to authenticate.</p>
<p>The URL will be similar to the below, again change the FQDN to match your organisation&rsquo;s.</p>
<p><a href="https://sts.vin-o365.in/adfs/ls/idpinitiatedsignon.htm">https://sts.vin-o365.in/adfs/ls/idpinitiatedsignon.htm</a></p>
<p align="center"><em>&nbsp;</em></p>]]></content:encoded>
    </item>
    <item>
      <title>Step-by-Step Guide for AAD Sync installation + Password write back with On-Premise Sync in Azure AD Premium</title>
      <link>https://docs.microsoft.com/archive/blogs/vilath/step-by-step-guide-for-aad-sync-installation-password-write-back-with-on-premise-sync-in-azure-ad-premium</link>
      <pubDate>Mon, 25 May 2015 20:04:00 GMT</pubDate>
      <dc:creator><![CDATA[iVinayak]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/vilath/2015/05/25/step-by-step-guide-for-aad-sync-installation-password-write-back-with-on-premise-sync-in-azure-ad-premium/</guid>
      <description><![CDATA[Step-by-Step Guide for AAD Sync installation and Password write back with On-Premise Sync in Azure...]]></description>
      <content:encoded><![CDATA[<p><strong>Step-by-Step Guide for AAD Sync installation and Password write back with On-Premise Sync in Azure AD Premium</strong></p>
<p>AAD Sync is our new directory synchronization tool that simplifies the process of connecting Azure AD to Windows Server AD. It also makes it simpler to connect complex, multi-forest deployments. It also has the capabilities to: <a href="https://blogs.technet.com/b/ad/archive/2014/09/16/azure-active-directory-sync-is-now-ga.aspx">Azure Active Directory Sync is now GA!</a></p>
<ul>
<li>Active Directory and Exchange multi-forest environments can be extended now to the cloud.</li>
<li>Control over which attributes are synchronized based on desired cloud services.</li>
<li>Selection of accounts to be synchronized through domains, OUs, etc.</li>
<li>Ability to set up the connection to AD with minimal Windows Server AD privileges.</li>
<li>Setup synchronization rules by mapping attributes and controlling how the values flow to the cloud.</li>
<li>Preview AAD Premium password change and reset to AD on-premises.</li>
</ul>
<p>If you just want to get started, you can download it <a href="https://www.microsoft.com/en-us/download/details.aspx?id=44225">here</a>.</p>
<p>First, make sure you have uninstalled the old version of DirSync. Then, to install AADSync, you need a computer running the Windows Server operating system.</p>
<ul>
<li>Windows Server 2008</li>
<li>Windows Server 2008 R2</li>
<li>Windows Server 2012</li>
<li>Windows Server 2012 R2</li>
</ul>
<p>Your target computer for installing AAD Sync can be stand-alone, a member server or a domain controller. And it must have the following components need&nbsp;installed:</p>
<ul>
<li>.Net 4.5</li>
<li>PowerShell (preferably PS3 or better)</li>
</ul>
<p><strong>Note:</strong></p>
<p>The tool needs an instance of SQL Server to store identity data. By default a SQL Express LocalDB is installed and the service account for the service is created on the local machine during the install.</p>
<p>Since Express has a 10GB size limit (it enables you to manage approximately 100.000 objects.) If you anticipate managing a higher volume of directory objects, you need to point the installation process to a different version of SQL Server.</p>
<p><strong>Installing and configuring AADSync</strong></p>
<p>1- Download the tool from <a href="https://www.microsoft.com/en-us/download/details.aspx?id=44225">here</a>.</p>
<p>2- Execute <strong>MicrosoftAzureADConnectionTool.exe.</strong></p>
<p>3- Once you get to the &ldquo;Welcome to Azure AD Sync&rdquo; dialogue box, Agree to the license terms and click Install</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/48/12/metablogapi/install2_09A1F845.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-48-12-metablogapi/install2_5F00_09A1F845.png"><br /> </a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5226.1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5226.1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5226.1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5226.1.png" alt="" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/48/12/metablogapi/install2_09A1F845.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-48-12-metablogapi/install2_5F00_09A1F845.png"><br /><br /></a>4- Once it&rsquo;s installed, the tool will start (it may take a few seconds) and once you get to connect to Azure AD, Supply the credentials to connect to your Azure AD directory.&nbsp; (The global account you created earlier)&nbsp; I used a Global Admin in my directory in Azure called SysAdmin&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5807.2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5807.2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5807.2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5807.2.png" alt="" border="0" /></a></p>
<p>5- And as you would assume, you need to supply credentials for your local forest\domains to the <strong>Connect to AD DS</strong> dialogue box. And click &ldquo;<strong>Add Forest</strong>&rdquo; button and once you domain shows up.&nbsp; Click next.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5618.3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5618.3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5618.3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5618.3.png" alt="" border="0" /></a></p>
<p>&nbsp;6- In the <strong>uniquely identifying your users</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6607.4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6607.4.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6607.4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6607.4.png" alt="" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/48/12/metablogapi/Usermatch_2ABA1641.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-48-12-metablogapi/Usermatch_5F00_2ABA1641.png"><br />&nbsp;<br /> </a>You need to configure the following:</p>
<p>6.1- The <strong>Matching across forests</strong> feature allows you to define how users from your ADDS forests are represented in Azure AD. <br /><br />A user might either be represented only once across all forests or have a combination of enabled and disabled accounts</p>
<p>6.2- You can use the <strong>Matching with Azure AD</strong> option to specify the attribute you want to use for identity federation. The sourceAnchor attribute is an attribute which is not changing during the lifetime of a user object. In single-forest and environments and where the account is never moved between forests, then objectGUID is a good candidate. If the user is moved between forests or domains, then an alternative attribute must be selected.</p>
<p>The userPrincipalName attribute is the user&rsquo;s login ID in Azure AD. By default the userPrincipalName attribute in ADDS is used. If this attribute is not routable or not suitable as the login ID a different ttribute, such as mail, can be selected in the installation guide.</p>
<p>Click Next to move on to the Optional Features.</p>
<p>7- In the Optional features dialogue box, you can select Exchange hybrid deployment, if you have a Hybrid Exchange environment.&nbsp;For us we will NOT enable this setting.&nbsp; The password write-back is an Azure Active Directory Premium feature. (which we do not&nbsp; have enabled in our test environment so i will leave it checked off) and If you want to review or limit the attributes which are synchronized with Azure AD, then select Azure AD app and attribute filtering. You will then get two additional pages in the wizard. Right now we just want to get it synced, so we will leave that check off as well.&nbsp;<br /> <br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4606.5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4606.5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4606.5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4606.5.png" alt="" border="0" /></a><br clear="all" /><br />8- The Configure screen allows you to start the configuration process.&nbsp; Just click &ldquo;<strong>Configure</strong>&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/48/12/metablogapi/readytoconfigure_55950B04.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-48-12-metablogapi/readytoconfigure_5F00_55950B04.png">&nbsp;<br /> </a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/7271.6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/7271.6.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/7271.6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/7271.6.png" alt="" border="0" /></a></p>
<p>It will connect, and configure the sync rules and bring up the &ldquo;<strong>Finished</strong>&rdquo; screen. Where if you leave the &ldquo;Synchronize Now&rdquo; once you click Finished it will start the sync process&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6305.7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6305.7.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6305.7.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6305.7.png" alt="" border="0" /></a></p>
<p>&nbsp;Sign out of Windows at this stage and log back in.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0363.8.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0363.8.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0363.8.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0363.8.png" alt="" width="212" height="209" border="0" /></a><br />&nbsp;<br /> Locate and launch the Azure AD Sync Synchronization Service.<a href="https://2.bp.blogspot.com/-ILeCLzRJSc0/VQrkkfsnHnI/AAAAAAAAFSc/8V9FLzh8qiA/s1600/25.png"><br />&nbsp;<br /> </a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0216.9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0216.9.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0216.9.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0216.9.png" alt="" border="0" /></a><a href="https://2.bp.blogspot.com/-ILeCLzRJSc0/VQrkkfsnHnI/AAAAAAAAFSc/8V9FLzh8qiA/s1600/25.png"><br /></a><br />Open the Connectors tab. See the AD Domain Services connector. Double click to see the properties.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0654.10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0654.10.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0654.10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0654.10.png" alt="" border="0" /></a><br /><br />Navigate to "Configure Directory Partition". Select "Containers".</p>
<p><a href="https://2.bp.blogspot.com/-wH2KUhL7neg/VQrkldMKYvI/AAAAAAAAFSs/oiOu7LN8x1Y/s1600/27.png"><br /> </a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4113.11.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4113.11.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4113.11.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4113.11.png" alt="" width="231" height="147" border="0" /></a><br />&nbsp;</p>
<p>Enter your credentials.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1321.12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1321.12.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1321.12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1321.12.png" alt="" width="258" height="251" border="0" /></a><br />&nbsp;<br /> Now you can choose your OUs. Select OK to close the dialog boxes<br />Select Run =&gt; Choose "Full Import".</p>
<p>See successful import to Azure. However, this is not immediate and it will take some time for the users to be available in Azure (I am impatient so thankfully there is a way to force the sync).</p>
<p>Previously with DirSync we used "start-onlinecoexistencesync". This has now been replaced in AAD Sync with "DirectorySyncClientCmd.exe".</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2234.13.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2234.13.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2234.13.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2234.13.png" alt="" width="383" height="173" border="0" /></a></p>
<p>Navigate to C:\Program Files\Microsoft Azure AD Sync\Bin and launch DirectorySyncClientCmd.exe</p>
<p>That&rsquo;s it.&nbsp; We now have our Local directory synced in Azure.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8156.14.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8156.14.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8156.14.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8156.14.png" alt="" border="0" /></a></p>
<p><strong>&nbsp;</strong></p>
<p><strong>Password write back with On-Premise Sync in Azure AD Premium</strong></p>
<p>Administrators have been able to reset their forgotten passwords in Azure AD for a long time now and we've heard lots of requests from customers who also want to enable their end users to reset their own passwords. To try it out, sign in to the&nbsp;<a href="https://manage.windowsazure.com/">Windows Azure Management Portal</a>, click on Active Directory in the left navigation bar, then head to the directory configuration tab and look for the 'user password reset policy' section.</p>
<p>Self-Service Password Reset for Users is part of the latest set of changes included in Windows Azure Active Directory Premium. With this feature, users can reset their passwords using their mobile or office phones, or their alternate email addresses. Users can even self-register their own password reset data with a few mouse clicks! In addition to this, as the administrator you have total control over the policies applied to these users when they reset their passwords. You don't want users to reset using their mobile phone number? No problem! You want to specify how many verification steps users must go through.</p>
<p>There following questions that you'll be able to answer ater reading through this document</p>
<ul>
<li>How can I&nbsp;configure password reset from the Azure management portal?</li>
<li>How can my&nbsp;users register for password reset?</li>
<li>How can my&nbsp;users reset their passwords after they are registered?</li>
<li>How can I&nbsp;configure password reset to write passwords back to a local Active Directory?</li>
</ul>
<p><strong>How to configure password reset in the Azure management portal </strong></p>
<p>In order to enable Self-Service Password Reset, you'll need to be using Windows Azure Active Directory Premium. You can learn how to do that by following the instructions <a href="https://blogs.technet.com/b/ad/archive/2013/11/21/app-access-enhancements-ga-azure-ad-premium-preview.aspx">here</a>. Once you've done that, sign in to the <a href="https://manage.windowsazure.com/">Windows Azure Management Portal</a>, navigate to your directory, click on the <strong>CONFIGURE</strong> tab, and scroll down until you see the "user password reset policy" section (see Fig. 1). This is where all the magic happens.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0312.15.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0312.15.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0312.15.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0312.15.png" alt="" border="0" /></a></p>
<p><strong>Fig. 1</strong>: The directory configuration tab</p>
<p><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4341.16.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4341.16.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/4341.16.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/4341.16.png" alt="" border="0" /></a></strong></p>
<p><strong>Fig. 2</strong>: The user password reset policyconfiguration section</p>
<p>&nbsp;</p>
<p>Once in configure tab, the above is what you'll see in the "user password reset policy" section (see Fig 2.). There are a lot of neat knobs you can tweak to change the behavior of password reset in your organization. They are split into a few logical categories:</p>
<ul>
<li>Security&nbsp;Policy</li>
<li>Registration&nbsp;Policy</li>
<li>Portal Customization</li>
</ul>
<p>Let's take a moment to go through them one by one.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1234.17.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1234.17.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1234.17.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1234.17.png" alt="" border="0" /></a></p>
<p>&nbsp;<strong>Fig. 3</strong>: Password reset security policy</p>
<p>&nbsp;</p>
<p><strong>How to manage password reset security policy </strong></p>
<p>Controls in this section (outlined in Fig 3. above) affect how password reset works in your organization. Read on below to see a description of what each of these controls does.</p>
<ul>
<li><strong>Is password reset enabled for my directory? </strong>Once you're using Windows Azure Active&nbsp;Directory Premium, you'll see a new configuration setting which allows you&nbsp;to turn password reset on or off for all your users. In order to see the&nbsp;rest of the policy controls, you'll have to turn this on first. Also, stay&nbsp;tuned, we're looking at ways that will let you enable this feature on a&nbsp; per-user or per-group basis.</li>
<li><strong>What types&nbsp;of contact methods can users use to reset their passwords? </strong>Once you've turned this feature on, you'll be able to choose which contact&nbsp;methods a user is able to use to reset his or her password. For those of&nbsp; you with international phone numbers, you'll be happy to know that we&nbsp;support both voice and SMS calls for the mobile phone-based contact&nbsp;method. All of our SMS and voice messages are also fully localized for&nbsp;your users coming from different locales. Don't see a contact method you are interested in? Let us know!</li>
<li><strong>How many contact methods must a user provide when resetting their passwords? </strong>For those&nbsp;of you with high security requirements, or those who just want a bit more&nbsp;assurance that passwords are being reset securely, we allow you to require that your users go through either one or two of your selected contact methods above</li>
</ul>
<p><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8345.18.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8345.18.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8345.18.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8345.18.png" alt="" border="0" /></a></strong></p>
<p>&nbsp;</p>
<p><strong>Fig. 4</strong>: Password reset registration policy</p>
<p>&nbsp;</p>
<p><strong>How to manage your password reset registration policy </strong></p>
<p>Controls in this section (outlined in Fig 4. above) affect how and when users register for password reset. Read on below to see a description of what each of these controls does.</p>
<ul>
<li><strong>Where do&nbsp;my users go to register their data? </strong>Don't have contact data defined&nbsp;for all of your users? No problem! We provide an end-user accessible portal where users can provide their contact data in a simple and secure way. As we make our service richer over time, we'll make sure to all of&nbsp;the newest challenges we build so your users stay up-to-date.</li>
<li><strong>Are users&nbsp;required to register for password reset when signing into the access panel? </strong>Want to&nbsp;register users in your organization for password reset quickly and easily?&nbsp;You can configure password reset to gather contact data from your users&nbsp;when they go to <a href="https://myapps.microsoft.com/">https://myapps.microsoft.com</a>. Also, stay tuned, we'll be&nbsp;looking into allowing you to enforce this when users sign in, too.</li>
<li><strong>How long before users must re-confirm their contact data? </strong>Want to keep your user's contact&nbsp;data up-to-date over time? You can do that, as well. With this feature,&nbsp;you can optionally configure the time that must elapse before a user is&nbsp;prompted to verify their contact data again after their initial registration. If you set this time to 0 days, we will never prompt users&nbsp;to re-verify their data.</li>
</ul>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8863.19.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8863.19.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8863.19.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8863.19.png" alt="" border="0" /></a></p>
<p><strong>Fig. 5</strong>: Password reset portal customization (tenant branding not shown)</p>
<p>&nbsp;</p>
<p><strong>How to manage password reset portal behavior and appearance </strong></p>
<p>Controls in this section (outlined in Fig 5. above) customize the appearance and behavior of the password reset portal. Read onbelow to see a description of what each of these controls does.</p>
<ul>
<li><strong>When a user has a problem, what helpdesk link do they see? </strong>We provide&nbsp; a capability which will automatically dispatch an email to the user, password, or global administrators of a tenant if a user sees an error&nbsp; while resetting his or her password. Don't like it? No problem, you can&nbsp;override the link users see when resetting their passwords to point to a&nbsp;custom email address or website URL where you can describe to them how&nbsp;they can access your organization's helpdesk.</li>
<li><strong>When&nbsp;branding do users see when they come to the password reset portal? </strong>Using the&nbsp;tenant branding and customization feature that we've <a href="https://blogs.technet.com/b/ad/archive/2013/12/16/custom-branding-support-in-azure-ad-now-in-preview.aspx">talked about before</a>, you can&nbsp;set an organizational logo to show up on your organization's sign in page&nbsp;and access panel. We'll show this same logo when users come to the&nbsp;password reset portal. Furthermore, we'll also use your directory name in&nbsp;all email communications we send to your users. Finally, if you have&nbsp;another branding requirement, we'd love to hear about it!</li>
</ul>
<p>Want to learn more about how password reset for users works under the covers? Check out TechNet for <a href="https://technet.microsoft.com/library/dn510386.aspx">more detailed documentation</a>.</p>
<p>&nbsp;<strong>How end users can register for password reset </strong></p>
<p>Once you configure the service to your liking, you can provide contact data for your directory users by using DirSync, PowerShell, or he Azure or Office Admin Portals. If you choose to provide the data yourself, aka sure you include a country code and a + in the phone number, like this"+1 4251234567", so that we know how to reach you. The <a href="https://technet.microsoft.com/library/dn510386.aspx">detailed documentation</a> will give you more information about how you should format your phone numbers so that they work with our system.</p>
<p>In the case that you want your users to do this on their own, below is what they'll see when they come to the password reset registration portal. If you want to try it out yourself, you can access the registration portal by going to this link: <a href="https://aka.ms/SSPRSetup">https://aka.ms/SSPRSetup</a> and logging in as a test user. Just make sure that you have SSPR enabled for that tenant, first.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0726.20.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0726.20.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0726.20.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0726.20.png" alt="" border="0" /></a><strong></strong></p>
<p><strong>Fig. 6:</strong> The password reset registration portal</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0576.21.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0576.21.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0576.21.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0576.21.png" alt="" border="0" /></a></p>
<p><strong>Fig. 7</strong>: Verifying a phone number in the password reset registration portal</p>
<p>Users can register both their mobile phones and personal email addresses on this web page (see Fig. 6 and Fig. 7 above). They can then use this data to reset their passwords at a later time.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3531.22.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3531.22.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/3531.22.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/3531.22.png" alt="" border="0" /></a></p>
<p>&nbsp;<strong>Fig. 8</strong>: Updating an existing phone number or email on the registration portal</p>
<p>&nbsp;Once they're configured, users can come back to this page later to update their contact info without having to bother you, the admin (see Fig. 8 above).</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8154.23.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8154.23.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/8154.23.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/8154.23.png" alt="" border="0" /></a></p>
<p><strong>Fig. 9</strong>: Accessing the registration portal from the application access panel</p>
<p>Users can also access the registration page at a later time by clicking a tile on their profile page in the application access panel (see Fig. 9 above).</p>
<p><strong>How end users can reset a password </strong></p>
<p>When it comes time to reset a forgotten password users can access the password reset portal by clicking the "can't access your account?" link at the bottom of any Organizational ID sign in page, or going directly to <a href="https://passwordreset.microsoftonline.com">https://passwordreset.microsoftonline.com</a>.</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/1731.24.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/1731.24.png" alt="" width="326" height="347" border="0" /><strong></strong></p>
<p><strong>Fig. 10</strong>: Accessing the password reset portal from the sign in screen</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5661.25.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5661.25.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/5661.25.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/5661.25.png" alt="" width="379" height="344" border="0" /></a></p>
<p>&nbsp;<strong>Fig. 11</strong>: Starting the password reset process for a user</p>
<p>Once a user clicks on the link in Fig. 10 above, he or she will then be asked to enter a UserID and pass a captcha (see Fig. 11 above). Don't worry, we check to make sure all of their data is valid and that they meet your password reset security policies before sending them through the password reset process so that calls to your helpdesk are minimized.</p>
<p><strong><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2654.26.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2654.26.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/2654.26.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/2654.26.png" alt="" border="0" /></a></strong></p>
<p>&nbsp;<strong>Fig. 12</strong>: Performing the first verification step to reset a password</p>
<p>&nbsp;</p>
<p>Fig. 12 illustrates what a user might see if they have self-registered a mobile phone number and an alternate email address, and have an office phone defined by their administrator. Notice that any <a href="https://blogs.technet.com/b/ad/archive/2013/12/16/custom-branding-support-in-azure-ad-now-in-preview.aspx">customized branding</a> you may have defined shows up on this<br />page, too.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6283.27.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6283.27.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/6283.27.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/6283.27.png" alt="" border="0" /></a><strong></strong></p>
<p><strong>Fig. 13</strong>: Performing the second verification step to reset a password</p>
<p>As users proceed through the verification steps, the contact methods they've already used are removed, and they are left with only those options that are within policy and properly configured. In Fig. 13 above, you can see that because the user already used a mobile phone as his or her first contact method in Fig. 12, he or she doesn't have that as a verification option any longer.</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/70/43/0815.28.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-70-43/0815.28.png" alt="" width="394" height="115" border="0" /><strong></strong></p>
<p><strong>Fig. 14</strong>: Contacting an administrator as part of the password reset experience</p>
<p>&nbsp;</p>
<p>And, if any problem occurs, users can get in contact with your organization's helpdesk with a single click! As described in the "<em>how to manage password reset portal behavior and appearance</em>" section earlier, try overriding the link below to a custom URL or email address to give your users the best possible password reset experience.</p>
<p>Here's are some of the highlights of this new feature:</p>
<ul>
<li><strong>Supports&nbsp;resetting passwords for users using ADFS or other federation technologies.</strong> With&nbsp;writeback, as long as users are DirSync'd into your cloud tenant, they'll&nbsp;be able to manage their local AD passwords from the cloud.</li>
<li><strong>Supports&nbsp;resetting passwords for users using password hash sync.</strong> When the&nbsp;password reset service detects a user is enabled for password hash sync,&nbsp;we reset both her on-prem and cloud password simultaneously.</li>
<li><strong>Enforces&nbsp;your local AD and cloud AD password policies</strong>. When a user resets her password, we first ensure that it meets your local and cloud AD password policies&nbsp; before committing it to any directory.<strong> </strong></li>
<li><strong>Doesn't&nbsp;require any new firewall rules.</strong> Password writeback uses an Azure Service Bus relay&nbsp;as an underlying communication channel, meaning that you do not have to&nbsp;open any new ports on your firewall for this feature to work.<strong> </strong></li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>