Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

How do you use the Office365.Groups.HttpRequest(URI, Method, file)

I would like to query Graph from PowerApps by providing a Group DisplayName or mailNickName.


Currently this works in Graph Explorer -$filter=mailNickname eq '<nickname>' but I can't find any documentation to use the Office365.Groups.HttpRequest("$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 page: Office 365 Groups - Connectors | Microsoft Docs

Community Support
Community Support

Hi @Justin-GOV ,


Unfortunately, this parameter (file) has not been introduced in the documentation.

I suggest you use Office365.Groups.HttpRequest action in flow.


Best Regards,


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.'


Thanks again,


Community Support
Community Support

Hi @Justin-GOV ,


No. I don’t know what to fill in the parameter.  😞


Best Regards,



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.

Call MS Graph API Directly From Power Apps - YouTube





​Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item.

If the content was useful in other ways, please consider giving it Thumbs Up.

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





Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,792)