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, ...
Suggested answer

Knowing Code repository a D365 instance pointing to

(0) ShareShare
ReportReport
Posted on by 15
Hi, 
I wonder if there anyway (out of the box OR using customization) to know where a D365 instance pointing to. 
 
We have few env and each one has different code bases.. from looking at URL its not always obvious that which Repo branch its using. 
 
for example a Env with URL https://lcs-TEST1194f6be3259ec80daaos.axcloud.dynamics.com/ , there is no way to tell where its pointing to unless someone has access to remote machine.
 
 
If not available OOTB , we may consider adding some form or workspace with all these linkage info. 
 
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    299,545 Super User 2025 Season 2 on at
    Knowing Code repository a D365 instance pointing to
    Hi,
     
    When creating development environments, you can provide your own naming. You can consider including the branch as part of the VM name. At my company, we also have a lot of environments as we are a global ISV. We have naming conventions to indicate the product, branch and user or purpose. E.g. we have DQS-DEV-AAC to indicate it is a VM for Data Quality Studio, branch Development and it is my sandbox.
  • Suggested answer
    Kevin Xia Profile Picture
    Microsoft Employee on at
    Knowing Code repository a D365 instance pointing to
    Hi,
    Depending on the problem you describe, it seems that you are interested in distinguishing which environment or code inventory the instance is in the problem. You can add the corresponding parameters to the URL to indicate the current environment or code base, such as URL https://lcs-TEST1194f6be3259ec80daaos.axcloud.dev.dynamics.com/ or https://lcs-TEST1194f6be3259ec80daaos.axcloud.dynamics.com?env=dev.

    Of course, Custom Metadata is also a solution. Develop a custom solution that integrates with your version control system (e.g., Git, TFS) and retrieves the branch or code repository information based on the environment. This solution can then display the relevant details within Dynamics 365 or any other preferred interface.

    Best regards,

    Kevin

  • Martin Dráb Profile Picture
    236,552 Most Valuable Professional on at
    Knowing Code repository a D365 instance pointing to
    Note that non-development environments aren't connected to source control,. They also don't have any information about where their code came from, because they've got a deployable package and they don't know where the original source code is stored. If you don't have any naming convention (as others suggested) nor you store this mapping anywhere, you'll need to extract this information from Azure DevOps. Release pipelines tells you what was deployed to which environment, and build pipelines tell you what code was used for it.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,841

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 531 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans