Applies to Event Management & Employee Training Management
Troubleshooting: AADSTS650051 Consent action for application failed
Overview
When attempting to consent to the SharePoint | sapiens application, you may encounter the following error:
AADSTS650051: Consent action for Application '<Application_ID>' failed due to following error:
The <Application_ID> service principal name is already present for the tenant <Tenant_ID>.
This error appears during the Microsoft Entra ID (formerly Azure AD) consent process and typically indicates that Entra believes a service principal (Enterprise Application) for the app already exists in the tenant.
Why This Error Occurs
The AADSTS650051 error usually means:
Microsoft Entra ID has detected that a service principal with the same Application ID already exists.
In many cases, this detection is a false positive, often caused by incomplete propagation or a temporary conflict within the tenant’s directory metadata.
Despite the message, no conflicting service principal may actually exist.
Recommended Steps
1. Try the Consent Action Again
In most cases, simply retrying the consent resolves the issue.
Propagation delays or transient directory conditions often cause temporary conflicts that disappear on retry.
2. Try the Consent Action Again in an Incognito Browser
Try the same process again in an incognito browser. The issue sometimes happens if there are multiple accounts available to sign in. By using an incognito window, the account you want to use has to be entered.
3. If the Error Persists
If you continue to see AADSTS650051 after retrying:
The tenant may contain an orphaned or partially created service principal.
A backend directory inconsistency may be preventing the consent from completing.
Please contact our support team, and we will assist you in resolving the issue.
We can help verify the service principal state and guide you through corrective steps if necessary.
Need Help?
If the problem persists or you’re unsure how to proceed, reach out to our support team—we’re here to help ensure your SharePoint | sapiens setup completes smoothly.