web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to connect UAT SQL database from DEV VM

(0) ShareShare
ReportReport
Posted on by 417

Hi,

We recently moved our DEV VM from Microsoft managed to Cloud hosted. But our UAT and Production are managed by Microsoft.

Previously when DEV VM are managed by Microsoft to debug production issues we perform DB refresh of UAT from PROD and connect the DEV instance and UAT DB by changing the connection string in web.config in K:\AOSService\..in DEV VM.

This method worked fine but not working now after we moved the DEV VM to cloud. Below is the steps we are doing. Please advice where we are doing wrong. We cannot restore the Prod DB in Dev since the size will be in TB.

Steps:

1) In LCS requested DB access and adding Dev VM IP address in UAT environment page.

2) Change the web.config (based on values got from LCS) in Dev VM to connect UAT DB

Regards,

Manivannan

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: How to connect UAT SQL database from DEV VM

    Hi,

    it doesn't matter if your dev environment is in the cloud or in your local infrastructure or MS managed, the process is exactly the same.

    But the process has changed a bit if your UAT environment is migrated to Self service topology. You need one more step between your current steps. You need to request Just-in-time access to the UAT database. This is done in the Environment details page in LCS.

    You can find the instructions here: docs.microsoft.com/.../dbmovement-scenario-debugdiag

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 753

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 752 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 534 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans