I think for server, it is not possible to change the default group for new users to anything other than the 'confluence-users' group.
I could only find this related question/answer, which I don't think helps much, here: https://answers.atlassian.com/questions/36116638
Is there any reason why you can't do something like the following steps?:
Hi Jean Bausch,
My guess its not possible to restricte confluence user group. its a default group when sign up to confluence users add into confluence user group. if you don't want user in confluence user group then move other group.
User sign up options don't Allow people to sign up to create their account
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs