Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
What's new in ms graph api nilesh shah 5 apr 2018
1. WHAT’S NEW IN MS GRAPH API
Nilesh Shah
Tech Lead, RN Design Ltd.
@NileshR_Shah www.nilesh.live
C# CORNER – TORONTO CHAPTER
5 April, 2018
2. 2
C# Corner Toronto Chapter
Sponsored By:
• Award winning Architecture / Design firm
• Specializes in serving residential
development industry
3. ▪ Introduction to C# Corner
▪ Introduction of Toronto chapter members
▪ MS Graph API session
▪ Break
▪ Power BI session
▪ Refreshments/Networking
3
4. ▪ Online global community for IT professionals and developers
▪ 4+ million monthly users worldwide
▪ Users contribute to articles, forums, blogs, and videos.
4
6. ▪ Chapter is a local user group where
members share technical knowledge
by hosting monthly meetups,
workshops and webinars.
▪ 33 chapters worldwide
▪ 2 chapters in Canada
▪ Toronto
▪ Regina, SK
6
7. ▪ Nilesh Shah
▪ Tech Lead, .NET & O365 dev.
▪ TOGAF 9.1 EA, C# Corner MVP
▪ Vivek Patel
▪ Team Lead, Data & Analytics
▪ Microsoft Data Platform MVP
▪ Nik Shahriyar
▪ Sr.Technical Team Lead
▪ Sr. BI Consultant, MS MVP (former)
7
8. ▪ Theme:
▪ Make developers aware about MS Graph API features, and
introduce to some latest developments in MS Graph API
8
One Endpoint to rule them all
9. ▪ Introduction:
▪ MS Graph API / Explorer / SDK
▪ Advantages, Features, Limitations
▪ What’s new
▪ Extensions, Batching, Delta query, Excel API
▪ Webhooks, O365 Usage reporting, MS Teams
▪ Connectivity: Excel, Power BI,Visual Studio
▪ Demo
▪ MS Graph with .NET SDK
▪ Office 365 Developer program
▪ Registering Office 365 Application
9
11. ▪ 1000 B.C.
▪ Multiple Office 365 APIs
▪ Now
▪ MS Graph API: REST API for “mostly everything” in Office 365
11
12. 12
Find the URL/endpoint of the API
Authenticate/Get access token
Get information from the API
Repeat for each service/API
Multiple token management
14. ▪ Single well-known resource
▪ Get (mostly) everything from a single endpoint
▪ Users, Groups, Mail, Calendars, Contacts
▪ Files,Tasks, People, Notes and more…
▪ Ease of development
▪ No calling different endpoints
▪ No separate token management
▪ Logical Navigation
▪ Platform flexibility
▪ Open standards
14
21. ▪ Combine multiple requests in one HTTP call
▪ Optimize application performance
▪ Instead of looping thru calls, fire all in one batch
▪ Fire related / unrelated calls in a batch
▪ Geek tip: bypass URL length validation for complex filter clause
21
22. ▪ Add custom data to MS graph
▪ Extend MS Graph results with custom data
▪ No external data source required
▪ Types:
▪ Open extensions
▪ formerly Office 365 data extensions
▪ Flexible, open/untyped data
▪ Schema extensions
▪ Define your own complex schema
▪ Strongly typed, can be shared between applications
22
23. ▪ O365 reports
▪ Get O365 usage reports
▪ Identify which apps/services being used
▪ For IT admins - license management
▪ Webhooks
▪ Get notification from MS Graph
▪ Configure own URL to receive notifications
23
24. ▪ MS Graph in hybrid deployment
▪ Currently in preview
▪ MS Teams
▪ A chat-based workspace in Office 365
▪ Excel API
▪ Access and edit Excel files on OneDrive
▪ Work with Excel tables, charts using REST API
▪ Delta query
▪ Get newly created, updated, or deleted entities
▪ Efficiently synchronize changes with a local data
24
28. ▪ Pre-req: Office 365 Dev Program
▪ MS Graph API Explorer
▪ MS Graph SDK
▪ MS App Registration Portal
▪ Console app
▪ ASP .NET MVC app
▪ Connectivity:
▪ Excel
▪ Power BI
▪ Visual Studio / Azure Portal
28
30. ▪ Everything in Graph
▪ https://developer.microsoft.com/en-us/graph
▪ Graph Explorer
▪ https://developer.microsoft.com/en-us/graph/graph-explorer
▪ MS Graph on GitHub
▪ https://github.com/microsoftgraph
▪ My blogs:
▪ https://nilesh.live/blogs/msgraph/
▪ My online paper / daily:
▪ Microsoft Graph API Daily
30