You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/sales-copilot/crm-permissions-and-configurations/errors-enabling-salesforce-server-to-server-flow.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,43 +1,43 @@
1
1
---
2
-
title: Errors When Enabling Salesforce With Server-to-server Flow
3
-
description: Resolves errors that might occur when enabling Salesforce with server-to-server flow in Microsoft Copilot for Sales.
2
+
title: Errors When Enabling Salesforce with Server-to-Server Flow
3
+
description: Troubleshoot errors that might occur when enabling Salesforce with a server-to-server flow in Microsoft Copilot for Sales.
4
4
ms.date: 05/26/2025
5
5
author: sbmjais
6
6
ms.author: shjais
7
7
manager: shujoshi
8
8
ms.reviewer: marrabi
9
9
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
10
10
---
11
-
# Errors that occur when enabling Salesforce with server-to-server flow
11
+
# Errors that occur when enabling Salesforce that uses a server-to-server flow
12
12
13
-
This article helps you troubleshoot errors that might occur when you try to enable Salesforce with server-to-server flow in Microsoft Copilot for Sales.
13
+
This article helps you troubleshoot errors that might occur when you try to enable Salesforce with a server-to-server flow in Microsoft Copilot for Sales.
14
14
15
15
## Who is affected?
16
16
17
17
| Requirement type |Description |
18
18
|---------|---------|
19
-
|**Client app**| Teams |
19
+
|**Client app**|Microsoft Teams |
20
20
|**Platform**| Web and desktop clients |
21
21
|**OS**| Windows and Mac |
22
22
|**Deployment**| User managed and admin managed |
23
23
|**CRM**| Salesforce |
24
-
|**Users**|Administrator|
24
+
|**Users**|Administrators|
25
25
26
26
## Couldn't assign permission set because the integration user is inactive in Salesforce
27
27
28
28
### Symptoms
29
29
30
-
When you try to enable Salesforce with server-to-server flow,the following error message might occur:
30
+
When you try to enable Salesforce with a server-to-server flow, the following error message might occur:
31
31
32
32
> Couldn't assign permission set because the integration user is inactive in Salesforce.
33
33
34
34
### Cause
35
35
36
-
During 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 integration user is inactive in Salesforce. The permission set can't be assigned to an inactive user.
36
+
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 integration user is inactive in Salesforce. The permission set can't be assigned to an inactive user.
37
37
38
38
### Resolution
39
39
40
-
To resolve this issue,
40
+
To resolve this issue:
41
41
42
42
1. In Salesforce, search for a user with the `copilotforsalesintegrationuser` prefix in the username.
43
43
@@ -49,31 +49,31 @@ To resolve this issue,
49
49
50
50
### Symptoms
51
51
52
-
When you try to enable Salesforce with server-to-server flow,the following error message might occur:
52
+
When you try to enable Salesforce with a server-to-server flow, the following error message might occur:
53
53
54
54
> Couldn't create user because Salesforce integration license limit reached.
55
55
56
56
### Cause
57
57
58
-
During 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. Salesforce Integration user license is assigned to this integration user. The error occurs when the maximum allowed number of Salesforce Integration user licenses has already been reached.
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.
59
59
60
60
### Resolution
61
61
62
-
To resolve this issue, check if the maximum allowed number of Salesforce Integration user licenses has been reached. If so, you need to either reassign existing integration users to other licenses or purchase more licenses.
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.
63
63
64
64
To check the number of integration user licenses available in your Salesforce organization:
65
65
66
66
1. Sign in to Salesforce as an administrator.
67
67
68
68
2. Go to **Setup** > **Company Settings** > **Company Information**.
69
69
70
-
3. Under **User Licenses**, check the number of **Salesforce Integration** licenses available under the **Remaining Licenses** column. If the number is 0, you need to either deactivate existing integration users or change their licenses to other types. You can also purchase more licenses.
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.
71
71
72
-
## Unexpected errors when enabling Salesforce with server-to-server flow
72
+
## Unexpected errors when enabling Salesforce with a server-to-server flow
73
73
74
74
### Symptoms
75
75
76
-
When you try to enable Salesforce with server-to-server flow, you might receive one of the following error messages:
76
+
When you try to enable Salesforce with a server-to-server flow, you might receive one of the following error messages:
77
77
78
78
-> Couldn't get deployment status due to incorrect ID format.
79
79
-> Couldn't find the connected app.
@@ -85,7 +85,7 @@ When you try to enable Salesforce with server-to-server flow, you might receive
85
85
86
86
### Cause
87
87
88
-
During 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. In this process, some unexpected errors might occur.
88
+
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. In this process, some unexpected errors might occur.
89
89
90
90
### Resolution
91
91
@@ -95,13 +95,13 @@ To resolve this issue, retry the operation. If the issue persists, gather the er
95
95
96
96
### Symptoms
97
97
98
-
When you try to enable Salesforce with server-to-server flow,the following error message might occur:
98
+
When you try to enable Salesforce with a server-to-server flow, the following error message might occur:
99
99
100
100
> No changes were made.
101
101
102
102
### Cause
103
103
104
-
During 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 has already been assigned to the user.
105
105
106
106
### Resolution
107
107
@@ -111,13 +111,13 @@ To resolve this issue, check for any manual changes to the connected app or prof
111
111
112
112
### Symptoms
113
113
114
-
When you try to enable Salesforce with server-to-server flow,the following error message might occur:
114
+
When you try to enable Salesforce with a server-to-server flow, the following error message might occur:
115
115
116
116
> The profile name is already in use. Pick a different name or rename the existing profile in Salesforce.
117
117
118
118
### Cause
119
119
120
-
During Salesforce server-to-server flow setup, a profile named **Copilot For Sales Integration Profile** is created in the Salesforce organization. The error occurs when a profile with the same name already exists, thereby preventing the creation process.
120
+
During the Salesforce server-to-server flow setup, a profile named **Copilot For 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.
0 commit comments