I have a tool that reads membership of groups in AAD every 6 hours. I used the graph api groups/{id}/transitiveMembers to read the entire membership and found out the resource unit cost (x-ms-resource-unit) was higher. I updated the code to use delta query so that it reads incremental changes instead of entire membership to reduce the cost and found out that x-ms-resource-unit header is missing in delta query. Because this header is missing, the cost should go lower. However, what I noticed is that the cost is still the same as before (no changes) even though I don't read entire membership + header is missing in delta query. From the logs, I can clearly see that delta query is running on the groups. What am I missing?
Asked
Active
Viewed 67 times
0

user989988
- 3,006
- 7
- 44
- 91
-
Here is the document describes about the request headers : https://learn.microsoft.com/en-us/graph/throttling-limits#request-headers and costs per resource: https://learn.microsoft.com/en-us/graph/throttling-limits#pattern – Mehtab Siddique Oct 31 '22 at 09:17