
I currently have an app that pulls a list from SPO.
I update that list with Microsoft Automate, using Graph API to get Teams Presence.
I was thinking of just putting the Graph API straight into the Power App.
Can you do this.....
My app has the SPO List as a Data Source. I use a Gallery with labels to create what looks like a table.
For example, I have Columns Name, and TeamsID.
I would create a gallery with labels for Name, then create two more Labels representing Availability and Activity.
Can Microsoft Graph API be called somewhere?
when calling teams presence, You have to provide the TeamsID. When you run it, it pulls back three things:
Availability
Activity
ObjectID (TeamsID)
Is it possible to create another label, that runs the MSGraph API, based on the row in the SPO List, corresponding to the Teams ID, and updates the label(s) with Availability and Activity, on same line as the Name and TeamsID?
Hi @lardo5150 :
I'm afraid that you can not directly call the Graph API in a canvas app.I suggest you create a custom connector to achieve this requirement.
1\Create a custom connector(Using the Graph API)
2\Add a connection in you app(Using the custom connector you created in step 1)
3\Use the connection to call the Graph API
I think this link will help you a lot:
How to connect Microsoft Graph API in PowerApps
Best Regards,
Bof