I would like to query Graph from PowerApps by providing a Group DisplayName or mailNickName.
Currently this works in Graph Explorer - https://graph.microsoft.com/v1.0/groups?$filter=mailNickname eq '<nickname>' but I can't find any documentation to use the Office365.Groups.HttpRequest("https://graph.microsoft.com/v1.0/groups?$filter=mailNickname eq '<nickname>'", "GET", file) to make it work.
What am I supposed to use for 'file'?
Where do I find information about how to structure the formula in PowerApps? I am trying to use instructions from this docs.microsoft.com page: Office 365 Groups - Connectors | Microsoft Docs
Hi @Justin-GOV ,
Unfortunately, this parameter (file) has not been introduced in the documentation.
I suggest you use Office365.Groups.HttpRequest action in flow.
Thank you for your reply @v-xiaochen-msft. Do you have an example where Office365.Groups.HttpRequest works? It seems the 'file' parameter is required. I can't use the action because it's expecting 'file.'
Specifically, I get the error: 'Invalid number of arguments: received 2, expected 3-4.'
I also took a look at this connector. The "file" property seems to be the request body. But unfortunately, there is no out of the box way to work with the result. Looking at the monitor results it clearly shows that the request is correct and also that there is a propper result. I have used:
And varMe is set to "true".
Look at this excellent video to see how you could get a propper result which you could use in PowerApps.
Thanks to @PowerRanger and the excellent video he provided ,
I was able to create a working example
and also get more properties from the Get User Profile V2 for PowerApps - when using $select
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!