As companies move more and more applications and services to the cloud, it becomes increasingly important to authenticate users in a way that allows their identities to be recognized both on-premises and in the cloud. Historically global identity management has been a tall order, but the new Microsoft Windows Azure Active Directory (WAAD) can make the process a lot easier.
WAAD is a service Microsoft made generally available in April that provides cloud-based identity management (see "Cloud Identity," July 2013). It's essentially a cloud-based version of Active Directory. WAAD can function as a standalone directory, or you can synchronize an existing on-premises Active Directory with WAAD. Doing so makes it possible to establish user identities that are valid on-premises or in the cloud.
Initial Setup
Before you can begin using WAAD, you'll have to do a little bit of planning and some setup work. There are several different ways that WAAD can be configured. For the purposes of this article, I'll configure a synchronization link between an on-premises Active Directory forest and WAAD. In the real world, you might also choose to implement single sign-on (SSO), which provides automated authentication to all applications tied to Active Directory. If you decide to use SSO, it should be planned for prior to establishing directory synchronization.
You'll need a server that can facilitate the directory-synchronization process. The directory- synchronization server must reside on-premises and must be running a 64-bit edition of either Windows Server 2008 R2 SP1 or Windows Server 2012. Additionally, this server must run the Microsoft .NET Framework 3.5 SP1 or 4. The server must also have Windows PowerShell installed, and it must be joined to an Active Directory domain. Finally, your directory-synchronization server can't be a domain controller.
It's also worth noting that your on-premises Active Directory domain must be running a forest functional level of Windows Server 2003 or higher.
The directory-synchronization technique I'll demonstrate assumes your Active Directory database contains fewer than 50,000 objects. Microsoft does support directory synchronizations in environments with more than 50,000 objects, but the requirements change considerably and an instance of a SQL Server database is required. Furthermore, if your Active Directory contains 50,000 objects or more, then you must contact Microsoft to increase your license count. Otherwise, the synchronization process will fail.
Assuming that your Active Directory contains fewer than 50,000 objects, your directory-synchronization server will need at least 4GB of RAM, 70GB or more of free hard disk space, and a CPU running at least 1.6GHz.
Synchronization Setup
The first step in establishing directory synchronization between your on-premises Active Directory and WAAD is to create a new WAAD instance. Doing so is simple. Just log in to the Windows Azure portal and click on the Active Directory tab. If a Default Directory exists then you can use it. Otherwise, click the "Create your directory" link and follow the prompts.
If you look at Figure 1, you'll notice an arrow icon in the column next to the Default Directory. Clicking on this icon takes you to a screen that you can use to configure the Default Directory. The "Configure your directory" section contains an option to integrate with an on-premises directory. Click this option.
At this point, you'll see the screen in Figure 2, which explains the four steps involved in establishing directory synchronization.
Add and Verify a Domain
The first step in the process is to add and verify a domain. The most important thing you need to know about this process is that you must own the domain name you'll be synchronizing. In fact, Microsoft even makes you verify domain ownership.
You can add your domain to Windows Azure by clicking on the Domains tab, then clicking on the Add a Custom Domain link. Enter your domain name and click Add. To demonstrate this, I added the domain Poker-Run-Boats.com (Figure 3). Notice the arrow icon in the lower-right corner of the window. You must click this icon after adding a domain.
Doing so takes you to a screen that asks you to verify domain ownership. This process involves adding a record to your domain's DNS server. After adding the record, click the Verify button. The domain probably won't verify right away. It takes time for changes to DNS records to take effect.
Prepare for Directory Synchronization
Once you've added and verified your domain, the next step is to prepare for the directory synchronization. Microsoft recommends you install and run the Microsoft Deployment Readiness Tool (the tool is available at bit.ly/14joIkw, and requires an Office 365 user ID to sign in for access). In order to do that, you'll need to download and install a few prerequisite components on your directory-synchronization server. The components you'll need are:
- Microsoft Online Services Sign-In Assistant
- WAAD Module for Windows PowerShell
- WAAD Module for Windows PowerShell Registration Hotfix (the Microsoft Deployment Readiness Tool provides a direct link to this hotfix if it's required)
Activating Directory Synchronization
After you've verified the health of your Active Directory, you'll need to activate directory synchronization on the Windows Azure side, by selecting the Activated option (Figure 4).
0 comments:
Post a Comment