Stop auto creation of new users

How would we go about stopping new users from being automatically created? We are using OpenID/Azure AD for auth, and even if a user is excluded from active roles using the Roles.ps1 script, they are still created as a new identity and permitted into the site (though without any visibility). Is there a way to stop new users from being created unless they evaluate to one of the roles in the Roles.ps1 script (or require that the identity already be created)?

We are currently getting around this by using a combination of conditional access policies in Azure AD, but cannot disable the forms login page.


Not at the moment but I’ll add it to the backlog. This is certainly a miss on our part.

1 Like