40
Identities in the Cloud Els Putzeys

azure track -01- identities in the cloud

Embed Size (px)

DESCRIPTION

by Els Putzeys More and more organizations store data in the cloud or use cloud services like Windows Azure and Office 365. For administrators that means your first task is to create and manage users in these cloud platforms. In this session we will talk about the options that are available for identity management in Windows Azure, Office 365, Windows Intune, … Windows Azure AD: Create cloud identities in Azure AD and use these across all cloud services. Directory Synchronization: Synchronize your on-premises AD users to Windows Azure AD. Federation: Allow users to sign in with their on-premises AD account when accessing cloud services. In the demo we will setup directory synchronization and federation using ADFS.

Citation preview

Page 1: azure track -01- identities in the cloud

Identities in the CloudEls Putzeys

Page 2: azure track -01- identities in the cloud

Identities in the Cloud

User Management in Windows Azure

Page 3: azure track -01- identities in the cloud

Identity Options Microsoft Online IDs Microsoft Online IDs + Directory Synchronization Federated IDs + Directory Synchronization

Page 4: azure track -01- identities in the cloud

Microsoft Online IDs Appropriate for small organizations without on-prem AD Pros

– No servers required on-premises Cons

– No SSO– 2 sets of credentials to manage with different password policies– IDs mastered in the cloud

Page 5: azure track -01- identities in the cloud

Microsoft Online IDs + DirSync Appropriate for medium/large organizations with on-prem AD Pros

– Users and groups mastered on-premises– Enables coexistence scenarios– Passwords can be synchronized with password sync tool

Cons– No SSO– 2 sets of credentials to maintain– DirSync server required on-premises

Page 6: azure track -01- identities in the cloud

Federated IDs + DirSync Appropriate for medium/large enterprises with on-prem AD Pros

– SSO– IDs mastered on-prem– Password policy controlled on-prem– Enables coexistence scenarios

Cons– Servers required on-premises

Page 7: azure track -01- identities in the cloud

Microsoft Online IDs

Windows Azure AD

Page 8: azure track -01- identities in the cloud

Windows Azure AD Identity and access management in the cloud Your organization’s cloud directory

– Used by• Windows Azure• Office 365• Windows Intune

Can be integrated with on-premises AD Integration with cloud applications

– Single sign-on experience• App hosted in cloud• Users authenticate with corporate credentials

Page 9: azure track -01- identities in the cloud

Windows Azure AD

Windows PowerShell

Office 365 Account Portal

Windows Intune Account Portal

Windows Azure AD Portal

Windows Azure AD

Tenant data

Page 10: azure track -01- identities in the cloud

Windows Azure AD Azure AD is a multi-tenant service Authentication process

– User accesses a SaaS application– User authenticates to Azure with username and password– Azure AD returns token– Token is sent to SaaS application– Application validates token and uses its content

Page 11: azure track -01- identities in the cloud

Create Online IDs Windows Azure AD Portal Office 365 Portal Windows PowerShell

Page 12: azure track -01- identities in the cloud

DEMO

Page 13: azure track -01- identities in the cloud

Microsoft Online IDs + DirSync

Directory Synchronization

Page 14: azure track -01- identities in the cloud

Directory Synchronization Synchronize users from on-prem to online User management is done on-prem Password synchronization

– Synchronize passwords from on-prem to online

Users have 1 set of credentials across on-prem and online– But 2 accounts

Page 15: azure track -01- identities in the cloud

Directory Synchronization

Customer Network Windows Azure Datacenter

AD

DirSync Azure ADMS Online IDs

Office 365

Exchange Online

SharePoint Online

Lync Online

Page 16: azure track -01- identities in the cloud

DirSync: Preparation Synchronization computer

– Windows Server 2008 R2 SP1 or Windows Server 2012 (R2)– Domain-joined– Prerequisite software:

.Net Framework 3.5 SP1 and 4.0 PowerShell

DC Requirements:– Forest functional level:

Windows Server 2003 or higher

– Domain Controllers: Windows Server 2003 SP1 or higher

Page 17: azure track -01- identities in the cloud

DirSync: Preparation To install DirSync, you need the following permissions:

– Administrator of the DirSync Server– Administrator of the local AD environment– Administrator of the Cloud Service

DirSync setup creates service account– MSOL_AD_SYNC– Created in Users container– Read from local AD– Write to Windows Azure AD– Do not move or remove this account!

Page 18: azure track -01- identities in the cloud

DirSync: Preparation Initial synchronization

– All AD objects copied to WAAD– Maximum 50000 objects

If more, contact support

DirSync requires SQL– SQL Express

< 50000 objects Installed by default

– Full SQL > 50000 objects

Page 19: azure track -01- identities in the cloud

DirSync: Preparation UPN Requirements

– Every user must have a UPN– UPNs must match a validated domain in the cloud

Make sure AD contains the correct UPN Suffix

– Check UPN in the cloud after synchronization– Users must use UPN to logon to cloud services

Page 20: azure track -01- identities in the cloud

DirSync: Installation Download and install the Directory Sync tool

