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

Getting Start-Navappdataupgrade error in BC22

(1) ShareShare
ReportReport
Posted on by 67
Getting below error while upgrading base application
 
Start-NAVAppDataUpgrade : Could not upgrade the extension 'Base Application' by 'Microsoft' from version '18.2.241521.0' to '22.1.241901.0' for tenant 'default' and company '' due to the following error: 'An
unexpected error occurred after a database command was cancelled.' and AL stack trace:
"Upgrade Plan Permissions"(CodeUnit 104030).AddPermissionSetToUserGroup line 6 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).CreateMicrosoft365Permissions line 18 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).RunUpgrade line 15 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).OnUpgradePerDatabase line 2 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerDatabase(Event) line 2

Event viewer:
 
 
 
Statement: SELECT "2000000004"."timestamp","2000000004"."Role ID","2000000004"."Name","2000000004"."Hash","2000000004"."$systemId","2000000004"."$systemCreatedAt","2000000004"."$systemCreatedBy","2000000004"."$systemModifiedAt","2000000004"."$systemModifiedBy" FROM "SQLDATABASE".dbo."Permission Set" "2000000004" WITH(READUNCOMMITTED) ORDER BY "Role ID" ASC OPTION(FAST 50)
AppObjectType: CodeUnit
AppObjectId: 104030
AL CallStack: "Upgrade Plan Permissions"(CodeUnit 104030).AddPermissionSetToUserGroup line 6 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).CreateMicrosoft365Permissions line 18 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).RunUpgrade line 15 - Base Application by Microsoft
"Upgrade Plan Permissions"(CodeUnit 104030).OnUpgradePerDatabase line 2 - Base Application by Microsoft
"Upgrade Triggers"(CodeUnit 2000000008).OnUpgradePerDatabase(Event) line 2
 
RootException: SqlException
Invalid column name '$systemCreatedAt'.
Invalid column name '$systemCreatedBy'.
Invalid column name '$systemModifiedAt'.
Invalid column name '$systemModifiedBy'.
I have the same question (0)
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,818 Super User 2026 Season 1 on at
    Are You doing it with Developer (Microsoft partner) license in the database? Or You are trying to do it with Customer license? 
    The error message is pretty clear- You don't have required permissions.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,283 Super User 2026 Season 1 on at
    You're encountering an upgrade error in Business Central 22 due to missing database columns ($systemCreatedAt, $systemCreatedBy, $systemModifiedAt, $systemModifiedBy). Check if these columns exist in the Permission Set.
  • SD-06051333-0 Profile Picture
    67 on at
    KasparsSemjonovs - I am doing with Dev license only. I have done upgrade for other database, but this error is specifically occuring in this database only.
  • SD-06051333-0 Profile Picture
    67 on at
    Khushbu Rajvi. - Columns are presented in the permission set.

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,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,048 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 727 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans