No video

How to use Microsoft Graph API in Power Automate

  Рет қаралды 9,744

Akash Sharma

Akash Sharma

Күн бұрын

Microsoft Graph API offers a single endpoint to connect to data from various services. Power Automate (earlier MS Flow) enables to design powerful workflows. Calling the Graph API from Power Automate Flow opens a wide range of possibilities. One scenario could be to get the things done with application permissions, which otherwise cannot work under user delegated permissions.
In the video, I am demonstrating an example where I am calling Graph API from Power Automate Flow.
✅ More Power Automate tutorial details: docs.microsoft...
✅ Here is a Power Automate collection for education: emea.flow.micr...
✅ Here is Power automate licensing details: docs.microsoft...
✅ Here is more information for App-Only authentication: docs.microsoft...
✅ Here is microsoft article of Graph API I used in the video: docs.microsoft...
#powerautomate, #MSGraphApi #GraphApi #AADUsers #App-OnlyAuthentication

Пікірлер: 31
@conaxlearn8566
@conaxlearn8566 2 жыл бұрын
The content of this vid is precious.
@bignate515
@bignate515 2 жыл бұрын
You only need one of the permissions - not all of them. From a cyber perspective, you should always choose the least permissions: user.read in this case.
@snehagoswami8697
@snehagoswami8697 3 жыл бұрын
Thanks for explaining in such an easy way.
@O365Academy
@O365Academy 3 жыл бұрын
Most welcome 😊
@profglac
@profglac Жыл бұрын
Thanks so much
@trantri6158
@trantri6158 3 жыл бұрын
Thanks! Next videos you should zoom in for bigger size to see. It would be great!!!
@kmuralikrishna1582
@kmuralikrishna1582 Жыл бұрын
Really appreciate.. But when I share this app with azure ad guest users it's failed.. because we used authentication. But for domain users can able to authenticate. How it will helpful for guest users as well .. I mean they should access and get required data from azure ad
@furkankurt5331
@furkankurt5331 2 жыл бұрын
Hey mate. How can I provision my users by using graph API and this integration into the SQL database?
@MsDEAD27End
@MsDEAD27End 2 жыл бұрын
Thanks for this videos really help me a lot By the way, exist a way to create a tab type Tasks Planner in Microsft team with this HTTP of PowerAutomate? i try that a lot but i can t you know how do that?
@O365Academy
@O365Academy 2 жыл бұрын
You can find the option in graph api. I will share asap. A little busy nowadays
@O365Academy
@O365Academy 2 жыл бұрын
var planURL = "tasks.office.com/"+tenant+"/Home/PlannerFrame?page=7&planId=" + planid; var json = new JObject(); json.Add("name", tabName.Replace(" ", "%20")); json.Add("displayName", tabName); json.Add("teamsAppId", "com.microsoft.teamspace.tab.planner"); var configjson = new JObject(); configjson.Add("entityId", planid); configjson.Add("contentUrl", planURL); configjson.Add("removeUrl", planURL); configjson.Add("websiteUrl", planURL); json.Add("sortOrderIndex", "20"); json.Add("configuration", configjson);
@O365Academy
@O365Academy 2 жыл бұрын
I have created a planner tab using this. So the same thing should work for you as well
@anshuchaturvedi3775
@anshuchaturvedi3775 3 жыл бұрын
can you help to explain how to use Graph API + Power query for pagenation
@O365Academy
@O365Academy 3 жыл бұрын
As far as I know, Power query doesn't work with Json data source. So, I Don't think ms graph won't work with power query.
@johnfromireland7551
@johnfromireland7551 3 жыл бұрын
If you recreate the flow shown in O365 Academy's video you can create more Flow Actions, after it, to store the response from the HTTP into, for example, Azure Blob Storage. You would, then, query that Blob using Power BI/Power Query.
@vishaltandel87
@vishaltandel87 3 жыл бұрын
Your video is really helpful, Thanks indeed! Can we reset user password using above method?
@O365Academy
@O365Academy 3 жыл бұрын
Thanks vishh. You should be able to reset. Please follow the link below for correct api end point and app permissions. "passwordAuthenticationMethod: resetPassword - Microsoft Graph beta | Microsoft Docs" docs.microsoft.com/en-us/graph/api/passwordauthenticationmethod-resetpassword?view=graph-rest-beta&tabs=http
@johnfromireland7551
@johnfromireland7551 3 жыл бұрын
@@O365Academy I would wonder why someone would want to reset a password? What is the business case for that?!
@O365Academy
@O365Academy 3 жыл бұрын
@@johnfromireland7551 I personally haven't come across any such business requirement. Generally this is done via other applications where you have more control on what you are doing.
@johnfromireland7551
@johnfromireland7551 3 жыл бұрын
@@O365Academy I think only the user has access to their password and therefore only they can change it.
@O365Academy
@O365Academy 3 жыл бұрын
@@johnfromireland7551 the link which I have shared describes the same thing. The user resets their passwords but admin only resets it once. After the reset users were asked to enter new password when then login very next time
@jasoncalbert1393
@jasoncalbert1393 3 жыл бұрын
On set variable 2 under the function I'm not able to make out what you typed in for the function. If possible can you add what the entire string says in a reply?
@O365Academy
@O365Academy 3 жыл бұрын
Hi, I hope you mean this decodeUriComponent(body('HTTP')?['@odata.nextLink'])
@jasoncalbert1393
@jasoncalbert1393 3 жыл бұрын
@@O365Academy yes this is exactly what I needed. Thanks very much for the very helpful video
@saanvipodduturi7199
@saanvipodduturi7199 2 жыл бұрын
I have followed the same steps, But I got the error as "The specified page token value has expired and can no longer be included in your request." from second page onwards. If you can help me on this would be much appriciated! I have used &$top=999 to fetch 999 users at a time. I have 1600+ users were there.
@O365Academy
@O365Academy 2 жыл бұрын
Can you try with less number of users. Let's say top=200. Do you still get error in the second page ?
@markcuello5
@markcuello5 2 жыл бұрын
Help me
@wigglywrigglydoo
@wigglywrigglydoo 2 жыл бұрын
Lol I can't see anything.. The resolution is wayyyy high
@patricksigrist4831
@patricksigrist4831 2 жыл бұрын
A great video, thank you. However the video quality even @1080p HD on a 4k monitor is not perfect and the font size too small. It is sometimes hard to follow along, I was also not able to see what value you set when going down the condition > if yes > set variable 2 > set URL > Value > path. In one of the comment you mentioned it was "decodeUriComponent(body('HTTP')?['@odata.nextLink'])". For some reason, I don't get a second page, not sure why.
@markcuello5
@markcuello5 2 жыл бұрын
My parents are also in on it.
Power Apps Custom Connector using Microsoft Graph APIs
43:27
Cloudatica
Рет қаралды 11 М.
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 25 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 19 МЛН
Smart Sigma Kid #funny #sigma #memes
00:26
CRAZY GREAPA
Рет қаралды 19 МЛН
Managing with Microsoft Graph (and PowerShell)
33:21
John Savill's Technical Training
Рет қаралды 45 М.
REST API Calls in Power Automate - Beginners Tutorial
22:26
Anders Jensen
Рет қаралды 54 М.
What is Microsoft Graph?
23:25
Concepts Work
Рет қаралды 43 М.
How to use Microsoft Graph API in Power Automate - Beginner Tutorial
10:16
Deepak Shrivastava
Рет қаралды 35 М.
How to parse complex JSON in power automate
20:43
Alireza Aliabadi
Рет қаралды 79 М.
How To Use Microsoft Graph API In Power Automate
16:48
DS TechMirror
Рет қаралды 9 М.
How to Use Microsoft Graph APIs in Postman | Application Permission
18:42
Make A Custom Connector For Power Automate & Power Apps
1:19:31