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 :
Small and medium business | Business Central, N...
Suggested Answer

Upgrade BC from v16 to 20

(0) ShareShare
ReportReport
Posted on by 25

Hello,

I'm doing upgrade for DB from BC v16 to BC v20.

I'm using Azure to manage SQL and BC on Prem.

Do you have any idea how to execute Invoke-NAVApplicationDatabaseConversion with azure user, I don't have local windows user on SQL.

This error I get when I run this script:

Invoke-NAVApplicationDatabaseConversion -DatabaseServer 'sqlmondial01.database.windows.net' -DatabaseName 'BC-PROD' -ApplicationDatabaseCredentials (Get-Credential)

or

Invoke-NAVApplicationDatabaseConversion -DatabaseServer 'sqlmondial01.database.windows.net' -DatabaseName 'BC-PROD' 

Error:

Invoke-NAVApplicationDatabaseConversion : Cannot establish a connection to the SQL Server/Database.
This could be due to one of the following reasons:
* SQL Server is not started.
* The database does not exist.
* Proper permissions have not been given to the NAV Server Account.

This function give by Microsoft, is there any way to put user like aaaa@domain.com with the password to run the script.

Invoke-NAVApplicationDatabaseConversion [-DatabaseServer <String>] -DatabaseName <String> [-ApplicationDatabaseCredentials <PSCredential>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Thanks

I have the same question (0)
  • Amit Baru Profile Picture
    3,037 on at

    Hi,

    Pls consult with Database Administrator for the same.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Check if Page group Exist AL Code Profile Picture
    25 on at

    Hi,

    Thanks for your time.

    Regards

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans