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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,933 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,055 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 640 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans