Hi everyone, I'd like to make it clear that this video's scope is how to use Microsoft Graph API with Power Automate cloud flows. For questions related to Microsoft Graph API outside of Power Automate, please head to techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph as there are experts and program managers that monitor questions and feedback raised.
@GC in every WTF episode, I provide a written blog post which you can find in the description of the video. In my blog post you'll see that I've referenced an HTTP request from this documentation docs.microsoft.com/en-us/graph/api/user-list-directreports?view=graph-rest-1.0&tabs=http#http-request I also test beforehand using the Microsoft Graph Explorer which provides you the ability to test the different APIs available developer.microsoft.com/en-us/graph/graph-explorer
Hi Riyal, late reply - I checked the Microsoft documentation and there is a Graph API for Exchange Online docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/office-365-rest-apis-for-mail-calendars-and-contacts
I was trying to use the graph API with application permissions with my personal Microsoft account to get files in my OneDrive account. But when a register an app, set up secrets and choose the appropriate permissions the option to grant admin consent is not there. Do you have any ideia why?
Hi @Reyne Marcelino, I have not come across that issue before. Check if your user account that you're signed in as in the Azure portal has one of the following roles explained in this documentation - docs.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent#prerequisites
Graph API using Client Credentials Flow - does not need a real human user typing on keyboard to access MS Graph API. Azure AD Authentication - needs a real human user typing on keyboard their username and password and OTP to access MS Graph API.
Hi and thanx for the great info. I was wondering if you have any information/video about sending an email throw Graph client as an aplication? I've tried using the graph client documentation and I authenticate with the clientId, secret, tenant and .default or ./Mail.Send scope and then I try to send an email with the graphClient.users("userUid").sendMail but I can't get it to work. Thanx
I don't have a video or information on sending an email through the Graph API using an application. Are you attempting to send from an HTTP request action in Power Automate? Or through another form of code/programming?
Hi so Good tnx for video but i have important question how i can change outlook user API and Restor my Backup .and another my question is that it need connect to server Host or no????? .thanks
Hi Amirmohamad, late reply - For questions related to Microsoft Graph API outside of Power Automate, please head to techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph as there are experts and program managers that monitor questions and feedback raised.
can I extract call history of an employee or find out somehow the call time stamps from all employees? I don't manage to find the correct command (it's not the callRecords segment)
Hi @FabulaM24 [GER] I wasn't sure what you meant by call time stamps so I asked a friend who then explained to me it most likely means call data. I had a look at the documentation and I believe this is what you're after - docs.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-1.0&tabs=http#example-1-get-basic-details or docs.microsoft.com/en-us/graph/api/callrecords-session-list?view=graph-rest-1.0&tabs=http#example-1-get-session-list Review the sample response, you'll see startDateTime and endDateTime, along with the caller or organiser user details which can be found in the identity property. If this is not what you're after then the next best place to ask your question is docs.microsoft.com/en-us/answers/topics/microsoft-graph-teamwork.html Questions asked are monitored by the Microsoft Graph API team
No details about what is power automate,...Is this the only tool available to test graph API? It looks power automate charges is $15 per user. So I could not follow the exercise. :(
Hi Karikalan, late reply - There is the Microsoft Graph Explorer which provides you the ability to test the different APIs available developer.microsoft.com/en-us/graph/graph-explorer
Hi @munandi sichali I haven't tried and this was the only documentation I could find - docs.microsoft.com/en-us/graph/api/resources/authenticationmethods-overview The other place you can ask your question is in the Microsoft Graph group. There are experts and program managers that monitor the questions raised techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph
Hi @Paul-Sebastian Manole check out this blog post by Laura - laurakokkarinen.com/calling-microsoft-graph-from-microsoft-flow-and-other-daemon-apps-with-delegated-permissions/
Hi Vlad Ryazantsev, I'm having troubles understanding what you meant by "my account which connected to another group(not mine)." Are you able to please explain your question further so that I understand? Thank you.
@@ElaizaBenitez I believe he wants to know if this is possible when you don't have access to manage the Azure Apps in your organization. At leasts that's my problem and I would like to know as well.
Hi @Seaman Munis, I'm not the best person to answer this question. I did find this documentation that may be of value to you - docs.microsoft.com/en-us/graph/auth-v2-service. You can also post your question in the Microsoft Graph API community forum which is also monitored by the Microsoft product team - techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph
Hi Logan and Guy, late reply - If I knew I would be able to answer your question but I'm not a developer. I did take a look at the documentation though and there's a toolkit - docs.microsoft.com/en-us/graph/toolkit/overview That may be a good starting point to check out. Sorry I'm not much of help here but thank you for dropping by and asking your question, appreciate it.
I don't understand what your comment means without further context. The scope of the episode is authenticating as an application with cloud flows in Power Automate. Cloud flows are executed based on the environment they reside in and if the trigger is associated to that environment. When it comes to using cloud flows with Microsoft Dataverse/Dynamics 365 an additional layer of access is defined by the access levels of privileges in security roles. If the Microsoft Dataverse/Dynamics 365 user does not have privileges to trigger the cloud flow based on the table referenced as defined by their security role then it's fine.
Hi everyone, I'd like to make it clear that this video's scope is how to use Microsoft Graph API with Power Automate cloud flows. For questions related to Microsoft Graph API outside of Power Automate, please head to techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph as there are experts and program managers that monitor questions and feedback raised.
So much clear to understand!! Thanks!!!
Excellent video! It was very helpful to learn about Microsoft Graph API. Thank you!
Great information, exactly what I was looking for. Thanks!
From where you got that URL (8:40) which you copy pasted from note pad?
@GC in every WTF episode, I provide a written blog post which you can find in the description of the video. In my blog post you'll see that I've referenced an HTTP request from this documentation docs.microsoft.com/en-us/graph/api/user-list-directreports?view=graph-rest-1.0&tabs=http#http-request I also test beforehand using the Microsoft Graph Explorer which provides you the ability to test the different APIs available developer.microsoft.com/en-us/graph/graph-explorer
Tip : Mask the Tenant /client ID , if you are still using this tenant. BTW , nice session
many thanks
hello does Exchange Online have graph api ? if any then which connector i should use
Hi Riyal, late reply - I checked the Microsoft documentation and there is a Graph API for Exchange Online docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/office-365-rest-apis-for-mail-calendars-and-contacts
I was trying to use the graph API with application permissions with my personal Microsoft account to get files in my OneDrive account. But when a register an app, set up secrets and choose the appropriate permissions the option to grant admin consent is not there. Do you have any ideia why?
Hi @Reyne Marcelino, I have not come across that issue before. Check if your user account that you're signed in as in the Azure portal has one of the following roles explained in this documentation - docs.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent#prerequisites
Advantage of graph Api authentication vs Azure AD authentication ?
Graph API using Client Credentials Flow - does not need a real human user typing on keyboard to access MS Graph API.
Azure AD Authentication - needs a real human user typing on keyboard their username and password and OTP to access MS Graph API.
@@runmadhu2161 Thanks
Your video is really helpful, Thanks indeed! Can we reset user password using above method?
Hi Vishh, late reply - I have not tried how to reset a user's password using Microsoft Graph API and Power Automate cloud flows.
Hi and thanx for the great info. I was wondering if you have any information/video about sending an email throw Graph client as an aplication? I've tried using the graph client documentation and I authenticate with the clientId, secret, tenant and .default or ./Mail.Send scope and then I try to send an email with the graphClient.users("userUid").sendMail but I can't get it to work. Thanx
I don't have a video or information on sending an email through the Graph API using an application. Are you attempting to send from an HTTP request action in Power Automate? Or through another form of code/programming?
@@ElaizaBenitez sorry for the delay. It finally works. Some user permissions weren't enabled. But your video helped me a lot. 👏
Thanks so much
Hi so Good tnx for video but i have important question how i can change outlook user API and Restor my Backup .and another my question is that it need connect to server Host or no?????
.thanks
Hi Amirmohamad, late reply - For questions related to Microsoft Graph API outside of Power Automate, please head to techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph as there are experts and program managers that monitor questions and feedback raised.
@@ElaizaBenitez tnx dear
I want to push data to a microsoft teams channel from twilio. How can I achieve that?
can I extract call history of an employee or find out somehow the call time stamps from all employees? I don't manage to find the correct command (it's not the callRecords segment)
Hi @FabulaM24 [GER] I wasn't sure what you meant by call time stamps so I asked a friend who then explained to me it most likely means call data. I had a look at the documentation and I believe this is what you're after - docs.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-1.0&tabs=http#example-1-get-basic-details or docs.microsoft.com/en-us/graph/api/callrecords-session-list?view=graph-rest-1.0&tabs=http#example-1-get-session-list Review the sample response, you'll see startDateTime and endDateTime, along with the caller or organiser user details which can be found in the identity property. If this is not what you're after then the next best place to ask your question is docs.microsoft.com/en-us/answers/topics/microsoft-graph-teamwork.html Questions asked are monitored by the Microsoft Graph API team
No details about what is power automate,...Is this the only tool available to test graph API? It looks power automate charges is $15 per user. So I could not follow the exercise. :(
Hi Karikalan, late reply - There is the Microsoft Graph Explorer which provides you the ability to test the different APIs available developer.microsoft.com/en-us/graph/graph-explorer
What screen recording software do you use?
Camtasia - www.techsmith.com/video-editor.html
Hello Elaiza, Can I use the settup to connect to my users on my app and authenticate them using microsoft authenticator app?
Hi @munandi sichali I haven't tried and this was the only documentation I could find - docs.microsoft.com/en-us/graph/api/resources/authenticationmethods-overview The other place you can ask your question is in the Microsoft Graph group. There are experts and program managers that monitor the questions raised techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph
What about authenticating as an application but using delegate permissions? How do you give/get those permissions?
Hi @Paul-Sebastian Manole check out this blog post by Laura - laurakokkarinen.com/calling-microsoft-graph-from-microsoft-flow-and-other-daemon-apps-with-delegated-permissions/
So its API only for admins? If i try this with my account which connected to another group(not mine) will this works?
Hi Vlad Ryazantsev, I'm having troubles understanding what you meant by "my account which connected to another group(not mine)." Are you able to please explain your question further so that I understand? Thank you.
@@ElaizaBenitez I believe he wants to know if this is possible when you don't have access to manage the Azure Apps in your organization. At leasts that's my problem and I would like to know as well.
how can i get user token when user login into portal using azure id so i can use that token for further process using graph api
Hi @Seaman Munis, I'm not the best person to answer this question. I did find this documentation that may be of value to you - docs.microsoft.com/en-us/graph/auth-v2-service. You can also post your question in the Microsoft Graph API community forum which is also monitored by the Microsoft product team - techcommunity.microsoft.com/t5/microsoft-graph/bd-p/OfficeGraph
How do I do this in code though?
Not a clue, I am trying to find out too!!
Hi Logan and Guy, late reply - If I knew I would be able to answer your question but I'm not a developer. I did take a look at the documentation though and there's a toolkit - docs.microsoft.com/en-us/graph/toolkit/overview That may be a good starting point to check out. Sorry I'm not much of help here but thank you for dropping by and asking your question, appreciate it.
Really admin consent not useful because active directory used across organisations
I don't understand what your comment means without further context.
The scope of the episode is authenticating as an application with cloud flows in Power Automate. Cloud flows are executed based on the environment they reside in and if the trigger is associated to that environment. When it comes to using cloud flows with Microsoft Dataverse/Dynamics 365 an additional layer of access is defined by the access levels of privileges in security roles. If the Microsoft Dataverse/Dynamics 365 user does not have privileges to trigger the cloud flow based on the table referenced as defined by their security role then it's fine.