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

Announcements

News and Announcements icon
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,978 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
11manish Profile Picture

11manish 628

#3
Valantis Profile Picture

Valantis 604

Last 30 days Overall leaderboard