The previous DBA here set up some SQL Server Reporting Services Reports to run automatically and email the report to users. When he left his accaount was disabled and now they don't work. The status on the subscription reads:
Failure sending mail: The permissions granted to user 'OURDOMAIN\old_DBA_Username' are insufficient for performing this operation.
Is there an easy way to change the owner, I have found the Owner field in the RS database in the subscriptions table and have though of just changing that, but don't want to break our production report service?
The other option of course is to create a new subscription and delete the old, but surly there is a better way.
Browse the web portal of a report server (SSRS Native Mode). In the web portal, select My Subscriptions on the toolbar and navigate to the subscription you want to modify or delete. Right-click the report and select Delete.
To do this follow these steps: Open Reporting Services Configuration Manager, and then connect to the instance of SQL Server Reporting Services. Click Microsoft service Identity on the left pane. Change the account and the password in the Account text box and the Password text box, and then click Apply.
Standard and data-driven subscriptions Reporting Services supports two kinds of subscriptions: standard and data-driven.
The solution posted here did the trick for me. Basically you midify the subscription owner on the SSRS database directly by running the script below.
DECLARE @OldUserID uniqueidentifier
DECLARE @NewUserID uniqueidentifier
SELECT @OldUserID = UserID FROM dbo.Users WHERE UserName = 'DOMAINA\OldUser'
SELECT @NewUserID = UserID FROM dbo.Users WHERE UserName = 'DOMAINA\NewUser'
UPDATE dbo.Subscriptions SET OwnerID = @NewUserID WHERE OwnerID = @OldUserID
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With