From the course: Integrate Microsoft Graph in Your Applications
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Leverage official docs in your code
From the course: Integrate Microsoft Graph in Your Applications
Leverage official docs in your code
- [Instructor] Now, I'd like to show you some practical tips and tricks when you're discovering and finding your way through the massive Graph API. And that's the purpose of this video. I just showed you a very interesting example of reading the user's joined teams, and I walked you through practically how I explored it through the API, and it told me exactly what scopes I needed, and I was able to grant the scopes in my code work. I wish real world was as simple. Thing is, once you find the API over here, maybe the error message won't tell you exactly the scopes you need. So one tip and trick I'd like to share with you, which I've already mentioned, is go to Graph Explorer, and here, look for whatever API you are interested in. For example, list items in my drive. And click on Modify permissions and it'll show you exactly the permissions or scopes you need to grant in ascending order. So I'll tell you exactly which one of these is the least privileged permission, and that's the one…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.