Skip to main content

Notifications

Community site session details

Community site session details

Session Id : v3fJsW4IP2BrDFMbDzXjYB

Call MS Graph API Directly From Power Apps

DeepakS Profile Picture Posted 06 Oct 2021 by DeepakS 2,301 Most Valuable Professional

Hello Friends,

Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It exposes REST APIs and client libraries to access data on the following Microsoft cloud services:

1) Microsoft 365 core services: Bookings, Calendar, Delve, Excel, Microsoft 365 compliance eDiscovery, Microsoft Search, OneDrive, OneNote, Outlook/Exchange, People (Outlook contacts), Planner, SharePoint, Teams, To-Do, Workplace Analytics.

2) Enterprise Mobility and Security services: Advanced Threat Analytics, Advanced Threat Protection, Azure Active Directory, Identity Manager, and Intune.

3) Windows 10 services: activities, devices, notifications, Universal Print.

4) Dynamics 365 Business Central.

 

In this video, I will show you how you can call MS Graph API from Power App. You will learn the following:

1) How to open Power App in VS Code

2) Call MSGraph API using the "HTTP with Azure AD" connector

3) Call MSGraph API using Office 365 Groups "send HTTP request" action

 

Regards,

Deepak S

 

 

Categories:

Canvas Apps General PowerApps

Comments

  • landonjochim Profile Picture landonjochim 256
    Posted 02 Feb 2024 at 16:26:05
    Call MS Graph API Directly From Power Apps

    Did you ever get this figured out? I am having the same issue.

  • Christoph-hh Profile Picture Christoph-hh 46
    Posted 16 Jun 2023 at 13:00:27
    Call MS Graph API Directly From Power Apps

    Hi Deepak, how it works with comment fields in SharePoint ?

  • newsh Profile Picture newsh
    Posted 29 Jan 2023 at 11:20:27
    Call MS Graph API Directly From Power Apps

    Hi @DeepakS ,

     

    do you know how to compose the body to do a post or patch action? For example I want to add a new contact.

     

     

  • adambu Profile Picture adambu Microsoft Employee
    Posted 29 Sep 2022 at 18:07:42
    Call MS Graph API Directly From Power Apps

    Hi Deepak,

     

    When I follow your method exactly, I receive this from Power Apps: 

    "error": {
              "code""BadRequest",
              "message""Resource not found for the segment 'v1.0'.",
              "innerError": {
                "date""2022-09-29T16:26:33",
                "request-id""51fec08c-f067-4a9f-80ee-bb337db5dbe7",
                "client-request-id""51fec08c-f067-4a9f-80ee-bb337db5dbe7"
              }
    But when I copy and paste the URI with all the expressions already resolved it works perfectly in Graph Explorer.  So clearly something is going on internally at the Power Apps endpoint /invoke.  I can't get any information that leads me to any resolution.  Can you help me?