User Access Management in Setup with Agentforce (Beta)
Use Agentforce to troubleshoot user access issues, review the permissions and access that users have, and understand how access is configured.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations or Agentforce 1 Editions |
| User Permissions Needed | |
|---|---|
| To use Setup with Agentforce: | The required permissions for Setup with Agentforce. See Assign Required Permissions and Access for Setup with Agentforce (Beta). AND The required permissions for the task listed in the table. |
Note Setup with Agentforce is a pilot or beta service that
is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement, if executed by
Customer, and the Non-GA Credit Consumption term in the Product Terms
Directory. Enabling this pilot or beta service consumes Data 360 credits and is at
the Customer's sole discretion.
Agentforce can help you with these tasks and requests related to user access.
| Supported Task | Example Requests | Additional Required User Permissions |
|---|---|---|
| Get information on supported tasks for user access management |
|
None |
| Review what object, field, and user permissions a user has or doesn’t have |
|
None |
| Review what access users, groups, and roles have to a record and why they have this access |
|
None |
| Troubleshoot access issues related to object, field, and user permissions |
|
None |
| Troubleshoot access issues related to record access |
|
None |
| Troubleshoot access issues related to external client app access |
|
None |
| See what permissions are required for a Salesforce task or feature |
|
None |
| Compare the record access that two different users have |
|
None |
| Get a list of all profiles, permission sets, or permission set groups |
|
None |
| Create or update custom permission sets |
|
Manage Profiles and Permission Sets |
| Create or update custom permission set groups |
|
Manage Profiles and Permission Sets |
| Get information about existing permission sets and their enabled permissions |
|
None |
| Get information about internal and external organization-wide default sharing settings |
|
None |
| Update internal and external organization-wide default sharing settings |
|
Manage Sharing |
| Ask questions about what sharing rules for specific objects grant access to a specified user, role, or public group |
|
None |
| Create sharing rules |
|
Manage Sharing |
| Review what public groups a user belongs to and filter by name |
|
None |
| Create a public group |
|
Delegated Administrator OR Manage Users |
| Review the membership of a specific public group, including users, roles, and nested public groups |
|
Manage Users AND The “Enhanced Public Group Assignment” setting enabled |
| Create or update a queue’s details and supported objects |
|
Manage Users |
| List all queues or public groups |
|
None |
| Add or remove users from permission sets, permission set groups, public groups, and queues |
|
Assign Permission Sets OR Manage Users |
| Troubleshoot user access with the Setup Audit Trail |
|
None |
User Access Management Considerations
- In questions about a user’s permissions, if the user is assigned permissions via a session-based permission set, the permissions are returned whether the permission set is activated or not.
- You can ask questions about and reference both criteria-based and owner-based sharing rules. However, you can create only criteria-based sharing rules via the agent, and they must be on objects other than accounts and contain only a single criteria condition.
- Questions related to guest user access aren’t supported.
- If the organization-wide default is set to Controlled by Parent for an object, responses about related sharing rules and record access can be inaccurate.
- Responses related to a user’s ability to delete or transfer a record aren’t always accurate.
- Responses about a user’s ability to edit a record don’t reflect whether the user has the required Edit permission for the related object.
- Setup Audit Trail questions related to which user changed a specific setting or configuration aren’t supported. Agent responses also don’t reflect changes made by AI agents or delegate administrators.
- For questions related to user access that use information from the Setup Audit Trail, only changes related to permission sets, permissions set groups, profiles, roles, user access policies, organization-wide defaults, and user records are considered.
- You can search and filter Setup Audit Trail entries returned matching specific criteria. However, these capabilities aren’t supported when using the Setup Audit Trail to troubleshoot user access.
Did this article solve your issue?
Let us know so we can improve!

