Getting Started with the Office 365 API
-
Upload
bjorn-harald-rapp -
Category
Presentations & Public Speaking
-
view
792 -
download
5
Transcript of Getting Started with the Office 365 API
![Page 1: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/1.jpg)
Getting Started with the Office 365 APISpeaker: Bjoern H Rapp
15th November 2014
Host: Matthew Hughes
![Page 2: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/2.jpg)
About me
Bjoern H Rapp
Blog: www.sharepointviking.comTwitter: @bjoern_rapp
![Page 3: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/3.jpg)
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
![Page 4: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/4.jpg)
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
![Page 5: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/5.jpg)
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
![Page 6: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/6.jpg)
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!
![Page 7: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/7.jpg)
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
![Page 9: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/9.jpg)
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
![Page 10: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/10.jpg)
DEMO
Associating an existing Azure tenant with your Office 365 subscription
![Page 11: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/11.jpg)
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
![Page 12: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/12.jpg)
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
![Page 13: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/13.jpg)
DEMO
Creating a VS Project and adding the Office 365 API’s
![Page 14: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/14.jpg)
Next Steps
Authenticate your app
Create the Office 365 Discovery Client
Getting an Access Token for Office 365
Creating the client object.
![Page 15: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/15.jpg)
DEMO
Integrating Office 365 API’s intoan ASP .NET MVC Project.
![Page 16: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/16.jpg)
Some Tools
API Sandbox
Xamarin
Cordova
![Page 17: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/17.jpg)
API Sandbox
http://apisandbox.msdn.microsoft.com/
![Page 18: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/18.jpg)
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
![Page 19: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/19.jpg)
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
![Page 20: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/20.jpg)
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
![Page 21: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/21.jpg)
THANK YOU!
![Page 22: Getting Started with the Office 365 API](https://reader036.fdocuments.in/reader036/viewer/2022062304/55a4f8c01a28ab8e6e8b4697/html5/thumbnails/22.jpg)
O365EU Sponsors