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

by | Oct 15, 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.

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

february

26feb12:00 pm1:00 pmShorten your Quote-to-Cash Cycle with CPQ

27feb11:00 am12:00 pmConfab With Stoneridge - Livestream - Cool Features in Dynamics 365 Business Central

march

04mar12:00 pm12:30 pmPower BI & Reporting with Dynamics 365 Customer Engagement

04mar2:00 pm3:00 pmHow to Incorporate the Power Platform with Dynamics 365 Finance and Supply Chain Management

12mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Power Apps AI Builder

18mar12:00 pm1:00 pmMoving from CRM On Prem to the Cloud – Is it worth It?

18mar2:00 pm3:00 pmThe Past, Present, and Future of Dynamics 365 with Machine Learning and Artificial Intelligence

25mar2:00 pm3:00 pmAchieve Total Data Access & Future-Proof Your Reporting

26mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Portals

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