SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
The slides from my session with Albert-Jan Schot at SharePoint Saturday Monaco
1. Using the Microsoft Graph to
work with Groups, Teams and
Planner
Using the Microsoft Graph
Rick van Rousselt & Albert-Jan Schot
Rivaro Consultancy, Mavention#SPSMonaco
14. So, what is the Microsoft
Graph
Users Groups Outlook Calendar SharePointExcel IntuneTeams Azure ADOneNote Planner
https://graph.microsoft.com
15. So, what is the Microsoft
Graph
1.Accessing data
/me, /users, /groups, /messages, /drive, ….
2.Traversing data
/drive/items/<id>/lastmodifiedByUser
3.Accessing insights
/insights/trending
4.Work/School and Personal
https://graph.microsoft.com/
16. Navigating the Graph
1. Get a tenant-level entity set:
/users
2. Select a member from the entity set:
/users/{id}
3. Get an entity property:
/users/{id}/department
4. Traverse to related entity type via navigation properties:
/users/{id}/files
/{version}/{tenant} /{entity-set} /{id}/{property}
17. Authenticating against the
Graph
1. Register App with Azure AD
• Native
• Web App
• Single page app
2. Configure app permissions
3. Get token using OAuth2.0 flow
4. Use OpenID Connect for SSO
20. Data Generally Available ( v1.0 ) Preview ( beta )
Azure Active Directory
Outlook mail, calendar and contacts
Office 365 groups and conversations
OneDrive drives and files
Excel
Planner
OneNote
SharePoint Sites
People
Microsoft Teams
Insights (powering Delve)*
SharePoint Lists
Outlook Tasks
Intune
Office 365 Reporting
AD Administrative Units
Project Rome
//Build 2017
announcements
21. Capabilities Generally Available ( v1.0 ) Preview ( beta )
Webhooks for OneDrive and Outlook
Delta query for OneDrive
SDKs for .Net/Xamarin and Android
SDKs for JS/Node and PHP
AppOnly webhooks for Outlook
Delta query for AAD and Outlook
Extend Graph with your own data
SDKs for iOS, Python, Ruby
Hybrid on-premise support for Outlook
(config wizard support)
Webhooks for users and groups
Webhooks for Outlook consumer
Delta query scoping filter for AAD
Batching
Microsoft Graph is available in every Office 365 and Azure region and complies with
sovereign/national cloud data requirements
//Build 2017
announcements
23. Navigating Groups
1. Get my groups & teams:
/me/memberOf
2. Get all groups & teams
/groups
3. Get my plans
/me/plans
4. Get tasks from plan from group:
/group/{id}/planner/plans/{id}/tasks
/beta /{entity-set}/{id}/{property}
/v1.0
25. Next steps
1. More information on Microsoft Graph http://graph.microsoft.io
2. Start coding
3. Checkout https://github.com/appieschot/mavention-o365-groups
and https://github.com/RickVanRousselt/SharePointAdminBot
4. Provide feedback:
http://www.sharepointappie.nl/go/UserVoiceOfficeGraph/
A single endpoint to talk to Office 365
GA at Connect()
Code: https://github.com/appieschot/mavention-o365-groups
https://portal.azure.com/
Azure AD App Registration
Permissions
Allow Implicit flow
Visual Studio Code
https://localhost:8443/index.html#/overview
Permissions app.config.js
Home Controller
Data Service
Get My Groups
Get Group Details
Image Load
Filter My Groups
Planner
Data Service
Get My Plans
Geen Groups
Get Plan Details
Create Group
Properties
HiddenMembership
Send Mail to Group
Delete Group
No recylebin yet
Bot demo:
How to register a bot
Create channel or plan (or ask bot for my task?) from bot