How to Connect to Your Non-Production D365 Finance and Operations Database

by | Updated October 17, 2019 | Dynamics 365 for Finance and Operations

Microsoft recently changed where Azure databases were stored for many clients which resulted in some confusion about why ‘in non-production’ users had been able to connect to their database, but now couldn’t.

Around the same time, Microsoft made a change to how you connect to the Azure databases which is outlined in this article.

To connect your Dynamics 365 Finance and Operations database follow the steps below:

**Note that you have to connect to the Azure database from one of the servers for that environment.  You cannot connect to a UAT Azure database from the Test AOS.

1) Connect to one of the AOS’ or the BI server for the environment you want to connect to Azure.

  • Go to the environment page in LCS:

SSI Test

  • Go to the Local Administrator accounts section and pick one of the environments and login

Local Admin Accounts

2) Launch SQL Server management studio

3) When SQL Server Management Studio launches it will want you to connect to the server.  Here is how you get all the values

  • For the Servername, you need to go to the database accounts section for the environment page and find the entry that has axdbadmin for the username.

  • You need to copy the SQL Server name which is the part before the \ in the SQL Server\Database name field.

Database Accounts

  • Paste this value in the Server name field in SQL Management Studio.

SQL Server

  • Then you need to add .database.windows.net to the end of the string.

Connect to Server

  • Change the authentication drop down from ‘Windows Authentication’ to SQL Server Authentication

SQL

  • For the Login field type in axdbadmin

axdbaadmin

  • For the Password field, you need to go back to LCS and for the entry with axdbadmin for the user name click the copy button before the password field to copy the password

  • Paste the copied password into the password field in SQL Server Management studio

Password

  • Click on the Options button in the lower right-hand corner

Options

  • That should have brought up the Connection Properties tab. You need to past in the database name in the ‘Connect to database’ dropdown.  Note clicking the dropdown and selecting browse server will result in an error.  You have to paste the database name in this field.
  • To get the database name you can go back to LCS under database accounts. Find the entry that has axdbadmin for the username and you want to copy the part after the \ in the SQL Server\Database Name field.  Also, note that you don’t want to copy the (AXDB) portion.

  • Paste this in the value copied from LCS to the ‘Connect to database’ field.

  • Click connect and you will now see your Dynamics 365 database listed

If you need assistance with this process or don’t seem to have the correct permissions, reach out to the team at Stoneridge Software for help with your system.

Related Posts

1 Comment

  1. Ravi Theja Madisetty

    Thanks for post. It helped me lot.

    Best Regards,
    Ravi Theja Madisetty

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

december

02dec11:00 am12:00 pmConfab LIVE with Stoneridge - Let’s Talk Dynamics – Open Q&A Session

09dec12:00 pm12:45 pmHow to Become a Dynamics 365 Consultant

15dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year-End Close

january

19jan10:00 am11:00 amTax Compliance and Coffee – a Virtual Discussion

26jan2:00 pm2:45 pmKeep Your Data Secure and Move to the Cloud with GP

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X