Showing posts with label D365. Show all posts
Showing posts with label D365. Show all posts

Wednesday, 27 September 2023

Service update failure due to Globalupdate script for service model: AOSService on VM failed due to report deployment

Hello Folks, 

I am writing this post specifically to target the issue where step fails due to report deployment. For other issues, you can refer to

https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/deployable-package-troubleshooting

While applying recent service update 10.0.36 to my cloud VM, I have received an issue as 

GlobalUpdate script for service model: AOSService Failed on <VM Name>

To identify the exact issue, just navigate to 

C:\DynamicsAX\RunbookExecution-ExecuteParallelRunbook-<PackageId>\Output 

folder in your VM. 

Look for latest AxUpdateInstaller file, scroll through and you will find the error reason. 




Look for the failed step in the AxupdateInstaller file or mentioned failed step over LCS. In my case, it was step 25. Navigate to the folder with the same name. 

Since the issue was on report, look for latest UpdateReports or UpdateReportsOutput file. Scroll through to find the exact object the deployment has failed on 



As it says, In my case the issue was on CustProvisionalBalance.Report under ApplicationSuite model. 

To resolve this, we can just deploy this report through powershell command under VM. 

To deploy the report, run powershell as Admin and Navigate to   J:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask>

Then, execute the below command

.\DeployAllReportsToSsrs.ps1 -Module ApplicationSuite -PackageInstallLocation "J:\AosService\PackagesLocalDirectory" -ReportName CustProvisionalBalance.Report

You can change the report or Model name as needed. 

Thats it, Just resume the deployment from LCS. It should then go through with no issues.

Thanks!


Tuesday, 1 August 2017

Technical sources for Dynamics AX Learning

This is my first blog and I want to share my experience and knowledge of AX and Dynamics 365 with all of you. Wish me a luck. This is just the beginning and i hope to be posting so many things in upcoming days.
In the series first, what most freshers(New to dynamics AX) try to google is the good sources to learn AX, so I will be mentioning few of the best sources which I personally found to be useful during my journey of AX.

Dynamics AX free online content:
1. https://msdn.microsoft.com/en-us/library/aa493463(v=ax.10).aspx : Free online material by Microsoft for Dynamics AX and its evolved so much to be informative enough.
2. https://technet.microsoft.com/en-us/library/gg852966.aspx :  Another online material from Microsoft.dedicated fully for technical aspects. There are so many whitepapers available to download for free from here in order to explain some advanced topics in AX (e.g., Etterprise portal, global address book, number sequence framework, dimension framework, etc..)
3. https://docs.microsoft.com/en-gb/dynamics365: Dedicated completely for Dynamics 365 based products and contains enormous explanatory contents on every topic.

Books to start with:-
6. Learning MS Dynamics AX 2012 Programming : Printed by PACKT publishing, and is available to purchase from Amazon.

Advanced books:-
7. AX Installation guide: provides complete specification and AX installation steps. Available as whitepaper on technet.
8. Microsoft Dynamics AX 2012 R3 administration cookbook:  complete coverage of system administration for AX. Printed by PACKT publishing and is available to purchase from Amazon.
9. Microsoft Dynamics AX 2012 R3 Reporting cookbook:  Fully dedicated for SSRS reporting in AX. Printed by PACKT publishing and is available to purchase from Amazon.
10. Microsoft Dynamics AX 2012 R3 Services : Completed coverage of AIF and services in AX. Printed by PACKT publishing and is available to purchase from Amazon.
11. Inside Microsoft Dynamics AX 2012 R3 : One of the books by Microsoft Press. Available to purchase from Amazon.
11. Dynamics 365 for Finance and operations development cookbook : One of the books by pktpub . Available to purchase from Amazon.

AX community forums:-
12. https://community.dynamics.com/ax : Official community from Microsoft. By far the best online forum to post your questions and you might be interested to see the answers for questions(queries/issues) posted by others. In addition, there are couple of AX techies who frequently posts their article on the forum.
13. Dynamics user group
14. Stackoverflow

In addition there are plenty of professionals who are running their own blogs. I will not name any, but you can always come across them while trying to search anything related to AX.
Tip: Before posting your questions on any of the forums or blogs, its better to google that using significant keywords. You might get answers/articles to the same question/topic posted by others.

I have tried to cover most of the available learning resources here. Still, if I have left anything which you are aware of, feel free to share with me to update the article.