Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Avoiding SysAdmin permission in SQL Server for CRM Service User

Posted on by Microsoft Employee

Our CRM is hosted by an external hoster and it is impossible to get permanent sysadmin rights for a service account. CRM Deployment Guide explaines that sysadmin is the minimum permission. Does anyone have the same problem ? I it possible to reduce permission in SQL Server for CRM ? I would like to read your best practices.

TIA

*This post is locked for comments

  • Verified answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Avoiding SysAdmin permission in SQL Server for CRM Service User

    :)) I'm lucky enough to have those permissions (or, at least, I can get them when I need to here).

    But this may help - I think it's aligned with what I wrote above:

    serverfault.com/.../minimal-required-user-permissions-for-running-ms-crm

    For the updates, I don't think you need sysadmin either, since those updates will rarely do anything on the SQL server that goes beyond DBO permissions on the config/org databases

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Avoiding SysAdmin permission in SQL Server for CRM Service User

    Thank Alex for your reply. I got no usefull suggestion from the hoster, only to avoid sysadmin. I will start with db_owner on crm/config databases and Server role db_creator and then see what happen during the next update. Did you have trouble during crm update with your security configurations ?

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Avoiding SysAdmin permission in SQL Server for CRM Service User

    Hi,

     I don't think your service account has to be a sysadmin account - it's mostly required to use the deployment manager (since, when using the deployment manager, you may have to create new databases etc). Other than that, it seems dbo on the organization/config database should be good enough.. but then again, if they are hosting the CRM for you, what are they suggesting?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans