web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / HTTP Request with cust...
Power Apps
Suggested Answer

HTTP Request with custom header "ConsistencyLevel:eventual"

(0) ShareShare
ReportReport
Posted on by 13
This works in Microsoft Graph Explorer by adding a custom header "ConsistencyLevel: eventual"
However, how do I apply the same in Power Apps?

Basically, I'm trying to get all the managers in the same team. 
 
Set(varOtherManagerInTeam,
    Office365Users.HttpRequest(
        Concatenate("https://graph.microsoft.com/v1.0/users?$count=true&$filter=department eq '", 
varMyManagerDepartment, "' and onPremisesExtensionAttributes/extensionAttribute4 ne null&$select=displayName"),
            "GET",
             ""
        )
        );
Is there a way without adding a premium custom connector in Power Apps? In Power Apps, after the last "" for the HttpRequest, it looks like can add custom header but I have not found a site to explain how to use it.


So i tried adding the custom header but still got the same error in Live Monitor. 
Set(varOtherManagerInTeam,
    Office365Users.HttpRequest(
        Concatenate("https://graph.microsoft.com/v1.0/users?$count=true&$filter=department eq '", varMyManagerDepartment, "' and onPremisesExtensionAttributes/extensionAttribute4 ne null&$select=displayName"),
        "GET",
        "", {ConsistencyLevel:"eventual"}
    )
);
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,685 Super User 2025 Season 2 on at
    Hi @Sei
     
    Unfortunately yes, the recommendation is to use either a Custom HTTP Connector for this or the premium (custom are premium too) for this
     
    Its not really intended to use the Office365Users one.
     
    I am sorry :-( it just doesn't support all actions you want.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 361

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 339 Super User 2025 Season 2

Last 30 days Overall leaderboard