Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
An introduction to calling Microsoft Graph within Power Automate Part two of a four-part series of blogs |
---|
Microsoft Graph is the (strange and misleading) name for the gateway provided by Microsoft to get at all of the things stored in your 365 cloud (emails, files, users, groups, teams and much more). This tutorial explains what Graph is in more detail, and shows how you can call Graph from within Power Automate flows.
|
Microsoft have provided an excellent tool called Graph Explorer which lets you see what information you can retrieve using Graph:
The Graph Explorer home page.
Below is how to use this to see what data Graph will provide to you (and in what format), using the example of listing out the teams of which you are a member.
I believe that (rather meanly) you have be signed in to a 365 account to use this service (although if you haven't got a 365 account it's difficult to see why you'd want to learn about Microsoft Graph ...).
The first thing to do is to choose what you want to retrieve:
For our example (listing the teams that you're a member of) the category is obvious.
You can then choose the individual item:
Again, this is also self-evident for our example.
The next thing to do is to run this test query:
Click on this button to run your query.
You should then have a look to see what information you can usefully pull out of the JSON returned from this query:
This imaginary person belongs to (among others) the HR Taskforce team.
Finally, copy the URL used by Microsoft Graph to retrieve this data:
You'll need to use this URL in your flow in the next part of this blog.
The URLs required for accessing Graph are impressively simple - it's the authentication you'll need to provide which can be the stumbling block, although the next part of this blog shows a couple of ways to avoid this.
Parts of this blog |
---|
|
Some other pages relevant to the above blogs include:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.