Skip to content

Commit c0a9c38

Browse files
authored
Added new error
1 parent 6f8b730 commit c0a9c38

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

support/sales-copilot/crm-permissions-and-configurations/errors-enabling-salesforce-server-to-server-flow.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Errors When Enabling Salesforce with Server-to-Server Flow
33
description: Troubleshoot errors that might occur when enabling Salesforce with a server-to-server flow in Sales app.
4-
ms.date: 11/20/2025
4+
ms.date: 12/16/2025
55
author: sbmjais
66
ms.author: shjais
77
manager: shujoshi
@@ -126,6 +126,25 @@ During the Salesforce server-to-server flow setup, a profile named **Sales Integ
126126

127127
To resolve this issue, check if a profile with the same name already exists in the Salesforce organization. If it was created before enabling the server-to-server flow, rename the existing profile and try again. If the profile wasn't created previously, contact [Microsoft support](/microsoft-sales-copilot/get-support).
128128

129+
## Required fields are missing
130+
131+
### Symptoms
132+
133+
When you try to enable Salesforce with a server-to-server flow, the following error message might occur:
134+
135+
> Required fields are missing: [field_name]
136+
137+
### Cause
138+
139+
During the Salesforce server-to-server flow setup, a connected app is deployed to the Salesforce organization. The connected app is associated with an integration user that is created automatically. The error occurs when custom validation rules are created for creation of a user in Salesforce.
140+
141+
### Resolution
142+
143+
To resolve this issue:
144+
145+
- Temporarily disable the custom validation rules for user creation. In Salesforce, go to Setup > Object Manager > User > Validation Rules.
146+
- Create the integration user and provide the Salesforce user ID to Microsoft for allow listing in the backend. Microsoft then creates the user bypassing the validation rules.
147+
129148
## More information
130149

131150
If your issue is still unresolved, go to the [Sales in Microsoft 365 Copilot - Microsoft Community Hub](https://techcommunity.microsoft.com/t5/viva-sales/bd-p/VivaSales) to engage with our experts.

0 commit comments

Comments
 (0)