Questions tagged [user-management]
Besides creating and assigning users, user management includes working with permissions and licenses, delegating users, and more.
264 questions
2 votes
0 answers
21 views
LICENSE_LIMIT_EXCEEDED during unit test
While I haven't been able to find a documentation link, I've always understood that Salesforce doesn't enforce User License Limits during unit tests. I now have a test that is failing due to hitting ...
1 vote
1 answer
58 views
Impossible Duplicate Username error in Production
In a production org, we have a user who needs to be moved from a community license to a full Salesforce license. Their existing username was (lets say) [email protected]. I changed that username ...
0 votes
1 answer
43 views
How to change the API version number that MS Entra uses for user provisioning?
Browsing through the ApiTotalUsage event log in Salesforce, I came upon entries with version 40.0, originating from MS Entra (formerly known as Azure AD). We manage our users in Entra and via user ...
0 votes
0 answers
133 views
Can Entra ID Provision Salesforce Permission Sets Automatically via Out-of-the-Box Connector?
We're implementing user lifecycle automation (Joiner-Mover-Leaver) using Entra ID, and plan to provision users into Salesforce via the native connector. From my understanding, Salesforce Profiles ...
1 vote
1 answer
200 views
Error deploying User Access Policy
Not able to deploy user access policy. Getting the error: An unexpected error occurred. Please include this ErrorId if you contact support: 2002295043-77668 (-408224866) Changed the status from ...
1 vote
0 answers
304 views
Mapping Multiple Entra ID Roles to Salesforce Profiles
I am currently setting up Single Sign-On (SSO) and user provisioning between Microsoft Entra ID (formerly Azure AD) and our Salesforce instance. One of our goals is to map the roles in Entra ID to ...
0 votes
0 answers
131 views
Salesforce User Object do not update LastModifiedDate and SystemModStamp when LastLoginDate is updated
I just observed that if User.LastLoginDate changes every time user logs in. But the LastModifiedDate and SystemModStamp fields remain unchanged when the User.LastLoginDate is updated. Salesforce's ...
1 vote
0 answers
129 views
User can't view User List in calendar without View Setup and Configuration permission
I created users list in Salesforce, with few filters based on Profile name. Users should be able to add this User List to their Calendars to see other users events. For users with not enabled View ...
2 votes
1 answer
160 views
Does using setPassword restart Password expiry countdown?
As the title says, if i use the System.setPassword() method to set the password for a user (as an admin), does the password expiry still count from when the user did the change on the UI or does it ...
-1 votes
2 answers
512 views
How to assign a permission set to multiple users at the same time
I want to assign a permission set to 2000 users. I want to know if there is any way I can do it at the same time, instead of doing it manually one by one?
3 votes
1 answer
1k views
Exception when creating user in sandbox: "Invalid Email Address: Must be in domain(s) yourcompany.com"
When trying to create users in one of our test sandboxes, we are getting the following error/exception: System.DmlException: Insert failed. First exception on row 0; first error: ...
0 votes
1 answer
219 views
Can a Full license user login to partner community with same credentials?
In my org we have received a ticket saying a full license user is able to login to partner community with partner url with same credentials. The user does not have any special permissions which can ...
0 votes
0 answers
169 views
How to get a UsedLicences count for login-based Digital Experience licenses?
When I query the UserLicense object using: select Id, Name, Status, LicenseDefinitionKey, UsedLicenses, TotalLicenses from UserLicense where Id in ... I get this result: where the UsedLicences count ...
0 votes
1 answer
192 views
How can I handle user provisioning with Azure when a user is in multiple groups?
I have a working Azure user provisioning flow. The issue I am facing is if a user is in multiple groups I don't know how to set a priority system. Is there a way I can setup a priority system on Azure ...
-1 votes
1 answer
34 views
Can I restrict a user with Role 'A' to view cases only with the status (picklist) values : new and open
Case object : private owd Role :A User with Role A should only be able to see the cases with status picklist values: new and open. How can I do this? Is it even possible to restrict users access on ...