Build 2015 4/17/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.

Slides:



Advertisements
Similar presentations
Agenda AD to Windows Azure AD Sync Options Federation Architecture
Advertisements

Vision and Platform: Cloud First-Mobile First Eduardo Mangarelli Sr. Director of Technology, Microsoft
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.
SYNC DEMO “We bought Grandma a new TV. This is what my Dad did to her remote.”
 Lynn Ayres Program Manager Identity Services  Tore Sundelin Program Manager Identity Services BB29.
Microsoft Ignite /16/2017 3:37 PM
Microsoft Cloud Microsoft Confidential SaaS Office 365 Azure SQL PaaS Azure Storage Azure HDInsight IaaS SQL Server Apache One common problem: “How.
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.
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.
Active Directory federation user provisioning.
Cloud app Cloud app Cloud app Separate username/password sign-in Manual or semi-automated provisioning Active Directory App Separate username/password.
UAGSharePoint InternetIntranet.
Resource App Resource App Resource authorization server authorization endpoint token endpoint A A R.
Authenticate user AuthenticationContext aCtx = new AuthenticationContext(“ AuthenticationResult.
Cross Platform Mobile Backend with Mobile Services James
© User:Digitalsignal / Wikimedia Commons / CC-BY-SA-3.0User:DigitalsignalWikimedia CommonsCC-BY-SA-3.0.
Single Sign-On with Microsoft Azure
IT Unity Webinar Series September 2015 Using Azure Active Directory to Secure Your Apps.
External user invited This creates invitation in Access Request List Invitation sent to guest with invitation URL Guest clicks URL. Verification.
Hybrid end-to-end: SPC339 – Monday 2pm Office 365 identity federation using Windows Azure and Windows Azure Active Directory: SPC411 – Tuesday 9am.
Microsoft ® Official Course Module 13 Implementing Windows Azure Active Directory.
Identity Decision Tree Framework Quick Reference Guides.
Presented by: B2B Technologies B2B TECHNOLOGIES | PRESENTATION Use Case for Windows Azure Active Directory.
XTRABANNER Deployment Scenarios 12-MAR Scenario 1: On Premise Exchange - Before On Premise Network Internet Active Directory Exchange
AZR209. r2-identity-management-for-hybrid-it.aspx.
101 ways to authenticate with Azure Active Directory
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.
Microsoft Azure Active Directory. AD Microsoft Azure Active Directory.
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.
Microsoft Public Cloud Services
Access resources in a federation partner organization.
Identity Management in Office 365: Which one’s right for you? Brendan Ross M362.
Expenses Timesheets Approvals Expense capture Timesheets Expense capture Timesheets Expense capture Timesheets.
Identities and Azure AD Premium
Today’s Applications Web API Browser Native app Web API Web API
Azure Active Directory is becoming one of, if not the, primary user identity management services for cloud applications. One of Azure Active Directory's.
Enabling the Modern Workstyle with Windows 10 & Azure Active Directory Venkatesh Gopalakrishnan 2016 Redmond Summit | Identity Without Boundaries May 25,
m/ Generally Available:  Webhooks on Outlook entities  Access to consumer services OneDrive and Outlook.com  OneDrive.
Protect your data Enable your users Desktop Virtualization Information protection Mobile device & application management Identity and Access Management.
SharePoint Saturday Genève 2016
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 voor Developers
Enterprise-level Identity Protection
Microsoft Ignite /25/ :22 PM
Cloud SaaS Integrates with Office 365 to Meet the Needs for Business Contact Management “Pobuca combined with Microsoft Office 365 and Azure Active Directory.
Azure AD for the client management guy (or gal!)
Microsoft Virtual Academy
CSS 422 Education Begins / Snaptutorial.com. CSS 422 All Assignments For more classes visit CSS 422 Week 1 Individual Use Case Diagram.
CSS 422 Education Begins / tutorialrank.com. CSS 422 All Assignments For more course tutorials visit CSS 422 Week 1 Individual Use.
Enterprise Modernization
Azure Active Directory
Office 365 SharePoint Document Management and Collaboration Enhanced with Less Dev Time “By using Microsoft Azure with Office 365, Ways can focus on developing.
درس تطبيقي مادة التربية الفنية للصف الرابع الابتدائي
Microsoft Build /2/2019 4:12 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
ACS Deployment Scenarios
SharePoint Online Authentication Patterns
AD FS Integration Active Directory Federation Services (AD FS) 7.4
Office 365 Development.
ASP.NET Core 2.0 Identity and Azure Active Directory
CSG, Power BI & Embedded.
One Marketing Template
Azure Active Directory
4/15/2019 1:57 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Шаттық шеңбері.
Pranav Rastogi | Program Manager, Microsoft
INTRODUCTION TO AZURE AD
Presentation transcript:

Build 2015 4/17/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Develop Modern Native Applications with Azure Active Directory Build 2014 4/17/2017 2-769 Develop Modern Native Applications with Azure Active Directory Vittorio Bertocci @vibronet www.cloudidentity.com Principal Program Manager © 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.

Going Native or Multi Target Stacks?

Choose any platform or dev stack… iOS Android Windows ADAL .NET + Xamarin C#/JS Apache Cordova Plugin for ADAL ADAL Obj-C ADAL Android ADAL .NET Native WebAccountManager …Azure AD has your back.

Agenda The Token Requestor Pattern Going Native Going Multitarget Windows 10, Windows 7+ iOS Android Going Multitarget Xamarin Cordova

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

Identity, Native Clients, and Azure AD

Native Clients and Identity Build 2015 4/17/2017 8:11 PM Native Clients and Identity R1 App1 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Native Clients, Identity and Azure AD Build 2015 4/17/2017 8:11 PM Native Clients, Identity and Azure AD R1 App1 R2 SAML WS-Fed OAuth-A OAuth-T contoso.onmicrosoft.com App1 R2 R1 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Going Native

Going Native Windows 10 – WebAccountManager Windows 7+– ADAL .NET iOS – ADAL ObjC Android – ADAL Android

Windows 10 WebAccountManager App1 Web Account Manager Windows Web Account Provider 1 Web Account Provider 1 <<< System accounts

WebAccountManager API and AAD General token acquisition pattern FindAccountProviderAsync <WebTokenRequest> RequestTokenAsync / GetTokenSilentlyAsync WebTokenRequestResult

Registering a Universal App with Azure AD Every app must be registered in Azure AD declare in advance what resources it wants to access To register your app to use WAM, you need its SID Execute WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString(); The SID is the red part: ms-app://s-1-15-2-976907911-141810403-2436685389-2899494419-3003676602-2661416415-1464266181 Important: change the ‘s’ in the SID to UPPERCASE You need to use the SID at registration time to build a redirect uri as follows: ms-appx-web://Microsoft.AAD.BrokerPlugIn/S-1-15-2-976907911-141810403-2436685389-2899494419-3003676602-2661416415-1464266181

DEMO Getting Azure AD tokens via WebAccountManager Build 2015 4/17/2017 8:11 PM DEMO Getting Azure AD tokens via WebAccountManager © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Targeting Windows 7 onward Redistributable libraries help you to prompt users, perform requests, handle sessions

Active Directory Authentication Library (ADAL) Available on multiple platforms .NET, Windows Store, Windows Phone 8.1, iOS, Android, Node.JS, Java Open source Consistent primitives, native programming models Sophisticated features Works across Windows Server and Azure Active Directory Cache and automatic refresh Multi user support NOT a protocol library

ADAL – Main Token Acquisition Pattern Abstracts away most protocol considerations Handles tokens persistence & refresh automatically AuthenticationContext ctx= new AuthenticationContext("https://login.windows.net/contoso.onmicrosoft.com"); AuthenticationResult rez = await ctx.AcquireTokenAsync( "https://outlook.office365.com/", "5fc4a5a2-78d5-4d94-b890-a6e6b3341081");

ADAL .NET Current supported version: V2.x Desktop Default cache in-memory Extra flows for public clients only: Windows integrated authentication Direct use of username & password Windows Store, Windows Phone 8.1 Persistent per-app cache Windows Runtime Components Works with C#, WinJS, C++

DEMO Getting Tokens via ADAL .NET

ADAL or WebAccountManager? If you are targeting Windows 10 onward exclusively For apps that use more than one provider type ADAL .NET For Azure AD and ADFS only If you are targeting all versions of Windows from Win7 onward If you want to target iOS and Android via Xamarin If you need authentication flows not covered by WebAuthenticationBroker direct username/password, app identity A future ADAL .NET release will use WAM on Win10

ADAL iOS OSS Objective C library How to get it: source ZIP, Cocoapods Persistent cache via KeyChain Apps from the same publisher can share tokens NTLM

ADAL Android OSS Java library How to get it: source ZIP, git clone, Gradle, Maven Persistent cache on shared preference file Encrypted via AndroidKeyStore Integrated with the Account Manager Via Azure Authenticator app - https://play.google.com/store/apps/details?id=com.azure.authenticator NTLM

Targeting Multiple Platforms at Once: Xamarin, Apache Cordova

Xamarin Use C# to target popular mobile platforms Reuse code across multiple platforms iOS Android Win8+ Store Shared C# code

ADAL v3 and Xamarin A PCL containing all the main primitives Build 2015 4/17/2017 8:11 PM ADAL v3 and Xamarin A PCL containing all the main primitives Platform specific assemblies handling presentation, token storage Dynamic dependency injection ADAL .NET v3 Nuget C# iOS Project C# Android Project C# Windows Project PCL Android PCL iOS PCL iOS .NET Desktop Android PCL Project Windows Store Windows Phone 8.1 Store PCL © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

DEMO Getting Azure AD tokens for a C# iOS app

Apache Cordova Plugin for ADAL JavaScript façade to native ADALs R1 App1 Cordova Frame JS App Adal Cordova Plugin Adal Native

DEMO Getting Azure AD Tokens from a Cordova JavaScript App

Choose any platform or dev stack… iOS Android Windows ADAL .NET + Xamarin C#/JS Apache Cordova Plugin for ADAL ADAL Obj-C ADAL Android ADAL .NET Native WebAccountManager …Azure AD has your back.

Next Steps Sign up for an Azure trial to get Azure AD You won’t be charged if you only use Azure AD free capabilities Check out the Azure AD Developer Guide Azure.com  Documentation  ID&A Management  Active Directory  Develop http://azure.microsoft.com/en-us/documentation/articles/active-directory-developers-guide/ Go deeper at //build Vittorio Bertocci: “Develop Modern Web Applications with Azure AD” (2-753) Vittorio Bertocci: “Develop Modern Native Applications with Azure AD” (2-769) Mat Velloso: “Cloud Auth Troubleshooting and Recipes for Developers” (2-740) Subscribe to AD team blog http://blogs.technet.com/b/ad/ or search for “active directory team blog”

Resources Improve your skills by enrolling in our free cloud development courses at the Microsoft Virtual Academy. Try Microsoft Azure for free and deploy your first cloud solution in under 5 minutes! Easily build web and mobile apps for any platform with AzureAppService for free.