Call Graph API in PowerApps

Requirements

We build PowerApps for the internal organization through the Canvas Model. And we need to read some useful information from the Graph API for user properties.

Solution

You have multiple way to read the User on The Office 365.

  • Use the User function. If you just need email and name you can use this. You can read the detail here
  • Use the Office365User. If you need access more data such as Photo, Manager, hire date, and many more. You can read the detail here
  • Use the Graph API. If you need access to active directory data. You can read the detail here

Limitation

When call graph API or read user information you need to understand the limitation:

  • There is some field in v2 cannot be updated through Office 365 profile, such as hire date, etc. Therefore, you need to store and read through your PowerApps.
  • Many functions are read only, you cannot save the new value.
  • When you need, history of your update you need to save the record for your Application into SharePoint List or Excel.
blog comments powered by Disqus

Topics Highlights

About @ridife

This blog will be dedicated to integrate a knowledge between academic and industry need in the Software Engineering, DevOps, Cloud Computing and Microsoft 365 platform. Enjoy this blog and let's get in touch in any social media.

Xbox

Month List

Visitor