'How can I change the maximum number of logged-in users in ADB2C?
I am creating a login screen with ADB2C. I has two questions.
1:I want to limit the number of simultaneously active users to 150.(Maximum number of simultaneous connections) Where can I set it up?
2:I want to display an error when the configured limit of active users is exceeded. Where can I set this up as well?
thank you.
Solution 1:[1]
AFAIK, In case of azure ad B2C ,limiting concurrent active users is not yet supported.
According to token-issuance-rate
Each type of User Flow provides a unique user experience and will consume a different number of requests. The token issuance rate of a User Flow is dependent on the number of requests consumed by both the static and dynamic endpoints.
If you already knew the users characteristics and want to restrict users based on that , the recommended way to control the access in Azure B2C is defining custom attributes and check the claims in token. If the expected claim is included, you allow the user to continue.
You can check and handle the possibility of microsoft graph throttling from this link
Throttling limits the number of concurrent calls to a service to prevent overuse of resources. Microsoft Graph is designed to handle a high volume of requests. When throttling occurs, Microsoft Graph returns HTTP status code 429 (Too many requests)
References:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | kavyasaraboju-MT |

