SQL Replication issue - Permission

Dear Experts,

I am following this

https://www.mssqltips.com/sqlservertip/2386/initialize-sql-server-replication-using-a-database-backup/

The issue now is the it seems that a domain admin account does not have the permission to conduct the replication.

We then have this error message when we tried to start the job: "Executed as user "domain account". A required privilege is not held by the client. The step failed"

So in the first and third of the jobs from the SQL Agent Service, we have to change the Run As from [REPL][Domain account][server job] to SQL Server Agent Service Account.

We really have no idea what is the required privilege of the domain account to execute the SQL replication process.
LVL 1
Anonymous KHIT EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pushpakumara MahagamageVPCommented:
Use SQL Server authentication instead of Domain account.

If you need to use Domain account, grant necessary SQL privileges for same domain account at Distributor/Publisher and on Subscriber

https://esha.zendesk.com/hc/en-us/articles/202977089-Granting-Access-to-Additional-Users-with-SQL-Server-Management-Studio-for-Genesis-Food-and-Food-Processor 
https://blog.sqlauthority.com/2008/12/27/sql-server-add-any-user-to-sysadmin-role-add-users-to-system-roles/

Don't use domain admin account as replication agent.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.