Building apps with Microsoft Graph Explorer

Microsoft 365 Developer · Intermediate ·🔧 Backend Engineering ·4y ago

Key Takeaways

The video demonstrates how to use Microsoft Graph Explorer to build apps, including handling paging, generating code snippets, and integrating with the Microsoft Graph Toolkit and Adaptive Cards. It also covers features such as reporting issues, customizing queries, and sharing queries with colleagues.

Full Transcript

hey everyone my name is rabia and i'm a cloud advocate for microsoft 365. this is a multi-part video series i have my uh hr and betty rose here with me to discuss about microsoft graph explorer hr who are you hi everyone my name is aichabash i'm a cloud advocate at microsoft and uh today we have also a special guest betty rose joining us from graphics for betty why don't you introduce yourself hi everyone so my name is betty rosengoge i am a pm in the microsoft graph devex team and i own graph explorer all right so i guess in one of our videos previous videos we did talk about how we're gonna fetching data from microsoft 365 and not every day we're getting data with just one response maybe just my name or email we might be getting data like tons of data like hundreds and thousands of data from microsoft 365 and in the explorer i have not seen any button um or any paging that can you know take me through all these uh this huge amount of data so how does it work in explorability can you explain a bit on that so that's a very good question so we are going to go to graph explorer and run this query and this query returns a lot of responses that paging is required so there's a lot of paging in these the responses and one of the things that you're going to notice graph explorer ask actually tells you this response contains an auditor property or data dot next link so click here to follow to follow the link so every time you click on that link it takes you to the next page um and on the last page it actually tells you all data there's an auditor dot delta link and if you click you can follow the link from this page here okay that's interesting and that's how we handle paging in graph explorer and we are able to tell you um we are able to tell you um that there is an auditor.next link or a data that delta link and give you a link that you can follow right so this is the last page that it tells you it's odata delta link so every time there's a next one it means there is still data coming in oh that's really clever correct so betty i also see here there uh there's a cod snippet piece um what if let's say i learn everything about graph using graph explorer and the next part for me is to embed exactly the same thing in my own code in my own app is that where we get the code for the query and copy paste into our own app correct so the code snippets tab gives you code snippets for every query that you run on a graph explorer so if you wanted to run to add this query into your application for example in c sharp this is the code that you'd actually use and we have a copy button over here which you can click and copy into your application we give you code snippets in four different programming languages c-sharp javascript java objective c so this query changes for every single graph call we do let's say if right now i'm getting data for me but if i change it if i get let's say my email or my manager then query will automatically change and it will be adapted to new graph call right correct so depending on the query that i am looking at the the code snippet is changing so if i'm looking at my mail you will get a new quote snippets if i look at um all the items in my drive the code snippet also changes items trending around me the quote step it also changes but that's great i see this is not the only thing uh here right next to cod snippets i see toolkit component which is one of my favorite feature of microsoft graph and maybe some of the developers already know microsoft graph toolkit is a collection of components web components and authentication providers that help us build microsoft graph in our apps quickly and easily i see we also have an integration in the graphic explorer to learn more about the toolkit i assume right betty yes correct so one of the things we've done with graph explorer is give you languages that make your development process easier and we have two libraries that you have integrated in graph explorer one of them is the toolkit component and the other one is the adaptive cards so every time you run a query and there's a toolkit component or adaptive component that is available a blue dot will appear next to that tab telling you please look at that tab there's something for you that you can you can have a look at and so in this case um i ran the wacme uh query and it actually has a toolkit component takes a bit to load um but once it loads it will show you um how this should appear um in in your toolkit same case for adaptive cards as well so if you go to the adaptive cards tab it's going to show you how this query the response would look like in adaptive card and also show you the json template that we actually used so these are two libraries or ui libraries that enable you um to implement your ui easily without having to re redefine or redesign like the wheel yeah that's pretty cute because i always wonder what that blue dot meant and now it's a bit clear to me that it means that there are something that i need to look into and you know make my life easier um so um i guess adaptive cards are there for mainly just to show you know hey you could uh put this data in this way and present it in your applications just like quick tips right basically correct cool um what about themes is there anything else you can do with the ui um of explorer i'm just curious now yes there's so many things you can do one of the things that you can do is change your theme say i want to see for example so if i do that and my whole application just changes to a dark theme say i wanted a contrast one for example and if i go here i'll just change to high contrast and it should it should change the application to high contrast so that's one of the things you can do with the ui if the side bar component is too huge for you and you'd want to hide it this button over here at the very top enables you to collapse it and expand it as you wish also um if you want if the response that you got here is too long and you don't want to see it on a broader view you can actually come here and expand over here and it will open a bigger space so that now you can look at your response wow yeah so cool this is so cool all my life i have been using this tool wrong yes that's something what you can do with a ui right right so so oh oh oh oh so this is an interesting one so can you go back to the ellipses um again uh betty report an issue so okay this is probably uh one of the features we need to highlight right so this there is an option for developers to go report an issue to make our product better so could you explain a bit on that one so where does it go like a repository or yeah so if you if you are using graph explorer and you run into an issue or you actually have a feature request there's something you're going to see on graph explorer so this button should be your friend so you click on this button it takes you to our github repo where you can go in and either file a bug report a feature request or tell us about a security vulnerability yeah and so you can create one of these and we're going to get it triage it and start working on it ah that's interesting uh that's really good especially the feature requested i'm pretty sure devs who are been using this actively they do have ideas around how to improve so this is really great correct so another thing i don't know you rabia but usually when i'm um finding some interesting things in the graphics floor it's not only coming from the sample queries but i also customize queries by using some filters uh i play with the data a lot and at the end uh since i'm playing with the sample data i like sharing my own query i think one of the best features available in the graph explorer is you can share what you build with your colleagues and just you know you can click the share button and then they can see what sample data you're getting and and they can understand what what you are talking about this is great because it's not only about copy paste the query but also they can experience the same data sample i think this is one of the best features available in the graphics for for developers all right yeah and also as part of sharing the query if you had something on your request body and your request headers it actually goes with a shared query so the person you're sharing with will get exactly the query that you are looking at plus the response here that's cool but if it's in a different tenon then it might be different so if you're in the same tenant dev tenants you know multiple developers working in the same tenant it's going to give you the exact data is that what you mean by that or yeah that's correct cool that's really awesome so the the last thing i'll do i wanted to showcase is sometimes you'd want to get your own demo tenant and in this case um so that you can do all the queries and when you get your own demo tenant you will have also admin access so some of the permissions that we discussed and said requires admin uh consent you'll actually have an admin account and also a user account if you want a demo tenant to start your development journey on graph explorer we have this link that tells you you can go and get a sandbox with sample data and once you click on it it takes you to the m365 developer program that gives you a full tenant with if e3 microsoft 365 license that is free for development purposes only and you can keep renewing it every i think it's every 90 days or every year yeah yeah and if you keep using it and developing apps in it then i think you get it and you know indefinitely renewed i guess whatever yes correct yep awesome that was a lot of features and to be honest with you there are many things that i had no idea before us recording this so that's that's simply great yeah thank you thank you there are so many more with the access token so if you wanted to see the access token you can sign in and actually see the access token that you're um working with um the modified options it is we have permissions in two places the modify permissions tab and these more actions once you're logged in you will also see the select permissions yeah okay thank you everyone for watching so these are the features you have in the microsoft graph explorer if you've got any question or feedback around this web tool please do uh let us know using the report and issue uh button in the explorer itself so enjoy thank you so much hr and betty for joining the call thank you bye

