Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Disaster Recovery

Posted on by 595

I have a client who just switched over from SQL authentication to Windows authentication.  They had been replicating the SQL databases over to another server as part of their DR plan.  Now that we've switched authentication methods their IT dept is saying they can no longer replicate them because there is no primary key column any longer.  Does windows authentication remove this?

Cherie

*This post is locked for comments

  • Cherie Kane Profile Picture
    Cherie Kane 595 on at
    RE: Disaster Recovery

    Yes Eric, that is perfect!  Thanks so much.

  • Erich Strelow F Profile Picture
    Erich Strelow F 1,642 on at
    RE: Disaster Recovery

    Check out whether they have permission issues on the SQL side. As odd as it seems, a regular Windows authenticated SL user does *not* have read access to the SQL tables, even though they can use the SL client application with no problem at all. This is so by design.

    SL uses a not so well known SQL feature called Application Role, so an authenticated user can access the data only through the SL client. This prevents tampering the database through Excel, Infopath or any tool easily available.

    This also prevents running SQL scripts on the side, like backup, index rebuild or replication tasks.

    The thing with this approach is that the TI dept may misdiagnose a permission issue saying "I know the permissions are right, since SL works".

    In order to run maintenance SQL script, you should setup custom SQL permissions, or use the sysadmin role.

  • NameBrands Profile Picture
    NameBrands 50 on at
    RE: Disaster Recovery

    Authentication has nothing to do with table structure.  The Replication would have to be re-built and re-established with Windows Authentication in mind.

    Or we are missing some key facts.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans