With SAML configured we have a situation when before adding a user to a new group new users have to login to the portal once, so their account would appear in the database.
So if we add a new Team with 10 users I first would need to ask then to login once, then I could find them all in the list and update the membership.
This is not very convenient of course.
Can you suggest a better way to authenticate against AAD and automate the process?
Have you considered also syncing groups to SonarQube (see the documentation on Group Mapping). This means that as long as a group is created in SonarQube that matches a group being sent by your authentication provider, a user will be added to the necessary groups when logging in for the first time.
Sorry for the delay Colin. Was waiting for our infra guys.
So I have a group configured in SonarQube.
I have the same group configured in AD (which is our IP. Sorry for confusion above).
I added myself to the group in AD and on SQ portal.
After first login I see myself a part of Users grp only.