LCS Archives - Monsieur Winner https://blog.monsieurwinner.com/tag/lcs/ MS D365FO || Monsieur D365FO Fri, 12 May 2023 19:47:26 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 https://i0.wp.com/blog.monsieurwinner.com/wp-content/uploads/2022/09/cropped-Winner-.png?fit=32%2C32&ssl=1 LCS Archives - Monsieur Winner https://blog.monsieurwinner.com/tag/lcs/ 32 32 209261758 Create a Microsoft support ticket || Dynamics 365 https://blog.monsieurwinner.com/2023/05/12/create-a-microsoft-support-ticket-dynamics-365/ https://blog.monsieurwinner.com/2023/05/12/create-a-microsoft-support-ticket-dynamics-365/#respond Fri, 12 May 2023 19:23:52 +0000 https://blog.monsieurwinner.com/?p=607 Late year 2022, Microsoft announced the One Dynamics One Platform, which vision is to unify the administrator user experience between

The post Create a Microsoft support ticket || Dynamics 365 appeared first on Monsieur Winner.

]]>
Late year 2022, Microsoft announced the One Dynamics One Platform, which vision is to unify the administrator user experience between “Finance and Operations apps” and “Power platform”.

As of today, we can feel this with the way support tickets are being raised from Finance and Operations Apps. Traditionally, issues are submitted via the Life Cycle Services(LCS) portal.

Now, we can also submit support request on the https://admin.powerplatform.microsoft.com/support . It looks seamless and you can see all your environment across Power platform and D365FO, to BC.

 

Here on the left, you would see the support request for D365FO, D365FO on-premises and even for dataverse at a glance.

The post Create a Microsoft support ticket || Dynamics 365 appeared first on Monsieur Winner.

]]>
https://blog.monsieurwinner.com/2023/05/12/create-a-microsoft-support-ticket-dynamics-365/feed/ 0 607
Rollback failed -Dynamics 365 Finance and Operations On premises. https://blog.monsieurwinner.com/2022/09/23/rollback-failed-dynamics-365-finance-and-operations-on-premises/ https://blog.monsieurwinner.com/2022/09/23/rollback-failed-dynamics-365-finance-and-operations-on-premises/#respond Fri, 23 Sep 2022 03:28:41 +0000 https://blog.monsieurwinner.com/?p=509 As part of the Dynamics 365fo on-premises architecture, we have the Environment Orchestrator which enables on-premises environment management from LCS.

The post Rollback failed -Dynamics 365 Finance and Operations On premises. appeared first on Monsieur Winner.

]]>
As part of the Dynamics 365fo on-premises architecture, we have the Environment Orchestrator which enables on-premises environment management from LCS. We can consequently monitor our deployments in the OrchestratorData database via SQL management studio.

There are 5 steps for on-premises, whether you are deploying a package, an instance, or an ISV solution:

Step 1: Downloading the artifact from LCS and cleaning up services

Step 2: Extracting the artifacts from LCS

Step 3: Executing the pre-deployment scripts

Step 4: Deploying services

Step 5: Executing the post-deployment scripts

 

Now, I am stuck. arrrrrrrrrrrrrrrh 🙁 .

There are times when a package deployment fails on LCS. Let’s say, we found out the issue, and we want to reapply a new package. We discover that Abort/retry also fails. It can be quite frustrating when rollback keeps failing.

What to do ? 

To resolve this, and have the environment status back tot deployed, we will try to update it status to the last successful package application.

Run the following command to get the JobID and TaskID of the last successful run.

select * from OrchestratorJob order by LastProcessedDateTime desc
select * from RunBookTask order by StartDateTime desc

Execute both script at a time in SSMS

 

There is light at the end of the Tunnel? 

Now, let’s run the following script and wait few minutes for the success mail from LCS. Your environment page on LCS becomes a clean slate with no error.

update OrchestratorJob set State = 1 where JobId = ‘xxxxxxxxxxx’update RunBookTask set State = 1, Retries = 1 where RunbookTaskId = ‘xxxxxxxxxxxxx’

 

Merci.

The post Rollback failed -Dynamics 365 Finance and Operations On premises. appeared first on Monsieur Winner.

]]>
https://blog.monsieurwinner.com/2022/09/23/rollback-failed-dynamics-365-finance-and-operations-on-premises/feed/ 0 509