Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

SQL Rights To Add Windows Authenticated SL User

Posted on by Microsoft Employee

Hello:

Does a member of the SL Administrators Group need the SQL Server "sysadmin" Role to add Dynamics SL Users?

Thanks,

Mike

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SQL Rights To Add Windows Authenticated SL User

    Thank you Erich!

  • Verified answer
    Erich Strelow F Profile Picture
    Erich Strelow F 1,642 on at
    RE: SQL Rights To Add Windows Authenticated SL User

    In a word... yes.

    In order to add a Windows Authenticated User, SL needs to create a SQL login, map it to both the APP and SYS database and add the application role. These actions combined generally means sysadmin: access to both databases, login creation, and role assignment. You might work it out with a combination of securityadmin, db_accessadmin et al, but you'll end up with a powerful role anyhow.

    If you want to separate the DBA role, in theory a SQL script could be built to perform the required steps.

    Windows authentication is a recent addition to SL and it's still kind of patched up.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans