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
Reply
  • 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
Children