Closed TrudAX closed 1 year ago
Sorry, that was my bad. As part of https://github.com/d365collaborative/d365fo.tools/pull/760/commits/94a46bf83807f8f9e2e6f8d6f05dcee71fd765e4, I did some refactoring and made a mistake. Should be fixed by #767
As a workaround till the fix gets released, to prevent the exception, run Import-D365Bacpac
with the -ImportOnly
switch or go back to version 0.7.1 or an earlier version.
When I tried to run the following command(to restore Tier2 to Tier1) on the latest .72 version
Import-D365Bacpac -BacpacFile $filePathpac -ImportModeTier1 -NewDatabaseName $fileDB
I got the following exception:
the import seems working, so just an exception is generated I do not use Set-SqlBacpacValues anywhere, so the call seems to be inside the import
Expected results: The exception should not be displayed