The independent daily for Salesforce admins, developers and architects

Curated by Abhinav (opens in a new tab)

Must-read

Running custom Apex actions in user mode for assistant-driven access (opens in a new tab)

You will learn why Apex invocable actions exposed to Copilot or agents should use with sharing, WITH USER_MODE and AccessLevel.USER_MODE, and how to test them under a low-privilege user with System.runAs.

  1. Declare the class with sharing
  2. Query with WITH USER_MODE
  3. Update with AccessLevel.USER_MODE
  4. Return readable messages to the assistant
How the example action keeps the running user's permissions in force

The author starts from the Copilotforce announcement, in which Salesforce data is reached from Microsoft Copilot through authenticated user access that keeps existing permissions, Sharing Rules and audit trails. Standard writeback actions already respect these controls, but any custom invocable Apex, Flow calling Apex or REST endpoint is the developer’s responsibility.

Apex runs in system mode by default, so an invocable method that queries a field the user cannot see will return that data to an assistant acting on their behalf. A class declared without with sharing also ignores the user’s record access. When people worked mainly in the Salesforce UI, page layouts hid much of this; with Copilot, Claude or Slack as the interface, the server-side enforcement is what protects the data.

The article gives an example invocable class, ApprovePaymentAction, declared with sharing. Its SOQL uses WITH USER_MODE so field and object permissions apply, and its update uses Database.update with AccessLevel.USER_MODE and allOrNone set to false, so Validation Rule messages come back as strings the assistant can show. The author suggests writing those messages so they read well in a chat window.

The post closes with a runAs test that runs the action as a Standard User and asserts the approval is blocked, and a checklist: with sharing, WITH USER_MODE on every query, AccessLevel.USER_MODE on every DML, readable validation messages, field history tracking on changed fields, and a low-privilege runAs test for each exposed action.

Read the original at dev.to (opens in a new tab)

Also told by InfallibleTechie (opens in a new tab)

Worth reading?

Copilotforce brings Salesforce Sales Data and skills into Microsoft Copilot and Teams (opens in a new tab)

You will learn what Copilotforce includes, which parts are generally available and which are in preview, how Copilot reaches Salesforce through MCP and permissions, and how Data 360 and Fabric connect with zero copy.

Why read this

You will also get a checklist for preparing a pilot.

Copilotforce

  • Salesforce in Copilot
  • Sales Cloud in Teams
  • Data 360 and Fabric zero copy
Copilotforce combines three parts announced together on November 17, 2026

Copilotforce is a partnership between Salesforce and Microsoft, announced at Microsoft Ignite on November 17, 2026. It brings Salesforce customer context, business processes and actions into Microsoft Copilot, Teams and Fabric, so sellers can work with CRM records without switching to a CRM tab. The article describes three parts: Salesforce in Copilot, a plugin in public preview with 38+ prebuilt sales skills; Sales Cloud in Teams, in pilot with an open beta expected later in 2026; and a two-way zero copy link between Salesforce Data 360 and Microsoft Fabric.

The article explains how a Copilot request flows. Microsoft Work IQ adds context from Teams, Outlook and SharePoint or OneDrive documents. Copilot calls Salesforce through authenticated MCP access, and Salesforce applies the user’s existing permissions. The seller reviews any draft, and supported writeback needs explicit confirmation and follows Validation Rules. The skills are grouped around revenue growth, deal risk and call follow-up.

For data, Data Federation from OneLake into Data 360 is generally available, letting teams query Fabric data in place. Sharing curated Data 360 data into OneLake is in public preview. The article notes that zero copy consumes Data 360 credits, so query volume should be included in cost planning. Governance is split: Salesforce controls records and actions, while Microsoft controls documents and communications, so the Salesforce and Microsoft 365 admin teams need to agree ownership before a pilot.

The article closes with a six-point preparation checklist covering data quality, permissions, governance owners, data mapping, a 30-day pilot and integration planning. Much of the commentary is from Cloud Odyssey, a consultancy, and some product status details are marked for confirmation with account teams.

Read the original at Cloud Odyssey (opens in a new tab)

Also told by Salesforce Break (opens in a new tab)

Worth reading?