From 47dd4d7ed998472299b7f4a86aa892e5284ff8f8 Mon Sep 17 00:00:00 2001 From: rpakala-ms <132002643+rpakala-ms@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:45:56 -0700 Subject: [PATCH 1/3] Update throttling-limits.md Updating Base Resource Unit Cost for directoryObjects/getByIds and getObjectsById from 3 to 5. Also, a note stating: "Using $select for directoryObjects/getByIds and getObjectsById decreases cost by 2" --- concepts/throttling-limits.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/concepts/throttling-limits.md b/concepts/throttling-limits.md index 30cf0260688..ebc35b8b916 100644 --- a/concepts/throttling-limits.md +++ b/concepts/throttling-limits.md @@ -138,9 +138,9 @@ The following table lists base request costs. Any requests not listed have a bas | GET | `applications` | 2 | 0 | | GET | `applications/{id}/extensionProperties` | 2 | 0 | | GET | `contracts` | 3 | 0 | -| POST | `directoryObjects/getByIds` | 3 | 0 | +| POST | `directoryObjects/getByIds` | 5 | 0 | | GET | `domains/{id}/domainNameReferences` | 4 | 0 | -| POST | `getObjectsById` | 3 | 0 | +| POST | `getObjectsById` | 5 | 0 | | GET | `groups/{id}/members` | 3 | 0 | | GET | `groups/{id}/transitiveMembers` | 5 | 0 | | POST | `isMemberOf` | 4 | 0 | @@ -176,6 +176,8 @@ Other factors that affect a request cost: > [!NOTE] > A request cost can never be lower than 1. Any request cost that applies to a request path starting with `me/` also applies to equivalent requests starting with `users/{id | userPrincipalName}/`. +> +> Using `$select` for `directoryObjects/getByIds` and `getObjectsById` decreases cost by 2 ### Additional headers From c5df029d058460ddeff51da12252017839ef263b Mon Sep 17 00:00:00 2001 From: Laura Graham Date: Wed, 24 Apr 2024 17:38:35 -0700 Subject: [PATCH 2/3] Edit. --- concepts/throttling-limits.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/concepts/throttling-limits.md b/concepts/throttling-limits.md index ebc35b8b916..8430522b935 100644 --- a/concepts/throttling-limits.md +++ b/concepts/throttling-limits.md @@ -175,9 +175,8 @@ Other factors that affect a request cost: - Creating a user in a Microsoft Entra ID B2C tenant increases cost by 4 > [!NOTE] -> A request cost can never be lower than 1. Any request cost that applies to a request path starting with `me/` also applies to equivalent requests starting with `users/{id | userPrincipalName}/`. -> -> Using `$select` for `directoryObjects/getByIds` and `getObjectsById` decreases cost by 2 +> - A request cost can never be lower than 1. Any request cost that applies to a request path starting with `me/` also applies to equivalent requests starting with `users/{id | userPrincipalName}/`. +> - Using `$select` for `directoryObjects/getByIds` and `getObjectsById` decreases the cost by 2. ### Additional headers From 5e14e07c0edf87c1a1963a191f1cdf80e5f5870f Mon Sep 17 00:00:00 2001 From: rpakala-ms <132002643+rpakala-ms@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:48:13 -0700 Subject: [PATCH 3/3] Update throttling-limits.md updated based on confirmation from Neehar Mandaram(nemandar@microsoft.com) --- concepts/throttling-limits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/throttling-limits.md b/concepts/throttling-limits.md index 8430522b935..a876df45065 100644 --- a/concepts/throttling-limits.md +++ b/concepts/throttling-limits.md @@ -176,7 +176,7 @@ Other factors that affect a request cost: > [!NOTE] > - A request cost can never be lower than 1. Any request cost that applies to a request path starting with `me/` also applies to equivalent requests starting with `users/{id | userPrincipalName}/`. -> - Using `$select` for `directoryObjects/getByIds` and `getObjectsById` decreases the cost by 2. +> - Using `$select` for `directoryObjects/getByIds` and `getObjectsById` will result in 2 ResourceUnits. ### Additional headers