Skip to content

Commit 7205cf9

Browse files
committed
update s2s tsg
1 parent abbce40 commit 7205cf9

5 files changed

Lines changed: 101 additions & 103 deletions
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: Couldn't get connected app details for the Salesforce organization error when disabling Salesforce server-to-server flow
3+
description: Resolves an error that occurs when the server is unable to retrieve the connected app information during the deletion process.
4+
ms.date: 05/12/2025
5+
author: sbmjais
6+
ms.author: shjais
7+
ms.custom: sap:CRM Permissions and Configurations\CRM Settings
8+
---
9+
10+
# "Couldn't get connected app details for the Salesforce organization" error when disabling Salesforce server-to-server flow
11+
12+
This article helps you troubleshoot the "Couldn't get connected app details for the Salesforce organization." 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 get connected app details for the Salesforce organization.
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 server is unable to retrieve the connected app information during the deletion process.
34+
35+
## Resolution
36+
37+
To resolve this issue, try disabling the connection again. If the issue persists, gather the error details and contact Microsoft support.
38+
39+
## More information
40+
41+
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.
42+
43+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: Couldn't remove a resource when disabling Salesforce server-to-server flow
3+
description: Resolves an error that occurs when a resource can't be removed while disabling 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+
11+
# Couldn't remove a resource when disabling Salesforce server-to-server flow
12+
13+
This article helps you troubleshoot an error that occurs when a resource can't be removed while disabling Salesforce server-to-server flow.
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+
## Symptoms
27+
28+
When you try to disable Salesforce with server-to-server flow, you may receive the following error message.
29+
30+
> Couldn't remove the permission set assignment due to an invalid reference key.
31+
32+
## Cause
33+
34+
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 a resource either no longer exists or cannot be deleted due to dependencies from other components.
35+
36+
You may get the following errors:
37+
38+
- Couldn't remove the permission set assignment due to an invalid reference key.
39+
- Connection user ID not found or already removed.
40+
- Couldn't remove the permission assignment. Something else depends on it.
41+
- Couldn't remove the permission assignment because the assignment ID does not exist.
42+
- Couldn't find the connected app. It may have been deleted earlier.
43+
- Couldn't find the permission set. It may have been deleted earlier.
44+
- Couldn't find the connection user. It may have been deleted earlier.
45+
46+
## Resolution
47+
48+
To resolve this issue, try disabling the connection again. If the issue persists, gather the error details and contact Microsoft support.
49+
50+
## More information
51+
52+
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.
53+
54+
[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)]

support/sales-copilot/crm-permissions-and-configurations/server-to-server-setup-disable-action-failed-with-error-couldn’t-get-connected-app-details.md

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

support/sales-copilot/crm-permissions-and-configurations/server-to-server-setup-disable-action-failed-with-error-couldn’t-remove-a-resource.md

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

support/sales-copilot/toc.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
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
2626
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'
28-
href: crm-permissions-and-configurations/server-to-Server-Setup-disable-action-failed-with-error-couldn’t-get-connected-app-details.md
29-
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldn’t remove a resource'
30-
href: crm-permissions-and-configurations/server-to-server-setup-disable-action-failed-with-error-Couldn’t-remove-a-resource.md
27+
- name: Couldn't get connected app details for the Salesforce organization error when disabling Salesforce server-to-server flow'
28+
href: crm-permissions-and-configurations/connected-app-detail-sf-ss.md
29+
- name: Couldn't remove a resource error when disabling Salesforce server-to-server flow
30+
href: crm-permissions-and-configurations/remove-resource-sf-ss.md
3131
- name: 'Server-to-Server Setup Disable Action Failed with Error Couldn’t remove the connected app'
3232
href: crm-permissions-and-configurations/server-to-Server-setup-disable-action-failed-with-error-couldn’t-remove-the-connected-app.md
3333
- name: Server-to-server Setup Disable Action Failed with Error Couldn’t remove the permission set

0 commit comments

Comments
 (0)