Skip to content

Commit f1bf95e

Browse files
authored
some changes
1 parent d4a4731 commit f1bf95e

7 files changed

Lines changed: 108 additions & 238 deletions

File tree

support/sales-copilot/crm-permissions-and-configurations/assign-perm-set-sf-ss.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

support/sales-copilot/crm-permissions-and-configurations/create-user-sf-ss.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

support/sales-copilot/crm-permissions-and-configurations/enable-error-sf-ss.md

Lines changed: 0 additions & 49 deletions
This file was deleted.
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
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.
4+
ms.date: 05/23/2025
5+
author: sbmjais
6+
ms.author: shjais
7+
manager: shujoshi
8+
ms.reviewer: marrabi
9+
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
10+
---
11+
# Errors that occur when enabling Salesforce with server-to-server flow
12+
13+
This article helps you solve errors that might occur when you try to enable Salesforce with server-to-server flow in Microsoft Copilot for Sales.
14+
15+
## Who is affected?
16+
17+
| Requirement type |Description |
18+
|---------|---------|
19+
|**Client app** | Teams |
20+
|**Platform** | Web and desktop clients |
21+
|**OS** | Windows and Mac |
22+
|**Deployment** | User managed and admin managed |
23+
|**CRM** | Salesforce |
24+
|**Users** | Administrator |
25+
26+
## "Couldn't assign permission set because the integration user is inactive in Salesforce" error
27+
28+
### Cause
29+
30+
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.
31+
32+
### Resolution
33+
34+
To resolve this issue,
35+
36+
1. In Salesforce, search for a user with the `copilotforsalesintegrationuser` prefix in the username.
37+
38+
2. Confirm the user is active.
39+
- If inactive, set the user status to active.
40+
- If you can't activate the user, contact [Microsoft support](/microsoft-sales-copilot/get-support).
41+
42+
## "Couldn't create user because Salesforce integration license limit reached" error
43+
44+
### Cause
45+
46+
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.
47+
48+
### Resolution
49+
50+
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.
51+
52+
To check the number of integration user licenses available in your Salesforce organization:
53+
54+
1. Sign in to Salesforce as an administrator.
55+
56+
2. Go to **Setup** > **Company Settings** > **Company Information**.
57+
58+
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.
59+
60+
## Unexpected errors when enabling Salesforce with server-to-server flow
61+
62+
### Symptoms
63+
64+
When you try to enable Salesforce with server-to-server flow, you might receive one of the following error messages:
65+
66+
- > Couldn't get deployment status due to incorrect ID format.
67+
- > Couldn't find the connected app.
68+
- > Couldn't get user license ID is missing to create connection user.
69+
- > Couldn't fully remove connection data from Dataverse. Contact Sales support to request manual cleanup.
70+
- > Couldn't complete the connected app or permission set deployment to Salesforce. Try again.
71+
- > Couldn't complete the connected app deployment to Salesforce. Try again.
72+
- > Couldn't complete the permission set deployment to Salesforce. Try again.
73+
74+
### Cause
75+
76+
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.
77+
78+
### Resolution
79+
80+
To resolve this issue, retry the operation. If the issue persists, gather the error details and contact [Microsoft support](/microsoft-sales-copilot/get-support).
81+
82+
## "No changes were made" error
83+
84+
### Cause
85+
86+
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.
87+
88+
### Resolution
89+
90+
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).
91+
92+
## "The profile name is already in use. Pick a different name or rename the existing profile in Salesforce" error
93+
94+
### Cause
95+
96+
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.
97+
98+
### Resolution
99+
100+
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).
101+
102+
## More information
103+
104+
If your issue is still unresolved, go to the [Copilot for Sales - Microsoft Community Hub](https://techcommunity.microsoft.com/t5/viva-sales/bd-p/VivaSales) to engage with our experts.
105+
106+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]

support/sales-copilot/crm-permissions-and-configurations/no-changes-made-sf-ss.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

support/sales-copilot/crm-permissions-and-configurations/profile-name-already-exists-sf-ss.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

support/sales-copilot/toc.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,22 @@
1212
href: crm-permissions-and-configurations/update-settings-to-save-emails-error.md
1313
- name: Can't save email to CRM if enhanced email isn't enabled in Salesforce CRM
1414
href: crm-permissions-and-configurations/update-settings-in-saleforce-error.md
15-
- name: Couldn't assign permission set when enabling Salesforce server-to-server flow
16-
href: crm-permissions-and-configurations/assign-perm-set-sf-ss.md
17-
- name: Couldn't create user when enabling Salesforce server-to-server flow
18-
href: crm-permissions-and-configurations/create-user-sf-ss.md
15+
- name: Errors when enabling Salesforce with server-to-server flow
16+
href: crm-permissions-and-configurations/errors-enabling-salesforce-server-to-server-flow.md
1917
- name: '"Fix mailbox errors in Dynamics 365" error'
2018
href: crm-permissions-and-configurations/fix-mailbox-errors-in-dynamics-365.md
2119
- name: Missing privileges error when signing in
2220
href: crm-permissions-and-configurations/missing-privileges-sign-in.md
2321
- name: '"No access to Dynamics 365" error'
2422
href: crm-permissions-and-configurations/no-access-to-dynamics-365-error.md
25-
- name: '"No changes were made" error when enabling Salesforce server-to-server flow'
26-
href: crm-permissions-and-configurations/no-changes-made-sf-ss.md
2723
- name: '"Required fields are missing" error'
2824
href: crm-permissions-and-configurations/required-fields-missing.md
29-
- name: Profile name already in use when enabling Salesforce server-to-server flow
30-
href: crm-permissions-and-configurations/profile-name-already-exists-sf-ss.md
3125
- name: Salesforce CRM users can't see data in Copilot for Sales
3226
href: crm-permissions-and-configurations/no-column-error.md
3327
- name: Salesforce CRM users can't view, edit, or save data in Copilot for Sales
3428
href: crm-permissions-and-configurations/salesforce-permission-error.md
3529
- name: '"This contact already exists" error when creating a CRM record'
3630
href: crm-permissions-and-configurations/duplicate-record-error.md
37-
- name: Unexpected errors when enabling Salesforce server-to-server flow
38-
href: crm-permissions-and-configurations/enable-error-sf-ss.md
3931
- name: You don't have permission for this error
4032
href: crm-permissions-and-configurations/no-admin-exists-error.md
4133
- name: Outlook side panel

0 commit comments

Comments
 (0)