Extend Microsoft Flow capabilities
using Microsoft Graph API
Suhail Jamaldeen
Microsoft MVP
@SuhailCloud
Agenda
Microsoft Flow
MS Flow Supported Platforms
Basic Structure of the MS Flow
How to create MS Flows
Microsoft Graph API
Supported Platforms
Call Office 365 Service
Developer Advantage
Microsoft Flow
Microsoft Flow is cloud-based software as other Office 365 products
Helps you create automated workflows between your favorite apps and
services​
Can develop workflow without any development knowledge
Multiple Templates​
Combination of Trigger, Action and Condition
Successor to SharePoint Designer Workflows
MS Flow Supported Platforms
• Can interact with other applications like MailChimp, Dropbox, Twitter,
SharePoint, and OneDrive and many more
• Some services are labeled as Premium (e.g. Salesforce, CDS)
Start with a Trigger
Examples:
• When a new item is created in a SharePoint list or library
• When a new tweet is posted containing a particular term
• Flow button on a mobile device
• Triggered from a PowerApp
• On a schedule
Perform Actions
Examples:
• Create a SharePoint item or CDS record
• Post a tweet
• Send a mobile notification
• Interact with PowerApps
• Use the Modern Approvals experience
Create Flows
• Create a Flow directly from your Custom list or Document Library in
the browser or phone app
• Create/run a Flow on a selected file, item, or folder
• Using the app, search for SharePoint triggers and actions
Microsoft Graph API
Microsoft Graph is a RESTful web API
No need many different APIs
Supported Platforms
Microsoft Graph API
Calling Office 365 APIs
Find the URL/endpoint of the API
Authenticate/Get access token
Get information from the API
Repeat for each service/API
Multiple token management
Developer Advantage
Mostly everything from a single endpoint.
No separate token management
Multiple platform supported with examples and code base
Code base are open source and available in GitHub
DEMO
www.Suhail.Cloud
www.twitter.com/SuhailCloud
www.facebook.com/Suhail.Cloud
#SuhailCloud
References
https://developer.microsoft.com/en-us/graph/graph-explorer#
https://sergeluca.wordpress.com/2017/09/22/extend-microsoft-flow-
with-the-microsoft-graph-and-0-code/
Q & A
www.Suhail.Cloud
www.twitter.com/SuhailCloud
www.facebook.com/Suhail.Cloud
#SuhailCloud
Extend Microsoft Flow Capabilities Using Microsoft Graph API

Extend Microsoft Flow Capabilities Using Microsoft Graph API

Editor's Notes

  • #9 Azure Active Directory Office 365 services: SharePoint, OneDrive, Outlook/Exchange, Microsoft Teams, OneNote, Planner, and Excel Enterprise Mobility and Security services Windows 10 services Dynamics 365, and more.