Show answerHide answer
Correct answer: B Use the " New Agent User " option and use principle of least privilege to apply specific permissions.
Explanation
ExplanationAgentforce Service Agents interacting with unauthenticated customers operate using a dedicated agent user rather than the customer's Salesforce user context. Salesforce recommends creating the agent with the New Agent User option, which provides minimal access by default. The consultant should then grant only the permissions needed to access and update Case records, retrieve Knowledge articles, and execute the required flows. This follows the principle of least privilege and reduces the risk of exposing sensitive data.
Correct Option
B. Use the "New Agent User" option and use the principle of least privilege to apply specific permissions.
Salesforce recommends creating a dedicated agent user and assigning permissions according to the agent's intended functionality. For this scenario, configure appropriate Case object permissions for reading and updating records, Knowledge access for retrieving articles, and permission to run the required flows. Record-level access, field-level security, and sharing settings must also be configured appropriately. This allows the agent to perform its tasks without unnecessary administrative privileges.
Incorrect Options
A. Use Organization-Wide Sharing Defaults (OWD) and filters at the topic/action level.
OWD settings and topic- or action-level filters are important security controls, particularly for restricting which records an agent can access. However, they do not replace the need to configure the agent user's object permissions, Knowledge access, and flow execution permissions. Salesforce recommends combining appropriate sharing settings and filters with a dedicated agent user configured according to the principle of least privilege. Therefore, option A alone is incomplete.
C. Grant the AI agent user the "System Administrator" profile for maximum compatibility.
Granting System Administrator privileges violates the principle of least privilege and gives the agent substantially more access than its tasks require. Excessive permissions could allow the agent to expose sensitive records or perform unauthorized operations. Salesforce explicitly recommends avoiding broad administrative access and instead granting the dedicated agent user only the necessary object, record, Knowledge, and automation permissions.
Reference
- Salesforce Help: Best Practices for Agent User Permissions