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",
""
)
);
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"}
)
);


Report
All responses (
Answers (