Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

AX Data Upgrade | Error on Step 3

(3) ShareShare
ReportReport
Posted on by 240
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.
  • Suggested answer
    Mandeep.S Profile Picture
    Mandeep.S 240 on at
    AX Data Upgrade | Error on Step 3
    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.
  • MDeeb Profile Picture
    MDeeb 74 on at
    AX Data Upgrade | Error on Step 3
    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 : 
     
     
     
  • Mandeep.S Profile Picture
    Mandeep.S 240 on at
    AX Data Upgrade | Error on Step 3
    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?
     
     
  • Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    AX Data Upgrade | Error on Step 3
    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.
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    AX Data Upgrade | Error on Step 3
    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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans