Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Hi, While trying to connect to SQL Server connected system using OAuth 2.0, the test connection is failing. i am trying to connect via service principal. The token generation is successful (tested separately) but in the connected system for SQL Server, it is not working at all. Please advise,
Refer Attached screenshots
Discussion posts and replies are publicly visible
My guess, The issue is the SQL Server database user for the service principal (Client Id)is not created or lacks permissions.Try below links for referencehttps://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-service-principal?view=azuresqlhttps://learn.microsoft.com/en-us/sql/connect/jdbc/connecting-using-azure-active-directory-authentication?view=sql-server-ver17https://docs.appian.com/suite/help/25.3/setting_up_an_oauth_connected_system.htmlhttps://docs.appian.com/suite/help/25.3/Configuring_Relational_Databases.html#sql-server
Hi,There was an IP whitelist issue on the firewall and we got it fixed to ensure the VPN tunnel connectivity. however, a new error is being faced saying invalid credentials. Internally, we are able to use the same service principal successfully. not sure what could be done next. The logs shows the below error:
2025-09-29 18:44:13,781 [ConnectionTimeoutBasicDataSource-0] INFO com.appiancorp.connectedsystems.http.oauth.HttpOAuthTokenRetriever - Error while retrieving token: unauthorized attempting to pass Authentication in body 2025-09-29 18:44:13,950 [ConnectionTimeoutBasicDataSource-0] INFO com.appiancorp.connectedsystems.http.oauth.HttpOAuthTokenRetriever - Error while retrieving token using auth in body: unauthorized
Client Id, client secret, or token endpoint is incorrect or the OAuth credentials are not sent as parameters in the request body exactly as expected.