Exporter le détail des objets en CSV lors du MERGE

Merge-NAVApplicationObject -OriginalPath .\ORIGINAL\*.TXT  `
        -ModifiedPath .\MODIFIED\*.txt  `
        -TargetPath .\TARGET\*.TXT  `
        -ResultPath .\RESULT\ -PassThru | Sort-Object ObjectType, Id | Export-CSV -Path .\EXPORT.csv -NoTypeInformation

Mise à jour certificat SSL des WS

netsh http show sslcert
netsh http delete ssl ipport=0.0.0.0:7047
netsh http add sslcert ipport=0.0.0.0:7047 certhash=<CERT. THUMBPRINT> appid={00112233-4455-6677-8899-aabbccddeeff}

netsh http delete ssl ipport=0.0.0.0:7048
netsh http add sslcert ipport=0.0.0.0:7048 certhash=<CERT. THUMBPRINT> appid={00112233-4455-6677-8899-aabbccddeeff}

Création d'une instance NAV/BC via PowerShell

New-Service -Name 'MicrosoftDynamicsNAVServer$<INSTANCE NAME>' `
        -BinaryPathName '"C:\Program Files\Microsoft Dynamics 365 Business Central\<BUILD NO>\Service\Microsoft.Dynamics.Nav.Server.exe" $<INSTANCE NAME> /config "C:\Program Files\Microsoft Dynamics 365 Business Central\<BUILD NO>\Service\Microsoft.Dynamics.NAV.Server.exe.config"' `
        -DependsOn 'NetTcpPortSharing' `
        -Description 'Service handling requests to Microsoft Dynamics NAV application' `
        -DisplayName 'Microsoft Dynamics 365 Business Central Server [<INSTANCE NAME>]' `
        -StartupType Manual

Application CORS et Reverse Proxy

Lors d'un de mes projets de développement, j'ai eu besoin de rendre accessible les requêtes web service OData d'un serveur Microsoft Dynamics NAV depuis une web ressource de Microsoft Dynamics 365 Online, et éventuellement localement. Pour ce faire, et éviter d'avoir des problèmes de requêtes CORS (Cross Origin Resource Sharing) j'ai décidé de mettre en place un reverse proxy.

Cet article a pour but de mettre en lumière les étapes pour la mise en place, et les problèmes/solutions rencontrées.