Announcements
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
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
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 525 Most Valuable Professional
Haque 273
Kalathiya 232 Super User 2026 Season 1