Customers that are currently running the Azure Active Directory Sync tool and have configured Federated Authentication with the Windows Azure Active Directory Service (or associated services such as Office 365 or InTune) may decide that Password Sync is sufficient to meet their business requirements. If this is the case, then they may elect to transition back from a Federated State to a Managed State (with respect to their authentication flows). Customers may also choose to keep some portion of their users in a federated state, while others will be in a managed (with their passwords synchronizing) state, if the two groups of users are in different root domains.
Please see Implement Password Synchronization for how to deploy the Password Sync feature of the Windows Azure Active Directory Sync tool. This document only addresses the scenario of migrating users from Federated Authentication to Managed Authentication with Password Sync.
Changing a user's authentication details can be a disruptive activity. As such, you should plan carefully and schedule the migration at a time that is least disruptive to the end-user(s) that are being affected. Additionally it can take up to 2 hours for the domain conversation from federated to standard authentication to be updated in the various systems.
↑ Back to top
At General Availability, the Password Synchronization feature will not synchronize passwords for users in a Federated namespace. In order to successfully transition a user from Federated Authentication to Managed Authentication (with password sync), administrators will need to perform one of the procedures outlined below.
Customers can have a mix of managed and federated namespaces within the same tenant. For example, a customer with 3 domains (domain1.com, domain2.com, domain3.com) may elect to configure domain1.com and domain3.com for Password Sync, but continue to have domain2.com configured for federated authentication.
It is not supported to configure users within the same namespace for both federated authentication and password sync.
Customers that are migrating users from Federated to Managed Authentication may proceed in one of two approaches:
If you want to incrementally transition your users from Federated Authentication to Managed Authentication, you can do so by switching your users from a Federated Namespace to a Managed Namespace, then synchronizing the passwords for the converted users.
The procedure, at a high level, is as follows:
The Azure Active Directory Powershell Module and documentation on the commandlet set can be found here: http://technet.microsoft.com/en-us/library/jj151815.aspx
After you have confirmed that your users’ UserPrincipalNames have been updated in the on-premises AD, have those users update their password in your on-premises Active Directory. This will trigger the password to synchronize to the cloud.
Once their password has been synchronized to the cloud, the user will be able to log into their cloud services using the same password as their on-premises password.
Once a customer is ready to transition an entire namespace from Federated to Managed Authentication, they may follow this procedure to migrate all of their users from Federated Authentication to Managed Authentication.
Convert the desired namespace from Federated to Managed with the Convert-MsolDomainToStandard cmdlet. Documentation on this commandlet can be found here: http://technet.microsoft.com/en-us/library/dn194122.aspx
Detailed steps are as follows:
You can confirm if all users are converted by running the cmdlet Convert-MSOLDomainToStandard a second time. When run the second time, you must specify a different password file. For users that have already be converted they will not be issued a new password. Similarly if you have problems with converting some users you can call the cmdlet Convert-MsolFederatedUser to convert a single user.
If required you can manually convert all users in a domain by following the sample script below
After Stage 1 is complete (namespace and users have been converted), set up the new DirSync with Password Sync. This will synchronize all your on-premises users’ current passwords with Office 365 (for managed users).
Alternatively, if you have previously set up DirSync without Password Sync, have your users change their passwords on-premises after they have been converted to Managed Users to synchronize their password to the cloud. If the namespace you have converted contains many users, you can trigger a full Password Sync to re-synchronize all DirSync'ing user passwords via the Set-FullPasswordSync cmdlet. Documentation on how to use this password may be found here: http://social.technet.microsoft.com/wiki/contents/articles/18096.dirsyncwindows-azure-ad-password-sync-frequently-asked-questions.aspx#How_can_I_trigger_a_full_password_sync.
The simplest way to ensure that user passwords have successfully synchronized after being migrated to a Managed Namespace is to have the users try to log into the service. If users are not able to sign into the cloud service, see Password synchronization troubleshooting guide for Office 365 for details on troubleshooting this issue.
The script below will enable you to convert all users in a domain to standard users. Note that you must first convert the domain to standard before calling this procedure. It is also recommend to start a transcript of the session to record the passwords for the users if needed.
Jono Luk (MSFT) edited Revision 1. Comment: Updating formatting to remove linefeeds