|
| 1 | +--- |
| 2 | +title: Unexpected errors when enabling Salesforce server-to-server flow |
| 3 | +description: Resolves an error that occurs during the Salesforce server-to-server flow setup. |
| 4 | +author: sbmjais |
| 5 | +ms.author: shjais |
| 6 | +ms.custom: sap:CRM Permissions and Configurations\CRM Settings |
| 7 | +--- |
| 8 | + |
| 9 | +# Unexpected errors when enabling Salesforce server-to-server flow |
| 10 | + |
| 11 | +This article helps you troubleshoot some unexpected errors when you enable Salesforce server-to-server flow. |
| 12 | + |
| 13 | +## Who is affected? |
| 14 | + |
| 15 | +| Requirement type |Description | |
| 16 | +|---------|---------| |
| 17 | +|**Client app** | Teams | |
| 18 | +|**Platform** | Web and desktop clients | |
| 19 | +|**OS** | Windows and Mac | |
| 20 | +|**Deployment** | User managed and admin managed | |
| 21 | +|**CRM** | Salesforce | |
| 22 | +|**Users** | Administrator | |
| 23 | + |
| 24 | +## Symptoms |
| 25 | + |
| 26 | +When you try to enable Salesforce with server-to-server flow, one of the following error messages is displayed. |
| 27 | + |
| 28 | +- Couldn't get deployment status due to incorrect ID format. |
| 29 | +- Couldn't find the connected app. |
| 30 | +- Couldn't get user license ID is missing to create connection user. |
| 31 | +- Couldn't fully remove connection data from Dataverse. Contact Sales support to request manual cleanup. |
| 32 | +- Couldn't complete the connected app or permission set deployment to Salesforce. Try again. |
| 33 | +- Couldn't complete the connected app deployment to Salesforce. Try again. |
| 34 | +- Couldn't complete the permission set deployment to Salesforce. Try again. |
| 35 | + |
| 36 | +## Cause |
| 37 | + |
| 38 | +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 may occur. |
| 39 | + |
| 40 | +## Resolution |
| 41 | + |
| 42 | +To resolve this issue, try again. If the issue persists, gather the error details and contact Microsoft support. |
| 43 | + |
| 44 | +## More information |
| 45 | + |
| 46 | +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. |
| 47 | + |
| 48 | +[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)] |
0 commit comments