Presentation is loading. Please wait.

Presentation is loading. Please wait.

Modern business processes with Microsoft Graph and Azure Functions

Similar presentations


Presentation on theme: "Modern business processes with Microsoft Graph and Azure Functions"— Presentation transcript:

1 Modern business processes with Microsoft Graph and Azure Functions
7/21/2018 1:15 PM BRK3202 Modern business processes with Microsoft Graph and Azure Functions Dan Silver Software Engineer #MicrosoftGraph @dansilver82 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Agenda Microsoft Graph and Azure Functions 101 Demo scenario
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph and Azure Functions 101 Demo scenario Agenda Featured Integrations Security © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Microsoft Graph ACTIVITY CONTENT CONVERSATIONS INSIGHTS ME TRENDING
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph ACTIVITY CONTENT CONVERSATIONS INSIGHTS ME TRENDING ORGANIZATION GROUPS CHATS REPORTS DOCUMENTS EVENTS DEVICES SHARED CONTACTS SITES PEOPLE TASKS TEAMS © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 STANDALONE WEB AND DEVICE APPS
Office 365 Platform Extensions STANDALONE WEB AND DEVICE APPS Documents PAGES Canvases Conversations Embedded canvases Microsoft Graph

5 Microsoft Graph API All users
Access user, group and organizational data One endpoint One token All users Your app Users Groups Outlook OneNote more… SharePoint Intune Teams Azure AD Planner Excel

6 Calling the API https://graph.microsoft.com /{version} /{resource}
Build 2015 7/21/2018 1:15 PM Calling the API HTTP verbs dictate the request intent: GET | POST | PATCH | PUT | DELETE Version: /v1.0 or /beta Resource: /users, /groups, /sites, /drives, /devices, more… Member from collection: /users/AAA Property: /users/AAA/department Traverse to related resources via navigations: /users/AAA/events Query parameters: /users/AAA/events?$top=5 Format results: $select | $orderby Control results: $filter | $expand Paging: $top | $skip | $skiptoken /{version} /{resource} /{id} /{property} ?{query-parameters} © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 SDKs, samples and tooling
Microsoft Tech Summit FY17 7/21/2018 1:15 PM SDKs, samples and tooling PREVIEW GA* GA GA GA ASP.NET MVC JavaScript Angular PHP Python PREVIEW PREVIEW GA* GA* GA* Xamarin UWP Android iOS Ruby UPDATED VS integration © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Calling the Microsoft Graph
7/21/2018 1:15 PM Calling the Microsoft Graph Web apps Native apps Bots Background Processes Microsoft Graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 What is Serverless? Abstraction of servers Event-driven/ instant scale
$ Abstraction of servers Event-driven/ instant scale Micro-billing

10 Focus on business logic
Do more. Serverless. DevOps Productivity Focus on business logic Faster time to market

11 Microsoft Graph + Azure Functions
7/21/2018 1:15 PM Microsoft Graph + Azure Functions Benefits of serverless Access data in Microsoft Graph Best in class security Built on Azure App Service © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 Agenda Microsoft Graph and Azure Functions 101 Demo scenario
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph and Azure Functions 101 Demo scenario Agenda Featured Integrations Security © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 Scenario: Project deadlines
7/21/2018 1:15 PM Scenario: Project deadlines A team is working on a project with deadlines Deadlines are tracked on a shared calendar Important milestones featured in a SharePoint list © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Azure Function for fetching calendar events
7/21/2018 1:15 PM Azure Function for fetching calendar events Microsoft Graph Loaded web page triggers function Azure Function queries the Microsoft Graph {} Function returns a JSON event list to the client © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 Azure Function for fetching calendar events
7/21/2018 1:15 PM Azure Function for fetching calendar events {events} {events} {events} Microsoft Graph {events} © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Azure Functions Demo Fetching Microsoft Graph calendar events
Microsoft Build 2017 7/21/2018 1:15 PM Azure Functions Demo Fetching Microsoft Graph calendar events © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Scenario: Project deadlines
7/21/2018 1:15 PM Scenario: Project deadlines A team is working on a project with deadlines Deadlines are tracked on a shared calendar Important milestones featured in a SharePoint list © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Monitoring a calendar for changes
7/21/2018 1:15 PM Monitoring a calendar for changes Azure Function executes with single event Calendar event added to queue Graph pings Azure Functions when event is created © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

