How to execute SSRS 2012 report using stored credentials? - reporting-services

I'm trying to configure the data source for an SSRS 2012 report using the "Credentials stored securely in the report server" option. I specified an AD ID and password, and checked the "Use as Windows Credentials when connecting to the data source" option. I click the Test Connection button and I get "Login failed for user ad1\myuserid". I know the password is correct since I am using it for other things. The MSDN doc on this says it should work.
Does anyone else use an AD ID and password with stored credentials for SSRS 2012? Is there a trick to it?

It turns out the "log on locally" post was incorrect. You simply need to select the option to use credentials stored on the reporting server, provide the credentials, then check the "Use as Windows credentials when connecting to the data source" option. Test the connection, Apply the change and you're all set.

Related

Reusing the service account in an SSRS data source

SQL Server 2016 reporting. The SSRS service runs as an account that has read access in the database I'd like to run reports from.
I'd like to create a server level data source object that would use the Windows service account to connect, instead of storing the credentials in the data source itself. Is there a way to do so?
The "Without any credentials" option doesn't work, I've tried.

SSRS subscription with Oracle data source

We have an SSRS with Oracle as data source. Creating report Works, but creating subscriptions doesn't.
On the Data Source configuration page,i use Oracle internal user and enabled "Credentials stored securely on the report server". If i click Test Connectiong, it says the connectiong was succesful.
Creating a subscription gives the error "Subscriptions cannot be created because the credentials used to run the report are not stored, or if a linked report, the link is no longer valid."
Something i found out is that the reports i create have as data source :
Data Source=localhost;Initial Catalog=Production and Windows Integrated Security as credentials.
Shouldn't Oracle be the data source and what can i do to correctly configure the subscriptions?
seems datasource credentials are your windows credentials, try changing it to your oracle database credentials. check below link for more information of connection strings.
https://learn.microsoft.com/en-us/sql/reporting-services/report-data/oracle-connection-type-ssrs

SSRS 2012 - Prompting for credentials

I have a 2012 SSRS report with the following requirements:
When accessed (run), it must prompt for Windows (AD) credentials because users will be launching it from "group workstations" where the current username is "NurseStationNorth" (so I can't use integrated security).
I'd prefer to hard-code the data-source credentials to ensure that the database connection has all the rights/permissions needed for the report.
Because the report displays user-specific data, I need to pass the authenticated username (e.g. MyDomain\CoolUser) as a parameter to the report. I attempted to use the User!UserId global variable but it seemed to reflect the workstation username and not the credentials entered upon running the report.
I understand how to "Manage" the deployed SSRS report via SQL Server Reporting Services "Home" webpage, to configure the Data Source to always prompt for Windows credentials, but I'm not sure this is the behavior I'm seeking.
Any insight is appreciated.
Thanks,
Mike

Unable to add domain users to Sql Server login

I have configured SQL Server 2008 R2 for mixed mode authentication on a Windows Server 2008 R2 box. I have logged in using domain administrator account into Windows as well as into Sql Server. Now I am trying to add another domain user account as a new login but I am getting the error saying "Windows NT user or group '\' not found. Check the name again. (Microsoft SQL Server, Error: 15401)" though this user is present in domain. I am adding using Management Studio -> Logins -> New Login. When I search for the domain user using the search button the system searches successfully for the user but when I click ok button to create the login I get the above error. I have tried using T-SQL also to create the login but with the same error.
Need help!!
The problem was with SIDs. As we were using VMs the SID was the same and this was causing the error. After changing the SID using sysprep the problem got resolved.

credential in reporting service

I have a problem about the credential in reporting service..
When I choose option windows authentication for a report in SQL Server Reporting Services, only the administrator can view the report. The other users can't view the report. But when I set credential stored securely in the report server and enter the username and password, all users can view the report but some data of the report is not showing.
For your information, I have created the user in SQL Server and I have set the role and user mapping.
What should i do?
Based off of what you are saying I would guess that you have not added the users windows credentials to the proper group on the reporting server. The admin would have access as by default that role is already given permission in the proper groups.
Here is an article from Microsoft that explains this process.
http://msdn.microsoft.com/en-us/library/aa274425%28SQL.80%29.aspx
This is a good article on setting up role based security.
http://odetocode.com/articles/215.aspx
If I understand your question properly, you want to use your end-users' windows credentials from end-to-end with your reports. You do not want to specify a specify set of windows or SQL credentials to connect to your data source, you want to use the end users' credentials instead.
In order to accomplish this, you will need to grant the end-users rights to access your reports in SSRS as well as granting them rights to run the needed SQL on the underlying database.
Finally, if your SSRS instance is not running on the same server as your database, you may run into security delegation issues. You can read more about this topic by visiting http://support.microsoft.com/default.aspx?scid=kb;en-us;810572