When we are trying to upgrade from v15.1 to v19.0 (using Dynamics.365.BC.30693.W1) and we are running the below command
Start-NAVAppDataUpgrade -ServerInstance BC190 -Name "System Application" -Version 19.0.29894.30693
this error pops-up
Start-NAVAppDataUpgrade : Could not upgrade the extension 'System Application' by 'Microsoft' from version
'15.2.39040.0' to '19.0.29894.30693' for tenant 'default' and company 'PROVITA' due to the following error: 'While
opening company 'PROVITA', the following error occured: 'You do not have the following permissions on TableData
Published Application: Read.
To view details about your permissions, see the Effective Permissions page. To report a problem, refer to the
following server session ID: '42'.'
AL stack trace:
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).ModuleOwnsTable line 18 - System Application by Microsoft
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).AddToAllowedTables line 11 - System Application by Microsoft
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).AddToAllowedTables line 5 - System Application by Microsoft
"Reten. Pol. Allowed Tables"(CodeUnit 3905).AddAllowedTable line 7 - System Application by Microsoft
"Email Installer"(CodeUnit 1596).AddRetentionPolicyAllowedTables line 9 - System Application by Microsoft
"Email Installer"(CodeUnit 1596).AddAllowedTablesOnAfterSystemInitialization line 2 - System Application by Microsoft
"System Initialization"(CodeUnit 150).OnAfterInitialization(Event) line 2 - System Application by Microsoft
"System Initialization Impl."(CodeUnit 151).Init line 18 - System Application by Microsoft
"Company Triggers"(CodeUnit 2000000003).OnCompanyOpen(Event) line 2
' and AL stack trace:
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).ModuleOwnsTable line 18 - System Application by Microsoft
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).AddToAllowedTables line 11 - System Application by Microsoft
"Reten. Pol. Allowed Tbl. Impl."(CodeUnit 3906).AddToAllowedTables line 5 - System Application by Microsoft
"Reten. Pol. Allowed Tables"(CodeUnit 3905).AddAllowedTable line 7 - System Application by Microsoft
"Email Installer"(CodeUnit 1596).AddRetentionPolicyAllowedTables line 9 - System Application by Microsoft
"Email Installer"(CodeUnit 1596).AddAllowedTablesOnAfterSystemInitialization line 2 - System Application by Microsoft
"System Initialization"(CodeUnit 150).OnAfterInitialization(Event) line 2 - System Application by Microsoft
"System Initialization Impl."(CodeUnit 151).Init line 18 - System Application by Microsoft
"Company Triggers"(CodeUnit 2000000003).OnCompanyOpen(Event) line 2
At line:1 char:1
+ Start-NAVAppDataUpgrade -ServerInstance BC190 -Name "System Applicati ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-NAVAppDataUpgrade], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC190/default,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.
StartNavAppDataUpgrade
