Skip to content

Commit 834d041

Browse files
committed
update s2s tsg
1 parent 56e3305 commit 834d041

6 files changed

Lines changed: 100 additions & 143 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Couldn't remove the connected app when disabling Salesforce server-to-server flow
3+
description: Resolves an error that occurs when the server is unable to delete the connected app during the disable process.
4+
ms.date: 05/13/2025
5+
author: sbmjais
6+
ms.author: shjais
7+
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
8+
---
9+
10+
# Couldn't remove the connected app when disabling Salesforce server-to-server flow
11+
12+
This article helps you troubleshoot the "Couldn't remove the connected app. It may be read-only, missing, or restricted." error when you disable Salesforce Server-to-server flow.
13+
14+
## Who is affected?
15+
16+
| Requirement type |Description |
17+
|---------|---------|
18+
|**Client app** | Teams |
19+
|**Platform** | Web and desktop clients |
20+
|**OS** | Windows and Mac |
21+
|**Deployment** | User managed and admin managed |
22+
|**CRM** | Salesforce |
23+
|**Users** | Administrator |
24+
25+
## Symptoms
26+
27+
When you try to disable Salesforce with server-to-server flow, the following error message is displayed.
28+
29+
> Couldn't remove the connected app. It may be read-only, missing, or restricted.
30+
31+
## Cause
32+
33+
When a disable request is received, the server attempts to delete deployed resources, such as the connected app and permission set. The error occurs when the current user doesn't have the permissions to delete the connected app or the app is already deleted.
34+
35+
## Resolution
36+
37+
To resolve this issue, perform the following actions:
38+
39+
- **Check permissions**: Ensure that the user signed in to the Teams admin settings has the necessary permissions to modify all data and manage connected apps. If the current user lacks these permissions, either assign the required permissions or switch to a user who has them.
40+
- **Check connected app**: In Salesforce, go to **Setup** > **Apps** > **Connected Apps** > **Manage Connected Apps**. Confirm that the **Copilot for Sales Connected App** connected app exists.
41+
42+
## More information
43+
44+
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.
45+
46+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Couldn't remove the permission set when disabling Salesforce server-to-server flow
3+
description: Resolves an error that occurs when the server is unable to delete the permission set during the disable process.
4+
ms.date: 05/13/2025
5+
author: sbmjais
6+
ms.author: shjais
7+
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
8+
---
9+
10+
# Couldn't remove the permission set when disabling Salesforce server-to-server flow
11+
12+
This article helps you troubleshoot the "Couldn't remove the permission set. It may be read-only, missing, or restricted." error when you disable Salesforce Server-to-server flow.
13+
14+
## Who is affected?
15+
16+
| Requirement type |Description |
17+
|---------|---------|
18+
|**Client app** | Teams |
19+
|**Platform** | Web and desktop clients |
20+
|**OS** | Windows and Mac |
21+
|**Deployment** | User managed and admin managed |
22+
|**CRM** | Salesforce |
23+
|**Users** | Administrator |
24+
25+
## Symptoms
26+
27+
When you try to disable Salesforce with server-to-server flow, the following error message is displayed.
28+
29+
> Couldn't remove the permission set. It may be read-only, missing, or restricted.
30+
31+
## Cause
32+
33+
When a disable request is received, the server attempts to delete deployed resources, such as the connected app and permission set. The error occurs when the current user doesn't have the permissions to delete the permission set or the permission set is already deleted.
34+
35+
## Resolution
36+
37+
To resolve this issue, perform the following actions:
38+
39+
- **Check permissions**: Ensure that the user signed in to the Teams admin settings has the necessary permissions to modify all data and manage permission sets. If the current user lacks these permissions, either assign the required permissions or switch to a user who has them.
40+
- **Check permission set**: Open the Salesforce Developer Console and run the following query to search for the permission set. Confirm that the **Copilot for Sales Permission Set** permission set exists.
41+
42+
```sql
43+
SELECT Id, Name, Label, Description FROM PermissionSet WHERE Name = 'CopilotForSalesPermissionSet'
44+
```
45+
46+
## More information
47+
48+
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.
49+
50+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]

support/sales-copilot/crm-permissions-and-configurations/remove-the-connected-app-sf-ss.md

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

support/sales-copilot/crm-permissions-and-configurations/remove-the-permission-set-sf-ss.md

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

support/sales-copilot/crm-permissions-and-configurations/try-again-sf-ss.md

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

support/sales-copilot/toc.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
href: crm-permissions-and-configurations/connected-app-detail-sf-ss.md
2929
- name: Couldn't remove a resource error when disabling Salesforce server-to-server flow
3030
href: crm-permissions-and-configurations/remove-resource-sf-ss.md
31-
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldnt remove the connected app'
32-
href: crm-permissions-and-configurations/remove-the-connected-app-sf-ss.md
33-
- name: Server-to-server Setup Disable Action Failed with Error Couldnt remove the permission set
34-
href: crm-permissions-and-configurations/remove-the-permission-set-sf-ss.md
31+
- name: Couldn't remove the connected app when disabling Salesforce server-to-server flow
32+
href: crm-permissions-and-configurations/remove-connected-app-sf-ss.md
33+
- name: Couldn't remove the permission set when disabling Salesforce server-to-server flow
34+
href: crm-permissions-and-configurations/remove-permission-set-sf-ss.md
3535
- name: '"This contact already exists" error when creating a CRM record'
3636
href: crm-permissions-and-configurations/duplicate-record-error.md
3737
- name: You don't have permission for this error
@@ -76,6 +76,4 @@
7676
href: teams-collaboration-spaces/create-team-error.md
7777
- name: Opportunity summary not displayed in deal rooms
7878
href: teams-collaboration-spaces/opportunity-summary-not-displayed.md
79-
- name: 'Try again error when setup Salesforce server-to-server flow'
80-
href: crm-permissions-and-configurations/try-again-sf-ss.md
8179

0 commit comments

Comments
 (0)