This article explains why a single role is created for the first external user on an Account, rather than the number of roles specified under [Setup] | [Digital Experiences] | [Settings].
This behavior occurs when the setting "Minimize the number of roles created, which improves performance by cutting down processing loads" is enabled in [Sharing Settings].
For behavior when this is disabled, see "Experience Cloud: Roles automatically created for accounts when enabling external users (customer or partner)".
When the "Minimize the number of roles created" setting is enabled under Sharing Settings, enabling the first Active external user on an account creates only a single role using the following format:<Account Owner Alias> Customer Person Account
The Account Owner Alias corresponds to the Alias field of the user set as the Owner of the account.
Only when the second Active external user is enabled on the same account does Salesforce create the full number of roles specified in Setup > Digital Experiences > Settings (for example, <Account Name> Customer User). Once these roles are created, all users — including the first Active external user — are reassigned to these new roles.
For more details on role creation behavior when the second external user is created (or when this setting is disabled), see: Experience Cloud: Roles automatically created for accounts when enabling external users (customer or partner)
The purpose of this feature is to improve org performance by preventing the creation of unnecessary role hierarchies for accounts that have only one external user.
If you want roles to be created immediately when the first external user is enabled, navigate to Setup > Sharing Settings and deselect "Minimize the number of roles created, which improves performance by cutting down processing loads."
Note: Once disabled, the full number of roles specified in your Digital Experience settings will be created for every account as soon as a single external user is enabled. Inactive users are excluded from the count when determining role creation and assignment.
005167126

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.