1 trillion azure ad authentications since the release of the service 50 m office 365 users active...
TRANSCRIPT
Spark the future.
May 4 – 8, 2015Chicago, IL
Get Your Hands Dirty with the Office 365 APIs, Authentication, and SDKs Rob Howard
BRK4117
Why bring O365 into your appStart with single sign-onDiscover Office 365 servicesLeverage our tools and SDKs
Agenda
DATAUSERS
HTML
Developer vision
The most strategic developer surface area for us is Office 365
“
”—Satya Nadella
Start with single sign-on
1 TrillionAzure AD authentications since the release of the service
50 MOffice 365 users active every month
>1 Billion authentications every day on Azure AD
More than
500 M
objects hosted on Azure Active Directory
Azure AD manages identity data for
>5 M organizations
86% of Fortune 500 companies on Microsoft Cloud (Azure, O365, CRM Online and PowerBI)
Many Organizations Have Azure AD
Every Office 365 and Microsoft Azure customeruses Azure Active directory
Azure Active Directory and Office 365Single auth flow for O365Sign users in using OpenID ConnectAzure AD, Exchange, SharePoint, Yammer, OneNoteDevice apps, web sites, SPAs, and service appsAdmin and end-user consent
Secure protocolOpenID Connect and OAuth 2.0No capturing user credentialsFine-grained access scopesSupports MFA and federated user sign-inLong-term access through refresh tokens
Authentication to Office 365 APIs using Resource Id
Your ApplicationAzure AD Authorization
Endpoint
Azure AD Token
Endpoint Office 365 API
Request authorization code
Sign-in via browser pop-up
Return authorization code
Redeem authorization code and acquire access token for Office 365 resource
Return id, access, and refresh tokens
Return Http Response
Call Office 365 API using the access token
DemoAzure AD OAuth and OpenID Connect
O365 Discovery ServiceAutomatically determine URL of O365 servicesSupports device app and web site flowsSecured using Azure AD authenticationServes information stored about services in AAD
Simple REST/OData Service APIsSupports Azure AD OAuthURLs available through discoveryAccessible to web, device, and service applications on any platform
Office 365 APIs
O365 APIs
Simple REST APIs for Office 365 services authorized through Azure AD
Service Functionality Base URL
Azure AD GraphUsers, Groups, Applications, Devices
https://graph.windows.net/
Exchange Online Mail, Calendar, Contacts https://outlook.office365.com/api/
SharePoint OnlineLists, Libraries, Search, User Profiles
https://<tenant>.sharepoint.com/_api/
OneDrive for Business Files, Folders https://<tenant>-my.sharepoint.com/
_api/
OneNote Notebooks, Pages https://www.onenote.com/api/
Yammer Conversations https://www.yammer.com/api/
Video Portal Videos, Channels
https://<tenant>.sharepoint.com/portals/
Unified GroupsGroup Calendar, Files, Conversations
https://graph.microsoft.com/
http://aka.ms/Office365DevAPIs
DemoOffice 365 REST APIs
Your App
Office 365 unified API (preview)
https://graph.microsoft.com/
Same App registration Permission scopes and security OAuth2.0 and OpenID Connect
Simpler Single endpoint Single access token
Powerful Get to all data, connections and
relationships
Same platform, just simpler
Get to all data, connections and relationships in Office 365
Users / GroupsMail / Calendar / ContactsFiles
Unified EndpointVideo PortalOneNoteYammer
Consumer / Commercial unificationOffice GraphTasksLync / Skype
Office 365 API RoadmapGenerally
Available
Future
Available in
preview
Tools and SDKs
OSS Libraries: http://github.com/AzureAD Client: Active Directory Authentication Library (ADAL).Net, Windows Store, Windows PhoneJavaScriptiOSAndroidXamarinCordovaNode.jsJava
Server.Net: ASP.Net OWIN middleware for OpenID Connect and OAuth 2.0Node.js
More to come
DemoADAL.js and the O365 APIshttps://github.com/robmhoward/o365AngularCors
https://github.com/OfficeDev SDK for IOS SDK for Android and tools for Android
Studio SDK for Java Server SDK for Xamarin Cordova Plug-ins SDK for .Net and tools for Visual Studio
Tools for Connecting to Office 365 APIs
DemoOffice 365 APIs in VS 2015
http://dev.office.com/devprogram
Developer Program Launch
E-mail Newsletters
Free Developer Subscriptio
n
1 YEAR FREE
Free Training
Free Tools
Webinars
Bring O365 into your appStart with single sign-onDiscover Office 365 servicesLeverage our tools and SDKs
Summary
Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above.
Please evaluate this sessionYour feedback is important to us!
© 2015 Microsoft Corporation. All rights reserved.