web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

AX Data Upgrade | Error on Step 3

(3) ShareShare
ReportReport
Posted on by 277
Hi,
 
I am trying to upgrade the AX 2012 R3 DB in a Microsoft OneBox D365 F&O environment (10.0.33) running on-premises. During the upgrade process I encountered the following error:
 
Executing step: 3
GlobalUpdate script for service model: AOSService on machine: localhost
perform data upgrade, sync AX database and deploy SSRS report
The running command stopped because the preference variable /ErrorActionPreference/ or common parameter is set to Stop: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
The step failed
 
Anyone faced a similar issue? Can someone guide towards a solution. Thanks.
I have the same question (0)
  • Suggested answer
    RudyZhang Profile Picture
    Microsoft Employee on at
    Hi,
     
    Based on the information you have provided, our team has analyzed your error and here are our team's guesses.
     
    Have you checked the SSL certificate? The error message indicates that there is a problem with the SSL certificate chain and the server does not trust it. This could be due to a number of reasons, such as an expired certificate or you are using a self-signed certificate.
     
    You may need to check the SSL certificate on the server to make sure it is valid and trusted. If the certificate is self-signed, you may need to add it to the trusted root certificate authority on the machine running the upgrade.
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang
  • Martin Dráb Profile Picture
    237,970 Most Valuable Professional on at
    You mentioned step 3, but we don't know what step it is, because you didn't tell us what list of steps you're following. Please elaborate.
     
    For reference, here is documentation of the process: Upgrade from AX 2012 to finance and operations.
  • Mandeep.S Profile Picture
    277 on at
    Hi @RudyZhang,
     
    Thank you for replying.
     
    "You may need to check the SSL certificate on the server to make sure it is valid and trusted. If the certificate is self-signed, you may need to add it to the trusted root certificate authority on the machine running the upgrade."
     
    I'm using the Microsoft OneBox VHD for the running the AX2012 to D365 Finance data upgrade. The VHD does use self-signed certificates, how do I add these to the trusted root certificate authority?
     
     
  • MDeeb Profile Picture
    92 on at
    Hi Martin, Hi All.
     
    i got same issue on newest VHD 10.0.39. done many upgrades before this is first time i face it on step 3
     
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
     
     also i get same error on SSMS when connecting when trust server certificate is unchecked, but when i check it it connects : 
     
     
     
  • Suggested answer
    Mandeep.S Profile Picture
    277 on at
    Dear MDeeb,
     
    In the directory location where the contents of the upgrade package are extracted look for AutoDataUpgradeOperations.ps1, then
    1. Edit this file
    2. Add â€˜TrustServerCertificate’ = 1 to AutoDataUpgradeOperations.ps1 at 2 places
    3. Save this file
    4. Restart the upgrade process from the beginning - create the runbook, import and execute
     
    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans