Comments (4)
A way to solve it is actually just to test for the runbook in the installation records directory. If it exists, throw an error and have the user delete it or pass and -Force parameter.
The cmdlet will test on force and have the folder removed. Then we don't get prompted from the executable.
from d365fo.tools.
C:\Logs\InstallationRecords\Runbooks
Inside any cmdlet / function in the module this will provide the correct paht:
$Script:InstallationRecordsDir
Then we can scan that directory for a matching child with the name of the $RunbookId. Is the runbook id part of the content of the runbook file pointed out in the code reference?
from d365fo.tools.
@skaue Can you share the different executions for us to look into?
I believe it should be a fairly easy fix to get this nailed.
from d365fo.tools.
Should be fixed in 0.5.25 - with a precheck for if the runbook id is already present.
from d365fo.tools.
Related Issues (20)
- Get-D365Module breaking change HOT 8
- Import-D365Bacpac generate Set-SqlBacpacValues : Cannot bind parameter because parameter 'TrustedConnection' is specified more than once. HOT 1
- New-D365Bacpag faling ( teste on 0.7.1 07.0.2 and 0.7.3 ) HOT 8
- Invoke-D365InstallSqlPackage: Could not create SSL/TLS secure channel. HOT 3
- Unable to refresh database - Error 400 HOT 1
- Error in Exporting Tier 2 Bacpac file HOT 4
- New-D365Bacpac throwing error, Because it is taking too long more the 8 hours for export only. HOT 8
- Update Add-D365WindowsDefenderRules to a new VS2022 version HOT 6
- 💚 Validation action stops with error "Register-AzModule : The type initializer for 'Microsoft.Azure.Commands.Common.AzModule' threw an exception." HOT 2
- Set-D365FavoriteBookmark doesn't work on Windows Server 2022 due to missing IE HOT 3
- Upload bacpac file to LCS asset library issue HOT 12
- :sparkles: new cmdlet New-D365EntraIntegration HOT 17
- :bug: Environment type for non-us/global regions are not correctly determined
- Move database from one env to another HOT 1
- :sparkles: add Entra integration app registration to wif.config HOT 1
- Understand the LCS cookie and how to work with it HOT 1
- :sparkles: Add Get-D365RsatSelfServiceCertificates cmdlet HOT 6
- Import-D365Bacpac cannot find SqlPackage HOT 11
- Invoke-D365DBSync / Catch error when synchronization went wrong on DevOps HOT 2
- Error importing Tier 2 database to Tier 1 VM - The permission 'KILL DATABASE CONNECTION' is not supported in this version of SQL Server. HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d365fo.tools.