Skip to content

Commit ff6213a

Browse files
committed
cleanup
1 parent 8aada46 commit ff6213a

1 file changed

Lines changed: 15 additions & 18 deletions

File tree

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

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
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.
44
ms.date: 12/16/2025
5-
author: sbmjais
6-
ms.author: shjais
7-
manager: shujoshi
8-
ms.reviewer: marrabi
5+
ms.reviewer: marrabi, shjais, v-shaywood
96
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
107
---
118
# Errors that occur when enabling Salesforce with server-to-server flow
@@ -41,7 +38,7 @@ To resolve this issue:
4138

4239
1. In Salesforce, search for the **Sales Integration User** user.
4340

44-
2. Confirm the user is active.
41+
1. Confirm the user is active.
4542
- If inactive, set the user status to active.
4643
- If you can't activate the user, contact [Microsoft support](/microsoft-sales-copilot/get-support).
4744

@@ -55,19 +52,19 @@ When you try to enable Salesforce with a server-to-server flow, the following er
5552
5653
### Cause
5754

58-
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. A Salesforce Integration user license is assigned to this integration user. The error occurs when the maximum number of Salesforce Integration user licenses has already been reached.
55+
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. A Salesforce Integration user license is assigned to this integration user. The error occurs when the maximum number of Salesforce Integration user licenses is reached.
5956

6057
### Resolution
6158

62-
To resolve this issue, check if the maximum number of Salesforce Integration user licenses has been reached. If so, you need to reassign existing integration users to other licenses or purchase more licenses.
59+
To resolve this issue, check if you reached the maximum number of Salesforce Integration user licenses. If you reached the maximum, reassign existing integration users to other licenses or purchase more licenses.
6360

6461
To check the number of integration user licenses available in your Salesforce organization:
6562

6663
1. Sign in to Salesforce as an administrator.
6764

68-
2. Go to **Setup** > **Company Settings** > **Company Information**.
65+
1. Go to **Setup** > **Company Settings** > **Company Information**.
6966

70-
3. Under **User Licenses**, check the number of available **Salesforce Integration** licenses under the **Remaining Licenses** column. If the number is **0**, you need to deactivate existing integration users or change their licenses to other types. You can also purchase more licenses.
67+
1. Under **User Licenses**, check the number of available **Salesforce Integration** licenses under the **Remaining Licenses** column. If the number is **0**, deactivate existing integration users or change their licenses to other types. You can also purchase more licenses.
7168

7269
## Unexpected errors when enabling Salesforce with a server-to-server flow
7370

@@ -89,7 +86,7 @@ During the Salesforce server-to-server flow setup, a connected app is deployed t
8986

9087
### Resolution
9188

92-
To resolve this issue, retry the operation. If the issue persists, gather the error details and contact [Microsoft support](/microsoft-sales-copilot/get-support).
89+
To resolve this issue, retry the operation. If the problem continues, gather the error details and contact [Microsoft support](/microsoft-sales-copilot/get-support).
9390

9491
> [!NOTE]
9592
> You might encounter an error message that's not listed above. This issue can happen for several reasons. For example, your Salesforce organization might have a validation rule that requires specific values for user records. If this prevents the integration user from being created, try temporarily disabling the validation rule. Once the integration user is created, you can re-enable the rule.
@@ -104,11 +101,11 @@ When you try to enable Salesforce with a server-to-server flow, the following er
104101
105102
### Cause
106103

107-
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. A permission set is then assigned to the integration user. The error occurs when the same permission set has already been assigned to the user.
104+
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. A permission set is then assigned to the integration user. The error occurs when the same permission set is already assigned to the user.
108105

109106
### Resolution
110107

111-
To resolve this issue, check for any manual changes to the connected app or profiles with the `CopilotForSales` prefix. If the changes were unintentional, revert them. Otherwise, retry the operation. If the issue continues, contact [Microsoft support](/microsoft-sales-copilot/get-support).
108+
To resolve this problem, check for any manual changes to the connected app or profiles with the `CopilotForSales` prefix. If you find unintentional changes, revert them. Otherwise, retry the operation. If the problem continues, contact [Microsoft support](/microsoft-sales-copilot/get-support).
112109

113110
## The profile name is already in use. Pick a different name or rename the existing profile in Salesforce
114111

@@ -120,11 +117,11 @@ When you try to enable Salesforce with a server-to-server flow, the following er
120117
121118
### Cause
122119

123-
During the Salesforce server-to-server flow setup, a profile named **Sales Integration Profile** is created in the Salesforce organization. The error occurs when a profile with the same name already exists, preventing the creation process.
120+
During the Salesforce server-to-server flow setup, the process creates a profile named **Sales Integration Profile** in the Salesforce organization. The error occurs when a profile with the same name already exists, which prevents the creation process.
124121

125122
### Resolution
126123

127-
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).
124+
To resolve this issue, check if a profile with the same name already exists in the Salesforce organization. If you created the profile before enabling the server-to-server flow, rename the existing profile and try again. If you didn't create the profile, contact [Microsoft support](/microsoft-sales-copilot/get-support).
128125

129126
## Required fields are missing
130127

@@ -136,17 +133,17 @@ When you try to enable Salesforce with a server-to-server flow, the following er
136133
137134
### Cause
138135

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.
136+
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. This error occurs when there are custom validation rules for user creation that prevent the integration user from being automatically created in Salesforce.
140137

141138
### Resolution
142139

143140
To resolve this issue:
144141

145-
1. Temporarily disable the custom validation rules for user creation from Setup > Object Manager > User > Validation Rules.
146-
1. Create the integration user manually and provide the Salesforce user ID to [Microsoft support](/microsoft-sales-copilot/get-support) for allow listing it in the backend. Microsoft then creates the user bypassing the validation rules.
142+
1. Temporarily disable the custom validation rules for user creation by going to **Setup** > **Object Manager** > **User** > **Validation Rules**.
143+
1. Create the integration user manually and provide the Salesforce user ID to [Microsoft support](/microsoft-sales-copilot/get-support) so the user can be added to the backend allow list. Microsoft then creates the user, bypassing the validation rules.
147144

148145
## More information
149146

150-
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.
147+
If your issue isn't resolved, go to the [Sales in Microsoft 365 Copilot - Microsoft Community Hub](https://techcommunity.microsoft.com/t5/viva-sales/bd-p/VivaSales) to engage with experts.
151148

152149
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]

0 commit comments

Comments
 (0)