Comments (4)
Ran into yet another problem, module is not using the same DC, when deleting ous. Get-ADObject is not using the proper params, subsequent calls to Set-ADObject or Remove-ADObject will fail.
It is really important to always use the same domain controller, when talking to AD. If not you will get "strange" unexpected results, because of replication delays.
from microsoft.ad.
Thanks for the bug report and sorry for the delay, the PR #61 should fix up this issue.
Ran into yet another problem, module is not using the same DC, when deleting ous. Get-ADObject is not using the proper params, subsequent calls to Set-ADObject or Remove-ADObject will fail.
Is this related to the same missing splatted variables here or is it for something else? I just want to check if there is more that can be done here.
from microsoft.ad.
Thanks for your answer. This is all related to the same missing splatted variables.
In the second case it is missing too, I think.
PR #61 fixes the Move-ADObject stuff, I guess, but I think you missed the one, where Get-ADObject is called before removing AccidentalDeletion when state is absent.
from microsoft.ad.
PR #61 fixes the Move-ADObject stuff, I guess, but I think you missed the one, where Get-ADObject is called before removing AccidentalDeletion when state is absent.
Thanks for the pickup, just pushed a commit that adds that one.
from microsoft.ad.
Related Issues (20)
- New Release of microsoft.ad HOT 1
- microsoft.ad.group module : Set members to an empty list HOT 3
- microsoft.ad.group module : Set members list HOT 3
- microsoft.ad.user - New-ADUser failed: A parameter cannot be found that matches parameter name 'LockedOut' HOT 1
- microsoft.ad.user - Created user not found while deleting by ad-hoc command HOT 1
- Error: The term 'Get-ADRootDSE' is not recognized as the name of a cmdlet HOT 5
- Error: Skip computer 'x' with new name 'x' because the new name is the same as the current name. HOT 1
- Getting an error while running the microsoft.ad module HOT 1
- New-ADObject failed: The security descriptor is invalid HOT 1
- Moving computer object fails HOT 6
- Feature request: "flatten" option for microsoft.ad.group
- Incorrect diff output for multiple-choice options HOT 2
- Unable to add built-in group members HOT 3
- Add optional server argument to allow join to specific domain controller. HOT 3
- AD User creation bombs out when attempting to add an AD Group of higher security permissions than the service account HOT 1
- `microsoft.ad.group` fails with `members.set` set to an empty list on new objects HOT 1
- Nesting groups not working microsoft.ad.groups HOT 9
- Remove-ADObject: The object class of the instance object must contain 'top'. when trying to delete a computer account HOT 3
- microsoft.ad.membership could not reboot after join workgroup HOT 2
- MANIFEST.json required for installation HOT 2
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 microsoft.ad.