Wednesday, December 16, 2020

D365FO - HTTP Error 503. The service is unavailable

Introduction: 
In this blog, we will see how to resolve HTTP Error 503 - The service is unavailable in Microsoft Dynamics 365 Finance and Operations















Details: 
For resolving these kinds of errors, we have 2 solutions as of now. One is to do from the front end that is LCS and the second is to do from the back-end that is from Visual Studio

From LCS:

Reset the IIS from the LCS. Steps:

1.     Go to LCS, login

2.     Select the respective project, full details
















 

3.     Go to Maintain -> Restart service



 

 







 

4.     Select IIS and confirm it



 








 

5.     Wait till the service is being restarted


 

 

 

 

 

 

 

 

 

 

 

From Visual Studio:

From the back-end, open the VM and follow the below steps:

1.     Login to VM

2.     Open the Visual Studio

3.     Go to Dynamics 365 tab

4.     Click on Restart IIS Express



Thanks for reading and stay connected with us for more updates!!!

Jagdish Solanki | Senior Technical Consultant | CloudFronts

Business Empowering Solutions Team

“Solving Complex Business Challenges with Microsoft Dynamics 365 & Power Platform”

Sunday, December 6, 2020

D365 Finance and Operations - Database Synchronization using PowerShell

Introduction: 

In this blog, we will see how we can synchronize the database through PowerShell in Microsoft Dynamics 365 Finance and Operations

Steps: 
K:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe 
-bindir "K:\AosService\PackagesLocalDirectory" 
metadatadir "K:\AosService\PackagesLocalDirectory" 
-sqluser "axdbadmin" -sqlserver "." -sqldatabase "AxDB" 
-setupmode "sync" -syncmode "fullall" 
-isazuresql "false" -sqlpwd "*" 
-logfilename "H:\MSSQL_LOGS\AxDB_log.log"

Example:
K:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Deployment.Setup.exe 
-bindir "K:\AosService\PackagesLocalDirectory" 
metadatadir "K:\AosService\PackagesLocalDirectory" 
-sqluser "axdbadmin" -sqlserver "." -sqldatabase "AxDB" 
-setupmode "sync" -syncmode "fullall" 
-isazuresql "false" -sqlpwd "AOSWebSite@123" 
-logfilename "H:\MSSQL_LOGS\AxDB_log.log"

Thanks for reading and stay connected with us for more updates!!!

Jagdish Solanki | Senior Technical Consultant | CloudFronts

Business Empowering Solutions Team

“Solving Complex Business Challenges with Microsoft Dynamics 365 & Power Platform”