When creating a new Salesforce sandbox and restricting access using a public group, users in roles that are referenced by the group may be automatically frozen in the sandbox. This occurs because role-based public groups include all subordinate users in that role hierarchy, and the sandbox activation process freezes users not explicitly included in the access group.
This article explains why users get frozen when sandbox access is granted through a role-based public group, and how to prevent it.
This is the expected behavior described in Salesforce Help documentation. Role-based public groups include all subordinate users in that role hierarchy, and the sandbox activation process freezes any user who is not explicitly included in the access group. To prevent this, set the public group used for sandbox access to the User type instead of a role-based type.
Note: Make sure all members of the group are of type Users.
For example, if a public group grants sandbox access based on the "Sales Manager" role, every subordinate user under that role who isn't individually listed as a User member of the group will be frozen when the sandbox is created — switching the group to explicit User membership avoids that.
005132284

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.