19 Microsoft Graph Webhooks
7/21/2018 1:15 PM Microsoft Graph Webhooks Delivers notifications to clients Subscribe to changes in messages, events, OneDrive, etc. Events at any level - me/messages or me/mailfolders('inbox')/messages Subscribe to event types created, updated, deleted © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Microsoft Graph Webhooks Flow
7/21/2018 1:15 PM Microsoft Graph Webhooks Flow Setup server to receive notifications Tell Graph where to send notifications Graph verifies your server is setup correctly Graph sends notifications when data changes © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Creating a subscription
7/21/2018 1:15 PM Creating a subscription POST Content-Type: application/json { "changeType": "created,updated", "notificationUrl": " "resource": "/me/mailfolders('inbox')/messages", "expirationDateTime": " T11:00: Z", "clientState": "SecretClientState" } © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

22 Subscription URL Validation
7/21/2018 1:15 PM Subscription URL Validation POST Client response within 10 seconds: 200 OK Content-Type: text/plain {Token} © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Notification event { "value":[
7/21/2018 1:15 PM Notification event { "value":[ "subscriptionId":"<subscription_guid>", "subscriptionExpirationDateTime":" T22:11:09.952Z", "clientState":"SecretClientState", "changeType":"Created", "resourceData": "id":"<long_id_string>" } ] © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Graph Webhooks Samples
7/21/2018 1:15 PM Graph Webhooks Samples © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Graph Webhooks in Azure Functions
7/21/2018 1:15 PM Graph Webhooks in Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 Graph Webhooks in Azure Functions
7/21/2018 1:15 PM Graph Webhooks in Azure Functions using Microsoft.Graph; public static void Run(Event calEvent, TraceWriter log) { log.Info($"C# Graph Webhook trigger processed calendar event: {calEvent.Subject}"); } © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Monitoring a calendar for changes
7/21/2018 1:15 PM Monitoring a calendar for changes Azure Function executes with single event Calendar event added to queue Graph pings Azure Functions when event is created © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 Azure Functions Demo Microsoft Graph Webhooks Microsoft Build 2017
7/21/2018 1:15 PM Azure Functions Demo Microsoft Graph Webhooks © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Microsoft Graph Webhooks
7/21/2018 1:15 PM Microsoft Graph Webhooks Setup server to receive notifications Tell Graph where to send notifications Graph verifies your server is setup correctly Graph sends notifications when data changes © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 Scenario: Project deadlines
7/21/2018 1:15 PM Scenario: Project deadlines A team is working on a project with deadlines Deadlines are tracked on a shared calendar Important milestones featured in a SharePoint list © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 Updating SharePoint lists with Graph API
7/21/2018 1:15 PM Updating SharePoint lists with Graph API Graph API adds event to SharePoint list Calendar event is queued Azure Function executes with single event © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32 SharePoint API in Microsoft Graph
7/21/2018 1:15 PM SharePoint API in Microsoft Graph SharePoint site: Graph Explorer demo – SharePoint lists CRUD operations © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 Azure Functions Demo Updating SharePoint Lists Microsoft Build 2017
7/21/2018 1:15 PM Azure Functions Demo Updating SharePoint Lists © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34 Agenda Microsoft Graph and Azure Functions 101 Demo scenario
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph and Azure Functions 101 Demo scenario Agenda Featured Integrations Security © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

35 Featured Integrations
7/21/2018 1:15 PM Featured Integrations Custom data in the Microsoft Graph Chaining calls for efficient queries Looking for changes + Microsoft Graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

36 Custom data in the Microsoft Graph
7/21/2018 1:15 PM Custom data in the Microsoft Graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

37 Extending Microsoft Graph
Open Extensions GET /me/message/<id>/?$expand=extensions { "displayName": "Yina", "extensions": [ "extensionName": "Com.Contoso.Referral", "companyName": "Wingtip Toys", "expirationDate": " T11", "dealValue": 10,000 } ] Schema extensions POST /schemaExtensions "id": "training_courses", "targetTypes": [ "Group" ], "properties": [ "name": "courseName", "type": "String" }… GET /groups?$filter=courses/name eq Math101 Extending Microsoft Graph Add extensions to user, group, mail & more Customer referral Group: Math 101 PMP Certified Favorite color: blue

38 Scenario: Employee trainings
7/21/2018 1:15 PM Scenario: Employee trainings Employees are required to take a training course Company doesn’t want a new database Weekly reports on who needs to take the course © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

39 Azure Functions + Microsoft Graph Extensions
7/21/2018 1:15 PM Azure Functions + Microsoft Graph Extensions Employee completes training course User extension updated to ‘course complete’ Finds users that haven’t completed the course Timer triggers function every week Summary sent to management © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40 Chaining calls for efficient queries
7/21/2018 1:15 PM Chaining calls for efficient queries © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

41 JSON Batching Combine multiple REST requests Sequence with dependsOn
7/21/2018 1:15 PM JSON Batching Combine multiple REST requests Sequence with dependsOn Create user then set profile photo Send an if user is added to group Create folder then upload file Supports binary files with base64 encoding Get multiple profile photos © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

42 JSON Batching Example { "requests": [ "url": "/me", "method": "GET",
7/21/2018 1:15 PM JSON Batching Example { "requests": [ "url": "/me", "method": "GET", "id": "1" }, "url": "/me/messages", "id": "2" "url": "/me/events", "id": "3" } ] POST © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

43 JSON Batching Example { "requests": [ "url": "/me", "method": "GET",
7/21/2018 1:15 PM JSON Batching Example { "requests": [ "url": "/me", "method": "GET", "id": "1" }, "url": "/me/messages", "dependsOn": [ 1 ], "id": "2" "url": "/me/events", "id": "3" } ] POST © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

44 JSON batching preview limitations
7/21/2018 1:15 PM JSON batching preview limitations 5 individual requests Nested batching © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

45 Azure Functions + Microsoft Graph Batching
7/21/2018 1:15 PM Azure Functions + Microsoft Graph Batching Set course completion for a user Return list of users that have completed the course Microsoft Graph Loaded web page triggers function Azure Function queries the Microsoft Graph {} Function returns a JSON array of users to the client © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

46 Looking for changes in data
7/21/2018 1:15 PM Looking for changes in data © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

47 Get incremental changes to a calendar
7/21/2018 1:15 PM Get incremental changes to a calendar GET /me/calendarView/delta ?startDateTime={start_datetime} &endDateTime={end_datetime} © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

48 Azure Functions + Microsoft Graph Delta Query
7/21/2018 1:15 PM Azure Functions + Microsoft Graph Delta Query See if calendar has changed since last week Create summary document Microsoft Graph Azure Function queries the Microsoft Graph Save report to OneDrive or SharePoint Timer triggers function every week © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

49 Featured Integration Opportunities
7/21/2018 1:15 PM Featured Integration Opportunities Custom data in the Microsoft Graph Chaining calls for efficient queries Looking for changes + Microsoft Graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

50 Agenda Microsoft Graph and Azure Functions 101 Demo scenario
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph and Azure Functions 101 Demo scenario Agenda Featured Integrations Security © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

51 Authentication with Microsoft Graph and Azure Functions
7/21/2018 1:15 PM Authentication with Microsoft Graph and Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

52 Authentication with Microsoft Graph + Azure Functions
7/21/2018 1:15 PM Authentication with Microsoft Graph + Azure Functions Where do I store app secrets? How do I grant admin consent? Are scopes delegated or app only? How do I renew authentication tokens? © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

53 Auth Microsoft Identity YOUR APP MSAL Microsoft Graph
Microsoft Build 2017 7/21/2018 1:15 PM Auth Microsoft Identity id_token access_token refresh_token YOUR APP Microsoft Graph MSAL access_token Register your app at © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

54 App types and permissions
7/21/2018 1:15 PM App types and permissions Get access on behalf of users Get access as a service Single page app Web app Mobile or desktop app App with middle tier web API Service or daemon app Permission type: delegated Permission type: application Effective permission Effective permission App permissions User permissions App permissions Users can consent for their data or admin can consent for all users Only admin can consent © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

55 Graph Auth in Azure Functions
7/21/2018 1:15 PM Graph Auth in Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

56 Graph Authentication in Azure Functions
7/21/2018 1:15 PM Graph Authentication in Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

57 Graph Authentication in Azure Functions
7/21/2018 1:15 PM Graph Authentication in Azure Functions © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

58 Authentication in Graph Bindings
7/21/2018 1:15 PM Authentication in Graph Bindings Identity options: userFromRequest – Call the Microsoft Graph API on behalf of the user that initiated the HTTP request ClientCredentials – Call the Microsoft Graph as an app © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

59 Authentication in Graph Bindings Demo
Microsoft Build 2017 7/21/2018 1:15 PM Authentication in Graph Bindings Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

60 How not to authenticate with Azure Functions…
7/21/2018 1:15 PM How not to authenticate with Azure Functions… tokenPlease() it’s for easy development, not production use! © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

61 Agenda Microsoft Graph and Azure Functions 101 Demo scenario
Microsoft Build 2017 7/21/2018 1:15 PM Microsoft Graph and Azure Functions 101 Demo scenario Agenda Featured Integrations Security Next steps © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

62 Microsoft Graph + Azure Functions
7/21/2018 1:15 PM Microsoft Graph + Azure Functions Benefits of serverless Access data in the Microsoft Graph Best in class security Built on Azure App Service + Microsoft Graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

63 Try out the Graph code samples
7/21/2018 1:15 PM Try out the Graph code samples Check out the docs developer.microsoft.com/graph © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

64 Attention: PLEASE READ
7/21/2018 1:15 PM Attention: PLEASE READ Photography and copyright infringement. Using imagery from movies, television, music and pop-culture is illegal, unless purchased, licensed or by express written consent from the owner. Please do not include unlicensed imagery in your presentation. Sessions with questionable imagery will not be published until resolved. The speaker will be contacted via for immediate resolution. If additional costs are incurred in editing, an I/O Code will be required. If you have any questions regarding your imagery please contact Media Acquisitions Music Sound Video Acquisitions: The PPT deck and Recording will not be published until the editing is complete. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

65 If an image is on the Internet/Bing it is in the public domain.
7/21/2018 1:15 PM If an image is on the Internet/Bing it is in the public domain. If there is no copyright notice on the image, I don’t need permission. If I don’t profit from the use, I don’t need permission. If I remove the image after notice, I don’t owe any money to the copyright. If I alter the image X%, I don’t need permission. If I only use a part of the image, I don’t need permission. If I only include a hyperlink in my presentation and click it to show the image, I don’t need permission. Common Copyright Myths © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

66 Resources for Microsoft employees
7/21/2018 Resources for Microsoft employees Can’t find the image that you have in mind for your presentation? The Media Acquisitions team can help you find and license imagery through our stock photography providers. You will also find imagery and information via these links: Mediaacq Microsoft Brand Central Presentation guidelines Microsoft photography Microsoft illustrations There are agreements in place with these providers. For information on the use of third-party copyrighted content please contact visit this site. © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

67 Creating accessible content
7/21/2018 1:15 PM Creating accessible content Take the following steps to create accessible content that everyone can consume effectively. Contrast Use high contrast colors for maximum readability The recommended contrast ratio is at least 4.5:1 Color Contrast Analyzer Download this tool to determine the legibility of text and the contrast of visual elements Shape and color Use different shapes with a legend to indicate statuses to accommodate for color blindness Example: Alt text Alt text helps people with screen readers understand the content of slides You can create alternative text for shapes, pictures, charts, tables, SmartArt graphics, or other objects. Here’s how: Right click the image or shape Select Format Picture… or Format Shape… Select the Size & Properties icon Expand the Alt Text field Enter a Title and Description of your image or object Slide layouts Using a built-in slide layout that matches your content ensures a hierarchical reading order of text blocks Example: If a new slide will have a title, rather than starting with a blank layout and adding a text block for the title, choose one of the built-in layouts with a title placeholder Reading order Screen readers describe content on the screen in the order it was created To ensure your content is read back in the order you prefer, arrange your objects in the Selection Pane appropriately. Objects on the bottom of the selection pane are read first. Here’s how: Click the Home tab In the Drawing group, select the Arrange drop-down menu Click Selection Pane… Text Subject 1 Subject 2 Subject 3 C3 C2 C1 Download Additional Tips! Be sure to run the Accessibility Checker! Go to File click the Check for Issues drop down menu click Check Accessibility Videos need to be accessible: If your presentation includes a video, ensure it is captioned and audio described (if appropriate) Visit the Office Accessibility Center to learn more about accessibility in PowerPoint © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

68 Text layout (without bullet points)
7/21/2018 1:15 PM Text layout (without bullet points) Main topic 1: size 36pt Size 28pt for second level Size 24pt for third level Size 22pt for fourth level Size 22 for fifth level © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

69 Text with bullet points - adjusting list levels
7/21/2018 1:15 PM Text with bullet points - adjusting list levels Main topic 1: size 36pt Size 28pt for second level Size 24pt for third level Size 22pt for fourth level Size 22 for fifth level Use the “Decrease List Level” and “Increase List Level” tools on the Home Menu to change text levels. Try this: Place your cursor in any row of text to the left that says “Size 20pt for subtopics” Next click the Home tab, and then on the “Decrease List level” tool. Notice how the line moves up one level. Now try placing your cursor in one of the “Main topic…” lines of text. Click the “Increase List Level” tool and see how the text is pushed in one level Use these 2 tools to adjust your text levels as you work © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

70 7/21/2018 1:15 PM Bullet points layout with subtitle Subtitle is smaller in the same text block Example of a bulleted slide with a subhead Set the slide title to “Sentence case” Set subheads to “Sentence case” Hyperlink style © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

71 7/21/2018 1:15 PM Photo layout 1 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

72 Customer evidence slide
Microsoft 2016 7/21/2018 1:15 PM Customer evidence slide Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor. “You miss 100% of the shots you don’t take” – Jane Doe © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

73 Accent colors 1-6 – (6 Theme Colors to the far right)
7/21/2018 1:15 PM Slide palette info The PowerPoint palette for this template has been built for you and is shown below. Avoid using too many colors in your presentation. Accent 3 Accent 2 Accent 1 Accent 6 Accent 5 Accent 4 Accent colors 1-6 – (6 Theme Colors to the far right) Use Accent 1 as the main accent color. Use Accent 2 and Accent 3 when additional colors are needed. Use Accents 4-6 sparingly – only when more colors are necessary. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

74 Demo Speaker name 7/21/2018 1:15 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

75 7/21/2018 1:15 PM Video © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

76 7/21/2018 1:15 PM Section title © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

77 7/21/2018 1:15 PM Software code slide This slide layout uses Consolas, a monotype font which is ideal for showing software code. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

78 Notes (hidden) NEXT: <next slide title>
7/21/2018 1:15 PM Notes (hidden) Some speakers at Microsoft like to use this slide for hidden “notes slides”. Delete it if you don’t want to use it. NEXT: <next slide title> © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

79 Please evaluate this session Your feedback is important to us!
7/21/2018 1:15 PM Please evaluate this session Your feedback is important to us! The slide will be replaced onsite through Silver Fox Productions with an updated QR code. This slide is required. Do NOT delete or alter the slide. From your PC or Tablet visit MyIgnite at From your phone download and use the Ignite Mobile App by scanning the QR code above or visiting © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

80 7/21/2018 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

81 Presentation title Speaker Name Title 7/21/2018 1:15 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

82 Attention: PLEASE READ
7/21/2018 1:15 PM Attention: PLEASE READ Photography and copyright infringement. Using imagery from movies, television, music and pop-culture is illegal, unless purchased, licensed or by express written consent from the owner. Please do not include unlicensed imagery in your presentation. Sessions with questionable imagery will not be published until resolved. The speaker will be contacted via for immediate resolution. If additional costs are incurred in editing, an I/O Code will be required. If you have any questions regarding your imagery please contact Media Acquisitions Music Sound Video Acquisitions: The PPT deck and Recording will not be published until the editing is complete. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

83 If an image is on the Internet/Bing it is in the public domain.
7/21/2018 1:15 PM If an image is on the Internet/Bing it is in the public domain. If there is no copyright notice on the image, I don’t need permission. If I don’t profit from the use, I don’t need permission. If I remove the image after notice, I don’t owe any money to the copyright. If I alter the image X%, I don’t need permission. If I only use a part of the image, I don’t need permission. If I only include a hyperlink in my presentation and click it to show the image, I don’t need permission. Common Copyright Myths © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

84 Resources for Microsoft employees
7/21/2018 Resources for Microsoft employees Can’t find the image that you have in mind for your presentation? The Media Acquisitions team can help you find and license imagery through our stock photography providers. You will also find imagery and information via these links: Mediaacq Microsoft Brand Central Presentation guidelines Microsoft photography Microsoft illustrations There are agreements in place with these providers. For information on the use of third-party copyrighted content please contact visit this site. © 2015 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

85 Text layout (without bullet points)
7/21/2018 1:15 PM Text layout (without bullet points) Main topic 1: size 36pt Size 28pt for second level Size 24pt for third level Size 22pt for fourth level Size 22 for fifth level © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

86 Adjusting list levels Main topic 1: size 36pt
7/21/2018 1:15 PM Adjusting list levels Main topic 1: size 36pt Size 28pt for second level Size 24pt for third level Size 22pt for fourth level Size 22 for fifth level Use the “Decrease List Level” and “Increase List Level” tools on the Home Menu to change text levels. Try this: Place your cursor in any row of text to the left that says “Size 20pt for subtopics” Next click the Home tab, and then on the “Decrease List level” tool. Notice how the line moves up one level. Now try placing your cursor in one of the “Main topic…” lines of text. Click the “Increase List Level” tool and see how the text is pushed in one level Use these 2 tools to adjust your text levels as you work © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

87 7/21/2018 1:15 PM Bullet points layout with subtitle Subtitle is smaller in the same text block Example of a bulleted slide with a subhead Set the slide title to “Sentence case” Set subheads to “Sentence case” Hyperlink style © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

88 7/21/2018 1:15 PM Photo layout 1 © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

89 Customer evidence slide
Microsoft 2016 7/21/2018 1:15 PM Customer evidence slide Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor. “You miss 100% of the shots you don’t take” – Jane Doe © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

90 Accent colors 1-6 – (6 Theme Colors to the far right)
7/21/2018 1:15 PM Slide palette info The PowerPoint palette for this template has been built for you and is shown below. Avoid using too many colors in your presentation. Accent 3 Accent 2 Accent 1 Accent 6 Accent 5 Accent 4 Accent colors 1-6 – (6 Theme Colors to the far right) Use Accent 1 as the main accent color. Use Accent 2 and Accent 3 when additional colors are needed. Use Accents 4-6 sparingly – only when more colors are necessary. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

91 Demo Speaker name 7/21/2018 1:15 PM
© Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

92 7/21/2018 1:15 PM Video © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

93 7/21/2018 1:15 PM Section title © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

94 7/21/2018 1:15 PM Software code slide This slide layout uses Consolas, a monotype font which is ideal for showing software code. © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

95 Please evaluate this session
Tech Ready 15 7/21/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

96 7/21/2018 1:15 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Modern business processes with Microsoft Graph and Azure Functions"

Similar presentations


Ads by Google