Change Dynamics BC credidentials to SQL Server Authentication fails
FDP
Member Posts: 4
I Follow this guide https://docs.microsoft.com/en-us/dynamics-nav/how-to--configure-sql-server-authentication-in-microsoft-dynamics-nav#ConfigNavServer to connect a Dynamics BC instance to an Azure SQL database
running this powershell command: Set-NAVServerConfiguration -DatabaseCredentials $Credentials -ServerInstance $NAVServerName -Force
give this warning:
WARNING: You should encrypt the connection to the database to help protect against network attacks, such as man-in-the-middle attacks.
To encrypt the connection, select the Enable Encryption on SQL Server Connections setting (EnableSqlConnectionEncryption = True) and clear the Enable
Trust of SQL Server Certificate setting (TrustSQLServerCertificate = False).
WARNING: The new settings value will not take effect until you stop and restart the service.
I have set and checked EnableSqlConnectionEncryption = True and TrustSQLServerCertificate = False
I also have runned Import-NAVEncryptionKey
restart of the service don't make any changes.
Manually changing the settings to SQL Server Authentication also reset it back to Windows Authentication.
Do any of you have a suggestion on how to set up af Dynamics BC with a Azure SQL database.
running this powershell command: Set-NAVServerConfiguration -DatabaseCredentials $Credentials -ServerInstance $NAVServerName -Force
give this warning:
WARNING: You should encrypt the connection to the database to help protect against network attacks, such as man-in-the-middle attacks.
To encrypt the connection, select the Enable Encryption on SQL Server Connections setting (EnableSqlConnectionEncryption = True) and clear the Enable
Trust of SQL Server Certificate setting (TrustSQLServerCertificate = False).
WARNING: The new settings value will not take effect until you stop and restart the service.
I have set and checked EnableSqlConnectionEncryption = True and TrustSQLServerCertificate = False
I also have runned Import-NAVEncryptionKey
restart of the service don't make any changes.
Manually changing the settings to SQL Server Authentication also reset it back to Windows Authentication.
Do any of you have a suggestion on how to set up af Dynamics BC with a Azure SQL database.
0
Answers
-
I've had some issues with this. I remember it had something to do with having
multiple servicetiers running on the database. I fixed this later with help from google.
But I got it running with one servicetier at first. (NAV2016)0 -
I get the warning when I try to connect the first service to the database, so I don't' think my problem is about multiple service tiers.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