– Installation can take up to 10 minutes

Page 21: azure track -01- identities in the cloud

DirSync: Configure Start DirSync Configuration wizard

– Specify Windows Azure AD Credentials– Specify AD Credentials– Enable hybrid deployment (if required)

Gives dirsync service account limited Write permission to on-prem AD

Page 22: azure track -01- identities in the cloud

DirSync: Password Sync Password Synchronization

– Feature of Sync Tool– Synchronize on-prem passwords to WAAD– Users can use same password in cloud and on-prem– No SSO

Extract password hash from AD– Overwrites cloud password– Initial dirsync synchronizes all passwords– User changes on-prem password

• Tool detects and synchronizes (within minutes)

Page 23: azure track -01- identities in the cloud

DirSync: Password Sync Password complexity policy

– On-prem policies override cloud policies for synchronized users Password expiration policy

– Cloud user password is set to “Never Expire”

Page 24: azure track -01- identities in the cloud

DirSync: Manage• PowerShell

– %Program Files%\Windows Azure Active Directory Sync\DirSyncConfigShell.psc1

– Add-PSSnapin Coexistence-Configuration

• Cmdlets:– Get-Command –Pssnapin Coexistence-Configuration

Page 25: azure track -01- identities in the cloud

DirSync: Synchronize Automatically

– Every 3 hours Manually

– PowerShell• Start-OnlineCoexistenceSync

– Configuration Wizard• Start menu – Directory Sync Configuration

Page 26: azure track -01- identities in the cloud

DEMO

Page 27: azure track -01- identities in the cloud

Federated IDs + Dirsync

Active Directory Federation Services

Page 28: azure track -01- identities in the cloud

Federated Identities Across on-prem and cloud services

– Single identity– Single sign-on

User management happens on-prem On-prem AD used to:

– Sign in– Authenticate

Requires the following services– Directory synchronization– Federation Service

Page 29: azure track -01- identities in the cloud

Identity Federation

ADContoso.

com

ADFabrikam

.com

DCDCWeb Server

Relying Party Identity Provider

Federation Trust

STSSTS

Shibboleth

AD FS

Azure ACS

AD

Unix

Live IDGoogle IDFacebook

SAML TokenClaims: Name = Els Email = Els @Fabrikam.com Age = 38

Security Token

https://web.contoso.com

1

2

3

4

Home realm discovery

5

7

6

ST

8

ST

ST

9

ST10

Page 30: azure track -01- identities in the cloud

Identity Federation with Azure

Active Directory

AD FS

MS Federation Gateway

Exchange Online

Auth TokenUPN:[email protected] ID: 254729

Logon (SAML 1.1) TokenUPN:[email protected] User ID: ABC123

Windows Azure PlatformOn-Premises Domain

Page 31: azure track -01- identities in the cloud

AD FS Deployment Options Single server configuration AD FS server farm and load-balancer AD FS proxy server or UAG/TMG (External Users, Active Sync,

Outlook)

Internal User

AD FS Server

AD FS Server

Active Directory

External User

AD FS Proxy

AD FS Proxy

Perimeter NetworkInternal Network

Page 32: azure track -01- identities in the cloud

Federation: AD FS Requirements:

– Windows Server 2008 (R2) – 2012 (R2)– ADFS 2.0 / ADFS 3.0– Public, validated domain name– SSL certificate– MS Online Services Module for PS– MS Online Sign-In Assistant

Page 33: azure track -01- identities in the cloud

Federation: AD FS• Install ADFS

– WS2012 (R2): Add roles and features– WS2008: Download and install ADFS

Page 34: azure track -01- identities in the cloud

Federation: AD FS Run ADFS Configuration Wizard

– Create new Federation Service• Federation farm• Stand-alone server

– Select SSL Certificate• ADFS certificate• Federation service name:

adfs.fabrikam.com

– Create Host record for the federation service in DNS

Page 35: azure track -01- identities in the cloud

Federation: AD FS Install MS Online Sign-In Assistant Install MS Online Services Module for PS Configure Trust with Microsoft Online Services

– PowerShell • Connect-MsolService –Credential $cred• Convert-MsolDomainToFederated –DomainName fabrikam.com

Page 36: azure track -01- identities in the cloud

Federation: Test• Create account in local AD

– UPN must be your domain name (fabrikam.com)

• Synchronize account to Azure AD– Add application licenses

• Prepare Client pc– Install Sign-In Assistant– Add ADFS url to Intranet zone in IE

• Sign in to client pc as test user– Browse to https://portal.microsoftonline.com– Enter username ([email protected])

Page 37: azure track -01- identities in the cloud

DEMO

Page 38: azure track -01- identities in the cloud

And take home the Lumia 1320

Present your feedback form when you exit the last session & go for the drink

Give Me Feedback

Page 39: azure track -01- identities in the cloud

Follow Technet Belgium@technetbelux

Subscribe to the TechNet newsletteraka.ms/benews

Be the first to know

Page 40: azure track -01- identities in the cloud

Belgiums’ biggest IT PRO Conference