Original Description

Graph Explorer is a developer tool that lets you conveniently make Microsoft Graph REST API requests and view corresponding responses. It also includes features such as code snippets in C#, Java, JavaScript, and Objective C; Microsoft Graph Toolkit and adaptive cards integration; and more to help you build your applications. Try it out: https://aka.ms/ge Learn more: https://aka.ms/learn-graph
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft 365 Developer · Microsoft 365 Developer · 0 of 60

← Previous Next →
1 Adaptive Cards community call-February 2019
Adaptive Cards community call-February 2019
Microsoft 365 Developer
2 PowerApps community call-February 2019
PowerApps community call-February 2019
Microsoft 365 Developer
3 Microsoft Graph community call-March 2019
Microsoft Graph community call-March 2019
Microsoft 365 Developer
4 Office Add ins community call-March 2019
Office Add ins community call-March 2019
Microsoft 365 Developer
5 PowerApps community call-March 2019
PowerApps community call-March 2019
Microsoft 365 Developer
6 Microsoft Teams community call-March 2019
Microsoft Teams community call-March 2019
Microsoft 365 Developer
7 Using React and Office UI Fabric React Components
Using React and Office UI Fabric React Components
Microsoft 365 Developer
8 Build Microsoft Teams customization using SharePoint Framework
Build Microsoft Teams customization using SharePoint Framework
Microsoft 365 Developer
9 Microsoft Graph community call-April 2019
Microsoft Graph community call-April 2019
Microsoft 365 Developer
10 Using Change Notifications and Track Changes with Microsoft Graph
Using Change Notifications and Track Changes with Microsoft Graph
Microsoft 365 Developer
11 Office Add Ins community call-April 2019
Office Add Ins community call-April 2019
Microsoft 365 Developer
12 Adaptive Cards community call-April 2019
Adaptive Cards community call-April 2019
Microsoft 365 Developer
13 Microsoft Teams community call-April 2019
Microsoft Teams community call-April 2019
Microsoft 365 Developer
14 Getting Started with Microsoft Graph and Application Registration
Getting Started with Microsoft Graph and Application Registration
Microsoft 365 Developer
15 Getting Started with Microsoft Graph and the Directory API
Getting Started with Microsoft Graph and the Directory API
Microsoft 365 Developer
16 Getting Started with Microsoft Graph and Microsoft Teams
Getting Started with Microsoft Graph and Microsoft Teams
Microsoft 365 Developer
17 Getting Started with Microsoft Graph Explorer
Getting Started with Microsoft Graph Explorer
Microsoft 365 Developer
18 Getting Started with Microsoft Graph
Getting Started with Microsoft Graph
Microsoft 365 Developer
19 Getting Started with Microsoft Graph and Mail API
Getting Started with Microsoft Graph and Mail API
Microsoft 365 Developer
20 Getting Started with Microsoft Graph and Office 365 Groups
Getting Started with Microsoft Graph and Office 365 Groups
Microsoft 365 Developer
21 Getting Started with Microsoft Graph and the Calendar API
Getting Started with Microsoft Graph and the Calendar API
Microsoft 365 Developer
22 Getting Started with the Microsoft Graph Toolkit
Getting Started with the Microsoft Graph Toolkit
Microsoft 365 Developer
23 Getting Started with Microsoft Graph and JavaScript SDKs
Getting Started with Microsoft Graph and JavaScript SDKs
Microsoft 365 Developer
24 Getting Started with Microsoft Graph and .NET SDKs
Getting Started with Microsoft Graph and .NET SDKs
Microsoft 365 Developer
25 Discover how businesses can be more productive with Microsoft 365 integrations
Discover how businesses can be more productive with Microsoft 365 integrations
Microsoft 365 Developer
26 Adaptive Cards community call-May 2019
Adaptive Cards community call-May 2019
Microsoft 365 Developer
27 Office Add-ins community call-May 2019
Office Add-ins community call-May 2019
Microsoft 365 Developer
28 Why We Built on Microsoft Teams
Why We Built on Microsoft Teams
Microsoft 365 Developer
29 Microsoft Teams community call-May 2019
Microsoft Teams community call-May 2019
Microsoft 365 Developer
30 Microsoft Graph community call-June 2019
Microsoft Graph community call-June 2019
Microsoft 365 Developer
31 Build Angular SPA's with Microsoft Graph - June 2019
Build Angular SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
32 Office Add -ins community call-June 2019
Office Add -ins community call-June 2019
Microsoft 365 Developer
33 Build Android native apps with the Microsoft Graph Android SDK - June 2019
Build Android native apps with the Microsoft Graph Android SDK - June 2019
Microsoft 365 Developer
34 Build MVC apps with Microsoft Graph - June 2019
Build MVC apps with Microsoft Graph - June 2019
Microsoft 365 Developer
35 Authenticate and connect with Microsoft Graph - June 2019
Authenticate and connect with Microsoft Graph - June 2019
Microsoft 365 Developer
36 Microsoft Graph data connect - June 2019
Microsoft Graph data connect - June 2019
Microsoft 365 Developer
37 Change notifications with Microsoft Graph - June 2019
Change notifications with Microsoft Graph - June 2019
Microsoft 365 Developer
38 Build iOS native apps with the Microsoft Graph REST API - June 2019
Build iOS native apps with the Microsoft Graph REST API - June 2019
Microsoft 365 Developer
39 Build Node.js Express apps with Microsoft Graph - June 2019
Build Node.js Express apps with Microsoft Graph - June 2019
Microsoft 365 Developer
40 Smart UI with Microsoft Graph - June 2019
Smart UI with Microsoft Graph - June 2019
Microsoft 365 Developer
41 Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Leveraging the Microsoft Graph API from the SharePoint Framework - June 2019
Microsoft 365 Developer
42 Build UWP apps with Microsoft Graph - June 2019
Build UWP apps with Microsoft Graph - June 2019
Microsoft 365 Developer
43 Build React SPA's with Microsoft Graph - June 2019
Build React SPA's with Microsoft Graph - June 2019
Microsoft 365 Developer
44 Getting Started with Microsoft Graph and Batching
Getting Started with Microsoft Graph and Batching
Microsoft 365 Developer
45 Getting Started with Microsoft Graph and Change Notifications
Getting Started with Microsoft Graph and Change Notifications
Microsoft 365 Developer
46 Getting Started with Microsoft Graph and Consent Permissions
Getting Started with Microsoft Graph and Consent Permissions
Microsoft 365 Developer
47 Getting Started with Microsoft Graph and Education
Getting Started with Microsoft Graph and Education
Microsoft 365 Developer
48 Getting Started with Microsoft Graph and Financials
Getting Started with Microsoft Graph and Financials
Microsoft 365 Developer
49 Getting Started with Microsoft Graph and Excel
Getting Started with Microsoft Graph and Excel
Microsoft 365 Developer
50 Getting Started with Microsoft Graph and Data Connect
Getting Started with Microsoft Graph and Data Connect
Microsoft 365 Developer
51 Getting Started with Microsoft Graph and Intune
Getting Started with Microsoft Graph and Intune
Microsoft 365 Developer
52 Getting Started with Microsoft Graph and Notifications
Getting Started with Microsoft Graph and Notifications
Microsoft 365 Developer
53 Getting Started with Microsoft Graph and OneNote
Getting Started with Microsoft Graph and OneNote
Microsoft 365 Developer
54 Getting Started with Microsoft Graph and OneDrive
Getting Started with Microsoft Graph and OneDrive
Microsoft 365 Developer
55 Getting Started with Microsoft Graph and Open Extensions
Getting Started with Microsoft Graph and Open Extensions
Microsoft 365 Developer
56 Getting Started with Microsoft Graph and Paging
Getting Started with Microsoft Graph and Paging
Microsoft 365 Developer
57 Getting Started with Microsoft Graph and Schema Extensions
Getting Started with Microsoft Graph and Schema Extensions
Microsoft 365 Developer
58 Getting Started with Microsoft Graph and Security API
Getting Started with Microsoft Graph and Security API
Microsoft 365 Developer
59 Getting Started with Microsoft Graph and Query Parameters
Getting Started with Microsoft Graph and Query Parameters
Microsoft 365 Developer
60 Getting Started with Microsoft Graph and Reporting API
Getting Started with Microsoft Graph and Reporting API
Microsoft 365 Developer

