Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

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

  • 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans