web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to connect Microso...
Power Apps
Unanswered

How to connect Microsoft graph API by using CRM plug-in

(0) ShareShare
ReportReport
Posted on by 96

We have to call the API Using Plugins.
We'd need to call it upon an event in the model driven app. E.g. model driven app user selects a user from a lookup. The system takes the selected user and uses Graph API to get the Employee ID of that user from Azure AD.
The system then Saves the fetched Employee ID in to a table column within Data verse.

 

Each and every response is appreciated. Thank you

I have the same question (0)
  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Dishen,

     

    Have you looked at the Custom API functionality?   https://the365bit.com/2021/04/06/microsoft-dataverse-custom-apis/

    Not sure if this will help or not but thinking you can use this and then leverage the graph API in your custom API.  https://docs.microsoft.com/en-us/graph/sdks/create-requests?tabs=CS 

     

    Another (different) approach is to write a flow to update this field on users whenever the user is added to the dataverse.  This way it can be event driven and the Power Automate flow could just connect and pull this information in and you could update the table respectively.  Just a thought...

     

    Hope this helps.  Please accept if answers your question or Like if helps in any way.


    Thanks,


    Drew 

  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Dishen,

    To clarify, Custom APIs is just a custom message (e.g. like create or update), so not really relevant to solve this... The issue is with traditional plugins where we can't reference 3rd parties assemblies or other 1st parties (Microsoft) assemblies. The key to to have to have Azure aware plugins which you can reference anything you like (i.e. graph API). Then how you want to trigger those Azure aware plugins is up to you, with a Custom API or out-of-the-box messages (like create or update).

    More on Azure aware plugins: https://docs.microsoft.com/powerapps/developer/data-platform/org-service/samples/azure-aware-custom-plugin 

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard