SQL Server Connected system OAuth2.0 Test failure

Certified Associate Developer

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

Parents
  • 0
    Certified Lead Developer

    There should be a more concise error in System Logs > tomcat-stdOut.log. Could you post that exception here? Without a more concise error, we're guessing about many variables related to your Appian configuration and where your database lives.

    IF your database is in Azure Cloud, also check these:

    • On a different project / platform, AzureTenant JDBC property needed to be added to the JDBC connection string for a Teams integration that also used ServicePrincipal. I'm not sure if that applies to your situation, but it's pretty easy to test.
    • Appian might have additional VPN requirements depending on your environment's configuration:
      docs.appian.com/.../Microsoft_Azure_DB_Integration_Appian_Cloud.html
  • 0
    Certified Associate Developer
    in reply to Jesse Knight

    I already tried to find the error in logs but could not obtain anything specific.

    2025-09-25 01:36:31,065 [Appian Timer - 1] WARN com.appiancorp.common.ObjectSynchronizer - 1 services were missing users.
    2025-09-25 01:36:57,229 [pool-109-thread-1] INFO com.appiancorp.oauth.inbound.authserver.tokens.TokenFamilyMaintenanceRunnable - Starting OAuth Token Family table maintenance...
    2025-09-25 01:36:57,232 [pool-109-thread-1] INFO com.appiancorp.oauth.inbound.authserver.tokens.TokenFamilyMaintenanceRunnable - Finished OAuth Token Family table maintenance.
    2025-09-25 01:40:17,842 [Appian Timer - 3] ERROR com.appiancorp.common.monitoring.AbstractLogScheduler - Error logging for class com.appiancorp.object.versions.monitoring.DesignObjectVersionMetricsLogScheduler
    com.appiancorp.suiteapi.common.exceptions.AppianException: Invalid Type: {www.appian.com/.../2009}TranslationString (APNX-1-4047-000)

Reply
  • 0
    Certified Associate Developer
    in reply to Jesse Knight

    I already tried to find the error in logs but could not obtain anything specific.

    2025-09-25 01:36:31,065 [Appian Timer - 1] WARN com.appiancorp.common.ObjectSynchronizer - 1 services were missing users.
    2025-09-25 01:36:57,229 [pool-109-thread-1] INFO com.appiancorp.oauth.inbound.authserver.tokens.TokenFamilyMaintenanceRunnable - Starting OAuth Token Family table maintenance...
    2025-09-25 01:36:57,232 [pool-109-thread-1] INFO com.appiancorp.oauth.inbound.authserver.tokens.TokenFamilyMaintenanceRunnable - Finished OAuth Token Family table maintenance.
    2025-09-25 01:40:17,842 [Appian Timer - 3] ERROR com.appiancorp.common.monitoring.AbstractLogScheduler - Error logging for class com.appiancorp.object.versions.monitoring.DesignObjectVersionMetricsLogScheduler
    com.appiancorp.suiteapi.common.exceptions.AppianException: Invalid Type: {www.appian.com/.../2009}TranslationString (APNX-1-4047-000)

Children