To automate user or group assignments in Azure for Single Sign-On (SSO) applications, follow these steps:
1.Create a Dynamic Group in Azure:
Navigate to Microsoft Entra ID > Groups > New group.
Set the group type to Security and membership type to Dynamic User.
Define a membership rule based on user attributes. user.department -eq ABC
2.Assign the Dynamic Group to Your Application:
Go to Enterprise Applications > Your Application > Users and groups.
Click add user/group, select the dynamic group, and assign it to the application.
3.Ensure that users who should have access to the application have their department attribute set to "ABC" With this setup, any user whose department attribute is set to "ABC" will automatically be added to the dynamic group.
Since this group is assigned to the application, these users will gain access without manual intervention.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.