Skip to content

Commit 17a39dc

Browse files
Updated the content and created new md file
1 parent 78bf284 commit 17a39dc

2 files changed

Lines changed: 52 additions & 3 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Server-to-Server Setup Disable Action Failed with Error Couldn’t remove the connected app
3+
description: This article helps you troubleshoot the error "Couldn’t remove the connected app. It may be read-only, missing, or restricted." when you disable Salesforce Server-to-server flow.
4+
ms.date: 05/09/2025
5+
author: sbmjais
6+
ms.author: shjais
7+
manager: shujoshi
8+
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
9+
---
10+
# Server-to-Server Setup Disable Action Failed with Error Couldn’t remove the connected app
11+
12+
This article helps you troubleshoot the error "Couldn’t remove the connected app. It may be read-only, missing, or restricted." 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 administrator try to disable Salesforce with server-to-server flow, you receive the following error message:
28+
29+
> Couldn’t remove the connected app
30+
31+
It may be read-only, missing, or restricted." on the UI.
32+
33+
## Cause
34+
35+
When a "disable" request is received, the server attempts to delete deployed resources, such as the connected app, permission set, and others. This error indicates that the current user either lacks the necessary permissions to delete the connected app or the app has already been removed.
36+
37+
## Resolution
38+
39+
1. Ensure that the user logged into 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+
41+
2. Go to **Setup** -> **Apps** -> **Connected Apps** -> **Manage Connected Apps**. Please check and confirm the app "Copilot for Sales Connected App" exists.
42+
43+
## More information
44+
45+
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.
46+
47+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]

support/sales-copilot/toc.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@
2323
- name: Salesforce CRM users can't see data in Copilot for Sales
2424
href: crm-permissions-and-configurations/no-column-error.md
2525
- name: Salesforce CRM users can't view, edit, or save data in Copilot for Sales
26-
- name: Server-to-Server Setup Disable Action Failed with Error Couldn’t get connected app details
26+
href: crm-permissions-and-configurations/salesforce-permission-error.md
27+
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldn’t get connected app details'
2728
href: crm-permissions-and-configurations/server-to-Server-Setup-disable-action-failed-with-error-couldn’t-get-connected-app-details.md
28-
- name: Server-to-Server Setup Disable Action Failed with Error Couldn’t remove a resource
29+
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldn’t remove a resource'
2930
href: crm-permissions-and-configurations/server-to-server-setup-disable-action-failed-with-error-Couldn’t-remove-a-resource.md
30-
href: crm-permissions-and-configurations/salesforce-permission-error.md
31+
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldn’t remove the connected app'
32+
href: crm-permissions-and-configurations/Server-to-Server Setup Disable Action Failed with Error Couldn’t remove the connected app.md
3133
- name: '"This contact already exists" error when creating a CRM record'
3234
href: crm-permissions-and-configurations/duplicate-record-error.md
3335
- name: You don't have permission for this error

0 commit comments

Comments
 (0)