System/Exchange/ExchangeWebServicesClient.Codeunit.al(249,46): error AL0133: Argument 1: cannot convert from 'DotNet
/Microsoft.Exchange.WebServices.Data.OAuthCredentials/' to 'DotNet
/Microsoft.Exchange.WebServices.Data.ExchangeCredentials/'
System/Exchange/ExchangeWebServicesServer.Codeunit.al(38,42): error AL0133: Argument 1: cannot convert from 'DotNet
/Microsoft.Exchange.WebServices.Data.ExchangeCredentials/' to 'DotNet
/Microsoft.Exchange.WebServices.Data.ExchangeCredentials/'
O365SyncManagement.Codeunit.al(433,46): error AL0133: Argument 1: cannot convert from 'DotNet
/Microsoft.Exchange.WebServices.Data.ExchangeCredentials/' to 'DotNet
/Microsoft.Exchange.WebServices.Data.ExchangeCredentials/'
At line:1 char:1
+ Publish-NAVApp -ServerInstance $NewBcServerInstance -Path /C://Microso ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC23/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Man
agement.Cmdlets.PublishNavApp
Get-NAVAppInfo -ServerInstance $OldBcServerInstance -SymbolsOnly | % { Unpublish-NAVApp -ServerInstance $OldBcServerInstance -Name $_.Name -Version $_.Version }
Get-NAVAppInfo -ServerInstance $NewBcServerInstance | Repair-NAVApp
Restart-NAVServerInstance -ServerInstance $NewBcServerInstance
Sync-NAVTenant -ServerInstance $NewBcServerInstance -Tenant default -Mode Sync