web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

sa or sysadmin role on the SQL server

(0) ShareShare
ReportReport
Posted on by 60

Right now my issue is smartlist builder needing the sa user in GP, but I'm struggling in general with how security really works in GP.

I'm not sure if what I've been told and what I've seen so far are really accurate.

1.  The GP client hashes the password that it assigns to every SQL login.

  1.  
    1. In this way it doesn’t matter what the logon has access to in SQL because the user can’t login because they don’t know the password for their SQL login.
    2. The sa password is the only GP password not hashed
  2. There is some SQL administration that needs done on the GP’s instance from Management Studio
    1. So we give DBAs Windows Logins access to individual databases
    2. We can’t make them a sysadmin because there is sensitive data in GP that we probably want a DBA looking at .
    3. The only real way to deny SELECT on that data is to have them not be a sysadmin
  3. The sa account needs to be used for just about anything that happens outside of the regular GP client.
    1. The SQL server reporting service wizard
    2. Publishing views in smartlist builder
    3. Etc…

So I’m hoping that there is something we’re missing here.

Basically what we’ve done is to give the owner the sa password and we have him type it in if we need it.

In theory that sounds fine but in the few months that we’ve been using GP 2010 there is need of that password lurking around every corner.

Last week we needed to publish reports to SSRS and we tried to use the reporting service wizard and needed the sa password to log in.

Now we have a view that needs to be published in smartlist builder and we seem to need the sa password.

It seems like this would be a non-issue if GP just used field or row level encryption to mask the data in sensitive tables.

Am I missing something here?

Is this really normally this convoluted ?

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Richard Whaley Profile Picture
    25,195 on at
    Re: sa or sysadmin role on the SQL server

    When you create a new SmartList, you must create a security object and then assign the users to that through roles, etc.  A short answer on how to do this is not available.  We cover SmartList security in our Customizing GP through the Builders book that covers Smartlist Builder, Excel Report Builder, and Navigation List Builder.

  • Suggested answer
    L Vail Profile Picture
    65,271 on at
    Re: sa or sysadmin role on the SQL server

    GP encrypts the passwords of all GP users except 'sa'. Technically, 'sa' is not a GP user, it is a SQL user. Since only GP knows the algorithm to decrypt the passwords, the user will not be allowed to log in from outside the GP user interface. Sounds like you have that part down solid.

    There are several places where the need to use the 'sa' user is hard-coded. There is no SQL reason why another user couldn't do some of these things except the code is checking to make sure the logged in user is 'sa' before it will continue executing. Unfortunately, there is no way around those instances. Business Alerts, PSTL Tools and Backups come to mind.

    Outside the UI, there are still some things related to GP that require the 'sa' password. You will run into more and more as you navigate through. Richard is speaking of the internal GP security to windows and objects and such. SmartList Builder only needs special security through SQL if a view or direct table is being used as a source.

    Good luck! Looks like you've got it pretty much figured out.

    Kind regards,

    Leslie

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans