We have to onboard a role in production, which will be assigned to almost 25,000 users, 90% of the total legal entities. Concern is with the impact on performance of server and other tasks when we execute the refresh task to provision roles for the first time. We are trying to look for alternative for role assignment to identities, which will have the least impact on performance. The role will be granting access to two to three Azure AD entitlements. Anyone can Suggest any approach.. thank you
@ishdem You have only two options: Either use IdentityRefresh task or use RolePropagation task.
I would go with IdentityRefresh task as it should be scheduled already in your environment, any role that you create it’ll assign it properly and it is a partition task, so it can spawn as many threads as configured in your Request Definition.
As it is going to provision on 25K users, you can plan this activity during off hours or over the weekend. But running it over the regular time, should also be fine if you have more servers and paritions defined like (~5 servers, 12 partitions each server, then it can spawn 60 partitions). If you are concerned about other refresh jobs that may run, then you can also limit the task to spawn limited partitions like 40 out of 60. remaining 20 partitions can be used by your other refresh jobs.
Hi @ishdem I would suggest an identity refresh task also. In an extreme case, you could limit the task to one thread and let it run for as long as it takes (possibly a day or two)
Hi @ishdem,
Adding a few points to Neel’s and Paul’s answers:
-
Role Propagation vs. Identity Refresh: Role Propagation handles changes to roles already assigned to identities (such as adding or removing entitlements). It won’t evaluate assignment rules to assign a newly created role to 25k identities. Assuming you’re using an automatic Business Role assignment rule, Identity Refresh is the right approach.
-
Process users in batches: Rather than refreshing the entire population at once, create a dedicated Identity Refresh task using an identity filter or population to target smaller groups (e.g., by legal entity or department). Start with a small pilot, then gradually increase the batch size based on the results.
-
Keep the refresh lightweight: For this use case, you primarily need:
-
Refresh assigned, detected roles and promote additional entitlements -
Provision assignments
Disable unnecessary options such as policy checks, manager refresh, attribute synchronization, and event processing, provided the identity attributes used by your assignment rules are already up to date.
-
-
Watch the provisioning side: With 25k identities receiving 2–3 Azure AD entitlements, you could potentially generate up to 50k–75k group membership additions, depending on existing access. Microsoft Graph throttling, provisioning queue buildup, and connector response times could become bigger bottlenecks than Identity Refresh itself. Monitor provisioning throughput, pending requests, errors, and HTTP 429 responses before increasing the batch size.
-
Control concurrency: Schedule the rollout during off-hours and tune the partition count based on your environment’s capacity. More partitions aren’t necessarily better, especially when the target system has API rate limits.
My recommendation wouldd be to start with a small pilot batch, validate both role assignment and actual Entra ID provisioning, then progressively roll out to the remaining population.
Because thits should give you much better control over performance and make troubleshooting easier if provisioning issues occur.
Hi @ishdem ,
may I ask if the role will be assigned automatically via Assignment Rule or via (LCM Request).
In case you are using Assignment Rule you could design the Assignment Rule to mimick partitioning and extend the scope step by step.
If we are talking about LCM Request I would suggest considering Batch Requests which would also allow you to design a “phased approach”.
Best regards,
Daniel