|
| 1 | +--- |
| 2 | +title: Couldn't create user when enabling Salesforce server-to-server flow |
| 3 | +description: Resolves an error that occurs due to Salesforce Integration license limit. |
| 4 | +ms.date: 05/15/2024 |
| 5 | +author: sbmjais |
| 6 | +ms.author: shjais |
| 7 | +ms.custom: sap:CRM Permissions and Configurations\CRM Settings |
| 8 | +--- |
| 9 | + |
| 10 | +# Couldn't create user when enabling Salesforce server-to-server flow |
| 11 | + |
| 12 | +This article helps you troubleshoot the "Couldn't create user because Salesforce integration license limit reached." error when you enable 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 enable Salesforce with server-to-server flow, the following error message is displayed. |
| 28 | + |
| 29 | +> Couldn't create user because Salesforce integration license limit reached. |
| 30 | +
|
| 31 | +## Cause |
| 32 | + |
| 33 | +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. |
| 34 | + |
| 35 | +## Resolution |
| 36 | + |
| 37 | +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. |
| 38 | + |
| 39 | +To check the number of integration user licenses available in your Salesforce organization: |
| 40 | + |
| 41 | +1. Sign in to Salesforce as an administrator. |
| 42 | +2. Go to **Setup** > **Company Settings** > **Company Information**. |
| 43 | +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. |
| 44 | + |
| 45 | +## More information |
| 46 | + |
| 47 | +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. |
| 48 | + |
| 49 | +[!INCLUDE [Third-party disclaimer](../../includes/third-party-disclaimer.md)] |
0 commit comments