Hi @Cataster ,
You said before that the password is encrypted through the query, and the user name itself is also encrypted.
The ConnectionString column in DataSources contains informations about embedded data sources of reports; they are sensitive data and therefore encrypted; there is no official to encrypt them, even not for a sysadmin. But you can look them up via Report Manager URL.
You can only query the connection string for shared data sources. Transact-SQL script to get connection string of all SSRS Shared Datasources
Through the following statement:
select
CONVERT(NVARCHAR(max),CONVERT(VARBINARY(max),ConnectionString)) As ConversionAttempt,
ConnectionString,*
from ReportServer..DataSource
The username and password obtained from the query are encrypted, you could try the script in this link: https://www.sqlservercentral.com/forums/topic/decipher-reportserver-datasource-connectionstring
Hope this helps.
Best Regards,
Joy
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.