Now Available in Community - New TechTalk Videos for 2020
2020 release wave 1 Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have few clarificaion on DevOps. We are software development taking in charge of maintaining D365 finance (Dev & maintenance) for a Client. Before us another development company is taking care of support and they linked their DevOps portal into various sandbox enironment.
Now we have very little or no communication with the previous development company. All we as is a credentials which does not have full access.for example another day we tried to create a branch from Main trunk which we could not. since the account does not have that permission.we have access to one folder where we check in and check out
Now In this context I have few queries.
1) How source code will be maintained in DevOps for D365. Which folder contains full source code and which contains changes.
2) In case previous dev company block the access to DevOps, Can we spin up our own devops account and connect to D365 and transfer the codefrom Prod/Test/QC/Dev for code promotion? Can we still function and get codes from PROD?
3) How to verify that that the code we see is latest and greatest copy of Prod environment?
The DevOps tenant should be owned by the customer, not the partner. You need to discuss with your customer what they had agreed with the previous partner.
- The previous partner changes the ownership of the DevOps tenant to your customer. This only works if they didn't create multiple projects for different customers within the same tenant
- New DevOps tenant is created for the customer. Current source code is checked in and from now on it's maintained in this new DevOps project. You will lose all change history of objects, as well as any discussions on the task, making it very difficult to maintain the codebase (depending on complexity of the codebase).
You can't continue working with only limited access to DevOps.
About your questions:
1) The same folder contains the full code as well as change history for all objects. If multiple branches are used, each branch contains all objects in the branch, as well as all changes in that branch
2) Yes, you can start using new DevOps project. There is no source code in PROD so you can't get code from there. You can only get source code from the existing DevOps project. Either by mapping the folders in your dev system and getting latest, or getting the model files from the build pipeline of the old DevOps project.
Nikolaos provided a correct and extensive answer. I can't comment that much more. I do agree with Nikolaos that each customer should own their own DevOps. This is also the intention from Microsoft. A partner usually also has its own DevOps which makes it easier for planning and execution, but after completing a customization, it should be handed over to the customer.
Note that when you say "which folder contains full source code and which contains changes" it's not entirely clear what you mean. Just want to clarify that you shouldn't check in the standard Microsoft code, but only the code that you create.
Thanks for the Inputs.
All the people that were on my Dynamics 365 Business Central Development courses for Microsoft Italy (and that will be in the next months) already knows that one of the topic that I always I try to emphasize is related to source code management.
Source Code Management (SCM) is a must to have when working with AL (code is now on files and not inside the database as in C/AL) and you absolutely need to have a good SCM system in place inside your organization.
Business Applications communities