Skip to content

Fixes an issue where microsoft.ad.user module failed on first run when adding a path value#246

Open
AllRWeak wants to merge 1 commit into
ansible-collections:mainfrom
ClarifiedSecurity:user-move-fix
Open

Fixes an issue where microsoft.ad.user module failed on first run when adding a path value#246
AllRWeak wants to merge 1 commit into
ansible-collections:mainfrom
ClarifiedSecurity:user-move-fix

Conversation

@AllRWeak
Copy link
Copy Markdown

SUMMARY

This PR fixes an issue where the microsoft.ad.user module fails on first run when adding the path parameter to an a already existing user.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

microsoft.ad.user

ADDITIONAL INFORMATION

How to reproduce the error this PR fixes:

  • Install Windows standalone server
  • Add multiple accounts there
  • Promote the server to a domain controller using microsoft.ad.domain module
  • Use the microsoft.ad.user module to reconfigure any of the accounts created before DC promotion that are now domain accounts. Make sure the use the path parameter

The module will fail but will still move the user to the path defined. On second run of the module everything works.

@centosinfra-prod-github-app
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant