Welcome to the Alteryx Knowledge Base

Error: "Service Request Failed" after enabling SSO with Azure in Alteryx One Platform
user

Created/Edited - 8/3/2026 by Marni Monika | Alteryx

Description

Upon enabling Azure SSO after setup and testing in Alteryx One, users experience difficulties logging back into the workspace and encountering authentication errors. The test connection does not indicate any errors, making it difficult to diagnose the issue.

Issue

When setting up SSO, if the test connection is successful and you enable SSO in your workspace, you will be logged out and redirected to the login page. Upon entering your login credentials, you may encounter the following error:

{
  "exception": {
    "name": "RestServiceException",
    "message": "Service request failed",
    "details": "Exception occurred when exchanging auth code with access token"
  }
}
Environment
  • Alteryx One
Prerequisites
  • Be a user on a Professional or Enterprise Alteryx One plan
  • Workspace Admin role
  • Have administrative access in the target Azure instance
Cause

The issue occurs due to providing an incorrect URL in the Discovery Endpoint field.

Resolution
  1. Go to Workspace Admin > Single Sign-On.
  2. Replace "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration" in the Discovery Endpoint field with "https://login.microsoftonline.com/{tenant_id}/v2.0/.well-known/openid-configuration", where "{tenant_id}" is your Azure app registration's Directory (tenant) ID.
  3. Click Import From URL to automatically fill in the other fields.
  4. Test the connection again.
.image.png
Additional Information
Was this article helpful?