Personalized Community is here!
Quickly customize your community to find the content you seek.
Latest TechTalk Videos
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
We are happy to announce our first release of an Azure DevOps task in the Visual Studio Marketplace to support Dynamics 365 for Finance and Operations ALM processes. We have more tasks and features planned, and we will continue to publish updates and features as well as new tasks as they become available.
This first release contains a single task that can be used in a Release pipeline to upload your software deployable package to a project's asset library in Dynamics Lifecycle Services (LCS). As this task is being released, the team is hard at work to create the next task which will allow customers and partners to deploy a specific asset from the asset library into their environment, which will complete a set of two tasks to allow continuous deployment for X++ developers!
We realize documentation is needed so we are also working on adding detailed documentation for these tasks on our docs website. For those who can't wait, the only detail that may not be intuitive and requires some specifics is the need for an application registration in Azure Active Directory for your Azure DevOps to connect to LCS. For the tenant used for the LCS project in question, you need to register a native application in Azure AD and give "Dynamics Lifecycle services" API permission as per this documentation (we recommend using the new preview app registration feature). Ensure the user you will use for the connection has access to the project, as well as granted consent for the application registration in Azure AD. Review the consent documentation to enable a specific user, or grant admin consent for the whole tenant.
Also note that the release task can execute on a hosted agent and doesn't require a build VM or otherwise private agent. When using hosted agents, make sure to use the latest host ("Host VS2017").
@The Deployer, i am getting the "Leaf path not found" error even when the release pipeline is configured with the following Dynamic path : $(System.DefaultWorkingDirectory)/_Build AWMS - Development/Packages/AXDeployableRuntime_7.0.5286.41360_$(Build.BuildNumber).zip. The root issue here is the Dynamics version so the release works until the environment its updated/upgraded. Is there a way that we can go around the Dynamics' version number in the package name (in my case: 7.0.5286.41360)? is there a token/wildcard that can be used to get the latest package generated?
It seems that over the weekend the Preview Mode became GA (I was in 'legacy' version fine last week).
You can however still access the old version within the App Registration screen - 'Still want to use App registrations (Legacy)? Go back and tell us why' just above the list of applications.
You have to do this as the app has to be a true legacy version Native app - the replacement, 'Public client Mobile & Desktop' is completely different, but is the only option other than Web in the new App Registration. Worked straight away when created this way for us having already done the other config as per the instructions.
Oh and this is AMAZING. Thankyou!!!
@Kasthu: Looks like you have an issue with the AAD setup. Make sure the client app ID is created as "native".
@steen.rabol/Dick Wenning: you should tie your release pipeline to your build. Picking up the package from a folder from a previously run build is not a good idea. See docs.microsoft.com/.../artifacts .
I'm facing the same issue as Dick Wenning, any suggestions ?
I have followed your link to release the package from azuredevops to LCS. I am getting the error
2019-04-15T06:58:04.9203959Z Uploading 'D:\a\r1\a\Unified Operations platform - Build Main\Packages\AXDeployableRuntime_7.0.5179.35390_2019.4.10.3.zip' as '10' to asset library of project '1350888'
2019-04-15T06:58:04.9252084Z Authenticating with AAD on login.microsoftonline.com/.../oauth2 for API lcsapi.lcs.dynamics.com
2019-04-15T06:58:06.3074780Z ##[error]Exception calling "AcquireToken" with "3" argument(s): "unknown_user_type: Unknown User Type"
Please resolve this
@Joris Good job! It save a lot of time in deploying because the package is already deployed on Asset Library.
Only one question: Every F&O upgrade, the version number change and we need to reconfigure the Release Pipeline. There is any parameter for version number like there is for build number?
Thanks for the job.
Will deployment task be available in the same time than the One Version of Dynamics ?
Great! I was waiting for this for so long! Now my next which is scheduled/automated deployment!
Btw, detailed instruction can be found here :
good work! wonderful!
Business Applications communities