IBM Support

Unable to connect to Azure Data Source:Login failed for user 'token-identified principal'

Troubleshooting


Problem

When, trying to set up a data source connection with Azure SQL Database authentication fails when passing the JWT token to the Azure DB. 

Symptom

The following exception code is encountered

[Unexpected namespace format [test]. Expected 'namespace=CAMID("XXXXX")'.]]></event>Connection failed: com.ibm.cognos.jdbc.adaptor.sqlexception.SQLCognosInvalidLogonException: Login failed for user '<token-identified principal>'.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl6nAAC","label":"Data Source"},{"code":"a8m50000000Cl6OAAS","label":"Security-\u003EAuthentication\/SSO"}],"ARM Case Number":"TS009291311","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
06 May 2025

UID

ibm16855413