This video teaches developers how to use Microsoft Graph Explorer to build apps, including handling paging, generating code snippets, and integrating with the Microsoft Graph Toolkit and Adaptive Cards. It also covers features such as reporting issues, customizing queries, and sharing queries with colleagues. By the end of this video, developers will be able to use Microsoft Graph Explorer to build their own apps.

Key Takeaways
  1. Create a new query in Microsoft Graph Explorer
  2. Use the code snippets tab to generate code in multiple programming languages
  3. Integrate with Microsoft Graph Toolkit and Adaptive Cards
  4. Customize queries using filters
  5. Report issues and feature requests through GitHub
  6. Share queries with colleagues
  7. Use the demo tenant with admin access and sample data
💡 Microsoft Graph Explorer provides a convenient way to make Microsoft Graph REST API requests and view corresponding responses, making it easier for developers to build apps.

Related Reads

📰
Beyond console.log: Advanced Debugging Workflows That Will Save You Hours
Improve your debugging workflow with advanced techniques beyond console.log to save time and increase productivity
Medium · JavaScript
📰
cgo Overhead Dropped 30%. When Should You Actually Care?
Learn when to care about the 30% drop in cgo overhead in Go programming and how it affects performance
Medium · Programming
📰
Why Everyone is Wrong About Website Development?
Web development requires a wide range of skills beyond just generating code with tools like ChatGPT
Medium · Programming
📰
The Silent Killer in Your Node.js APIs: Mass Assignment & How to Catch It Before Production
Learn to identify and prevent mass assignment vulnerabilities in Node.js APIs, which can bypass ESLint and SonarQube checks
Medium · Programming
Up next
Indian Express Editorial Analysis by Chandan Sharma - 1 JULY 2026 | UPSC Current Affairs 2026
StudyIQ IAS
Watch →