101 ways to authenticate with Azure Active Directory

Slides:



Advertisements
Similar presentations
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Advertisements

Agenda AD to Windows Azure AD Sync Options Federation Architecture
Azure AD & Office Logon with Username / Password 2. MFA challenge 3. Reply to MFA challenge -1-way or 2-way SMS -Phone call -Mobile Application.
Authentication solutions for Outlook and Office 365 Multi-factor authentication for Office 365 Outlook client futures.
Federated sign-in WS-Federation WS-Trust SAML 2.0 Metadata Shibboleth Graph API Synchronize accounts Authentication.
1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every.
Active Directory federation user provisioning.
Build /16/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Microsoft Ignite /16/2017 4:55 PM
1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every.
1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every day.
GRDevDay March 21, 2015 Cloud-based Identity for Applications.
IT can provide users with a common identity across on-premises or cloud- based services, leveraging Windows Server Active Directory and Azure Active.
4/17/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Active Directory federation user provisioning.
Build /17/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Clients using wide variety of devices/languages/platforms Server applications using wide variety of platforms/languages Browser Native app Server.
Cloud app Cloud app Cloud app Separate username/password sign-in Manual or semi-automated provisioning Active Directory App Separate username/password.
SIM205. (On-Premises) Storage Servers Networking O/S Middleware Virtualization Data Applications Runtime You manage Infrastructure (as a Service)
Resource App Resource App Resource authorization server authorization endpoint token endpoint A A R.
Authenticate user AuthenticationContext aCtx = new AuthenticationContext(“ AuthenticationResult.
OUC204. Recently Announced… Identity Integration Options 2 3 Identity Management Overview 1.
Single Sign-On with Microsoft Azure
IT Unity Webinar Series September 2015 Using Azure Active Directory to Secure Your Apps.
A Lap Around Windows Azure Active Directory Stuart Kwan Lead Principal Program Manager Microsoft Corporation SIA209.
(Azure+O365) Identity Presenter Name Position or role Microsoft Azure.
Paul Andrew. Recently Announced… Identity Integration Options 2 3 Identity Management Overview 1.
Identity Decision Tree Framework Quick Reference Guides.
Windows Server Active Directory Intranet Managed Access Managed Identities Integrated Business Apps.
Microsoft Ignite /25/2017 9:57 AM
Get identities to the cloud Mix on-premises and cloud identity for improved PC, mobile, and web productivity Cloud identities help you run your business.
Reduce sign up and sign in friction  by supporting Azure AD for sign in Accelerate user adoption and engagement  by using Azure AD Graph to find users.
Building consumer apps with Azure AD B2C
Identity Management in Office 365: Which one’s right for you? Brendan Ross M362.
Protecting your data with AD-RMS and Azure RMS Malcolm Jeffrey – Technical Trainer M224.
Building Azure Web Apps with Node.js and the Spotify Web API Daniel Larsen M361.
Identities and Azure AD Premium
Secure Mobile Development with NetIQ Access Manager
Today’s Applications Web API Browser Native app Web API Web API
Martina Grom MVP Office 365 How to (remote) control Office 365 with Azure Toni Pohl MVP Client Dev
Azure Active Directory is becoming one of, if not the, primary user identity management services for cloud applications. One of Azure Active Directory's.
Windows 10 tested and shaped by 3 Million Windows Insiders Daniel Bowbyes M111.
EMS in action Hugh Simpson-Wells and Mark Riley 2016 Redmond Summit | Identity Without Boundaries
Azure Active Directory Uday Hegde 2016 Redmond Summit | Identity Without Boundaries May 26, 2016 Group Program Manager, Azure AD
Converting SharePoint on- premise Apps to Office 365 Jos Auker-Woor M377.
Protect your data Enable your users Desktop Virtualization Information protection Mobile device & application management Identity and Access Management.
A deep dive into Azure AD B2C
Application Authentication using Azure AD
4/18/2018 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Azure Active Directory - Business 2 Consumer
Migrating SharePoint Add-ins from Azure ACS to Azure AD
9/11/ :51 AM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
SaaS Application Deep Dive
Understand Hybrid Identity with Azure and Azure Stack
9/13/2018 4:54 PM BRK How to get Office 365 to the next level with Azure Active Directory Premium Brjann Brekkan Program Manager Lead – Customer.
Microsoft Build /20/2018 2:46 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Azure AD Line Of Business Application Integration
Cloud Connect Seamlessly
Deep Dive into Cloud Identity, Identity Bridging and Cloud Tokens - EWUG.DK - Level Peter Selch Dahl - Sr. IT Architect, Cloud and.
11/14/ :30 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
ACS Functionality.
TechEd /7/2018 2:17 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Identity Management
Matthew Levy Azure AD B2B vs B2C Matthew Levy
SharePoint Online Authentication Patterns
Office 365 Development.
Azure Active Directory
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
A Lap Around Windows Azure Active Directory
A lap around Azure AD B2C custom policies
Presentation transcript:

101 ways to authenticate with Azure Active Directory Rory Braybrook M338

For cloud authentication, Azure Active Directory has you covered Microsoft Ignite 2015 4/24/2017 10:04 PM For cloud authentication, Azure Active Directory has you covered © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Overview Protocols Use cases OWIN ADAL WIF Access Panel SaaS

Won’t be covering DirSync AADSync AD Connect MFA AAD Proxy

Azure AD by the Numbers 86% Azure AD manages identity data for >5 M organizations 86% of Fortune 500 companies on Microsoft Cloud (Azure, O365, CRM Online and PowerBI) More than 500 M objects hosted on Azure Active Directory 1 Trillion Azure AD authentications since the release of the service 50 M Office 365 users active every month >1 Billion authentications every day on Azure AD Every Office 365 and Microsoft Azure customer uses Azure Active directory

The Protocols

Protocols WS Federation SAML-P 2.0 OAuth2 OpenID Connect

WS Federation http://blogs.technet.com/b/askpfeplat/

WS Federation http://blogs.technet.com/b/askpfeplat/

WS Federation http://blogs.technet.com/b/askpfeplat/

WS Federation http://blogs.technet.com/b/askpfeplat/

WS Federation http://blogs.technet.com/b/askpfeplat/

SAML token attributes

SAML token attributes

SAML-P http://blogs.technet.com/b/askpfeplat/

SAML-P http://blogs.technet.com/b/askpfeplat/

SAML-P http://blogs.technet.com/b/askpfeplat/

SAML-P http://blogs.technet.com/b/askpfeplat/

SAML-P http://blogs.technet.com/b/askpfeplat/

OAuth2 http://blogs.technet.com/b/askpfeplat/

OAuth2 http://blogs.technet.com/b/askpfeplat/

OAuth2 http://blogs.technet.com/b/askpfeplat/

OAuth2 http://blogs.technet.com/b/askpfeplat/

OAuth2 http://blogs.technet.com/b/askpfeplat/

Manipulate AAD using API TechEd 2013 4/24/2017 10:04 PM Manipulate AAD using API Use OAuth endpoint to get token AAD Use token in REST call to endpoint Token issued © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

ID token (OpenID Connect) OAuth2 token Access token ID token (OpenID Connect) Refresh token http://blogs.technet.com/b/askpfeplat/

Use cases

Authentication scenarios Browser Web application Web API js Native app Web API Web API Server app Clients using wide variety of devices/languages/platforms Server applications using wide variety of platforms/languages video.ch9.ms/teched/2012/na/SIA209.pptx

Authentication scenarios WS-Fed, SAML 2.0, OpenID Connect OAuth 2.0 Browser Web application Web API js OAuth 2.0 Native app OAuth 2.0 Web API Web API Server app OAuth 2.0 OAuth 2.0 Standard-based, http-based protocols for maximum platform reach video.ch9.ms/teched/2012/na/SIA209.pptx

VS “Change Authentication”

Demo - Lap around VS “Change Authentication” Microsoft Ignite 2015 4/24/2017 10:04 PM Demo - Lap around VS “Change Authentication” © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Change authentication

Change authentication

Wrappers around the protocols OWIN (All) WIF (WS Federation) ADAL (OpenID Connect / OAuth)

Demo - Lap around AAD Applications Microsoft Ignite 2015 4/24/2017 10:04 PM Demo - Lap around AAD Applications © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

OWIN OpenID Connect app.SetDefaultSignInAsAuthenticationType(CookieAuthenticationDefaults.AuthenticationType); app.UseCookieAuthentication(new CookieAuthenticationOptions()); app.UseOpenIdConnectAuthentication( new OpenIdConnectAuthenticationOptions { ClientId = clientId, Authority = authority, PostLogoutRedirectUri = postLogoutRedirectUri, Notifications = new OpenIdConnectAuthenticationNotifications() …. }

Demo - OWIN – OpenID Connect / WS Federation Microsoft Ignite 2015 4/24/2017 10:04 PM Demo - OWIN – OpenID Connect / WS Federation © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Demo - OWIN – WS Federation

Demo – WIF - WS Federation

Open Web Interface for .NET (OWIN) (Identity) vs Windows Identity Foundation (WIF)

OWIN WIF Supported with new protocols being added WS Fed / OpenID Connect / OAuth2 / SAML-P (Community) Invoked via code Easy to do with VS 2013/15 JWT token Microsoft.OWIN WIF Supported WS Fed / SAML-P CTP (deprecated) ASP.NET pipeline Have to “retro-fit” from template or use VS 2010/12 XML token System.IdentityModel

OWIN ID WIF Supported with new protocols being added WS Fed / OpenID Connect / OAuth2 / SAML-P (Community) Invoked via code Easy to do with VS 2013/15 JWT token Microsoft.OWIN WIF Supported WS Fed / SAML-P CTP (deprecated) ASP.NET pipeline Have to “retro-fit” from template or use VS 2010/12 XML token System.IdentityModel

Active Directory Authentication Library (ADAL)

ADAL Mission statement TechEd 2013 4/24/2017 10:04 PM ADAL Mission statement The Active Directory Authentication Library (ADAL) is a library meant to help developers to take advantage of Azure Active Directory for enabling client applications to access protected resources © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

SDK available on multiple platforms .NET, iOS, JavaScript, Android, Node.JS, Java, Windows Store, Windows Phone etc. Caching and automatic refresh token Asynchronous support Basis of Graph API and Azure Management Library Now open source

Active Directory Authentication Library string clientId = "[Enter client ID as obtained from Azure Portal]"; string authority = "https://login.windows.net/[your tenant name]"; string myURI = "[Enter App ID URI of your service]"; AuthenticationContext authContext = new AuthenticationContext(authority); AuthenticationResult result = await authContext.AcquireTokenAsync(myURI, clientId);

Demo – Graph API via ADAL with Groups

Social

ACS

IaaS

Azure AD as an IDP

AAD as an IDP Can federate with 3rd party application not in Gallery via the Access Panel / Custom / SAML-P Can use user name and password via the Access Panel e.g. Twitter Can federate with 3rd party application in Gallery e.g. SalesForce Can federate with e.g. ADFS via metadata

Demo – Lap around AAD external applications and the Access Panel

Azure AD Passport.js

passport-azure-ad is a collection of Passport strategies to help you integrate with Azure Active Directory Includes OpenID Connect, WS-Federation, and SAML-P authentication and authorization Lets you integrate your Node app with Microsoft Azure AD so you can use web single sign-on (WebSSO), Endpoint Protection with OAuth, and JWT token issuance and validation

Windows 10

https://identity-test. datacomcc. com/Account/SignIn https://identity-test.datacomcc.com/Account/SignIn?ReturnUrl=/issue/wsfed?wa=wsignin1.0&wtrealm=http://dslfimad.dslfim.local/adfs/services/trust&wctx=00cacd9f-0aae-434a-b057-f1bfc0d5f1f3&wct=2014-08-12T20:31:58Z

For cloud authentication, Azure Active Directory has you covered Microsoft Ignite 2015 4/24/2017 10:04 PM For cloud authentication, Azure Active Directory has you covered © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Azure blog - http://azure.microsoft.com/blog/ Ask Premier Field Engineering - http://blogs.technet.com/b/askpfeplat/ Active Directory Team blog - http://blogs.technet.com/b/ad/ Active Directory Passport plug-in - https://github.com/AzureAD/passport-azure-ad/ Microsoft Azure Active Directory Samples and Documentation - https://github.com/AzureADSamples/ Cloud Identity Infographic - http://azure.microsoft.com/en-us/documentation/infographics/cloud-identity-and-access/ Graph Explorer - https://graphexplorer.cloudapp.net/

Related Ignite NZ Sessions O365 and Azure Active Directory Premium M315 - Wed 10:40 AM Ballroom 2 1 Find me later at… Closing drinks Fri 3:00-4:30pm 2 Enabling AAD to Embrace Windows 10 M326 - Wed 3:10 PM New Zealand 1 3 Identity Management in O365 M362 - Thu 4:30 PM New Zealand 1

Resources Microsoft Virtual Academy TechNet & MSDN Flash 4/24/2017 Microsoft Virtual Academy Resources TechNet & MSDN Flash Free Online Learning http://aka.ms/mva Subscribe to our fortnightly newsletter http://aka.ms/technetnz http://aka.ms/msdnnz Sessions on Demand http://aka.ms/ch9nz © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Complete your session evaluation now and be in to win! 4/24/2017 10:04 PM Complete your session evaluation now and be in to win! © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4/24/2017 10:04 PM © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.