Comments (3)
It is saying changed: false
in the output which means it didn't find the computer account. Keep in mind the name
parameter no longer aligns to the sAMAccountName
but rather the LDAP name of the computer object in the path
specified. If you want to lookup the account by the sAMAccountName
you need to use the identity
module option.
from microsoft.ad.
Hello,
I don't think this is the root cause. I tried to use identity instead of name with the same result.
from microsoft.ad.
Ok. Using identity with $ at the end did the trick. Thanks
from microsoft.ad.
Related Issues (20)
- Encrypt LAPS credentials with ansible-vault HOT 4
- 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
- How do you actually execute modules in this collection (requires powershell)? HOT 7
- Adding members to a group requires an explicit path to be set HOT 3
- The system cannot find the file specified. HOT 4
- Ansible Semaphore compatibility HOT 1
- Unable to parse microsoft.ad.ldap.yaml HOT 3
- Add action_groups HOT 3
- Using microsoft.ad.group to set members of a group does not work when both groups are in different OUs HOT 2
- microsoft.ad.object can't assign attribute PrincipalsAllowedToRetrieveManagedPassword HOT 2
- Not able to run module, giving an error AnsibleADObject not found HOT 4
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.