web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    Mandeep.S Profile Picture
    277 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
    90 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
    277 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
    235,243 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
    1,493 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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 33 Most Valuable Professional

#3
Vinayak Hegde Profile Picture

Vinayak Hegde 17

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans