Upload
bjorn-harald-rapp
View
808
Download
5
Tags:
Embed Size (px)
Citation preview
Getting Started with the Office 365 APISpeaker: Bjoern H Rapp
15th November 2014
Host: Matthew Hughes
About me
Bjoern H Rapp
Blog: www.sharepointviking.comTwitter: @bjoern_rapp
AGENDA
What are the Office 365 API’s?
How do Office 365 API’s work?
Setting up your dev environment
Start building your apps
Tools
Resources
Office 365 APIs
Active Directory
Users
Groups
Exchange & Outlook.com
Calendar
Contacts
SharePoint
Sites
Client APISites, Lists, Libs
Workflow
Search
Taxonomy
BCS
…
OneDrive
OneDrive
OneDrive for Business
How they work
SolutionYour App
.NET, js, HTML, Ruby, Java
fAzure IIS, Apache..
Dev env
Authentication
Your Dev Tools
f f f fXCode Eclipse /Android Studio
Visual Studio REST
iOS O365 SDKAndroid O365
SDKVS O365 SDK
Data
Azure AD Single Sign-On (OAuth 2.0)
REST APIsFiles, Sites Mails, Contacts,
CalendarsUsers and Groups
Azure AD
Setting up your Office 365 Dev Environment
1
2
3
Get an Office 365 Developer Site
Set up Azure AD for your dev. Site
Get the Tools!
Get a Site.
If you already have an Office 365 dev site… You are good to go!! Configuring Azure is next…
If you don’t have an Office 365 dev site If you have an MSDN subscription
Redeem your Office 365 Dev Subscription benefit.
If you own one of the following plans Midsize business, Enterprise E1, E3, E4 or K1, Education
A2, A3, A4 or Government, G1, G3, G4 or K1
Create a dev site within your existing subscription!
Start a free 30-days trial or buy a dev subscription with 1 user license
2. Set up Azure AD
I have a tenant
I don’t have a tenant
1. Log in to your Azure Management portal2. Add an association by using existing Active
Direcory Node3. Remember to close and reopen
1. Log in to Office 365 Admin Center2. Open a new tab and go to
https://account.windowsazure.com/Signup and create a new Azure subscription
3. Verify there’s a directory node with your O365tenant name
DEMO
Associating an existing Azure tenant with your Office 365 subscription
3. Get the dev. tools
.NET (WIN 8.1 APPS, WEB )
1. Install Visual Studio2. Install the Office Developer Tools http://bit.ly/1dEXN1G
Get the Office 365 SDK for Android http://bit.ly/1fbsxqDANDROID (ANDROID APPS)
iOS (iPhone, iPad Apps)
Get the Office 365 SDK for iOS (Preview) : http://bit.ly/14ohQ6k
OR CALL THE REST API’s DIRECTLY USING YOUR LANGUAGE AND TOOL OF CHOICE
I have created my VS Project, now what?
Add Office 365 API’s to your project Choose Add > Connected Service from SM
Register your App
Sign in with your Office 365 Tenant Admin account
Select the Office 365 Service Calendar, Contacts, Mail, Files, Sites, Users and Groups
Set the Permissions Read
Full Access
Set App Properties
DEMO
Creating a VS Project and adding the Office 365 API’s
Next Steps
Authenticate your app
Create the Office 365 Discovery Client
Getting an Access Token for Office 365
Creating the client object.
DEMO
Integrating Office 365 API’s intoan ASP .NET MVC Project.
Some Tools
API Sandbox
Xamarin
Cordova
API Sandbox
http://apisandbox.msdn.microsoft.com/
Xamarin(http://xamarin.com/platform)
Create native iOS, Android and Windows Apps using C#
New templates with support for Visual Studio 2015
Free edition available for Visual Studio Community
20% discount for MSDN subscribers
Cordova (http://cordova.apache.org/)
A platform for building native mobile apps
Apps based on HTML, CSS and Javascript
Same set of code running on different devices
References
Office Development: http://dev.office.com
Code samples: http://bit.ly/13EyQVs
Android Office 365 SDK: http://bit.ly/1xqmnRN
REST API Reference: http://bit.ly/10rseIb
THANK YOU!
O365EU Sponsors