However, when I try to run this in Power App using this formula: Set(searchResults,Office365Groups.HttpRequest("https://graph.microsoft.com/v1.0/search/query","POST",varFile))
It appears to have this error: Office365Groups.HttpRequestV2 failed: Contract failure: invalid data uri format.
Please advise me on what to do, thank you so much!
The OfficeGroups connector doesn't support the Search Object in MS Graph. It only supports the /groups/ resource. You'll need to use Power Automate and the regular HTTP connector to run that MS Graph query. See description here: Office 365 Groups - Connectors | Microsoft Learn
----------------------------------------------------------------------------------
If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
Paul Papanek Stork, MVP Blog: https://www.dontpapanic.com/blog
Was this reply helpful?YesNo
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.