Closed CodeGlitcher closed 2 years ago
I have same issues as you do,. This is not only related to ActiveDirectoryDSC, got same issues with WapConfiguration, ADFS etc. I had to go back to last month image.
After removing windows update KB5014702 I can run our configuration aggain. Trying to find what they changed but cannot find anything yet.
Join the #dsc channel, there are mentions of similar there: https://dsccommunity.org/community/contact/
We are having the same problem with customers using new 2016-Datacenter images on azure. We narrowed it down to the latest version (14393.5192.220612). The previous version (14393.5125.220505) continues to work. We dont yet know which KB in that release is causing it.
Same problem occurs on Windows Server 2022 Datacenter running 10.0.20348.643. Removing KB5014678 fixes the The password cannot be null or empty
issue observed.
As a work around we are deploying our test environment with the older image. And then use a automated powershell script to disable windows update
sc.exe config wuauserv start=disabled
sc.exe stop wuauserv
Since we are not using this for a production scenario this is acceptable for us. Does any know if it help to make some sort of support request to Microsoft or do we juist have to wait and hope the problem is fixed in the next update?
@johlju the slack link is no longer active? is discord the only chat that is used? (maybe the slack link should then be removed) This link is no longer active To join this workspace, you’ll need to ask the person who originally invited you for a new link.
Suggest open a support case with MS.
Also join the community channel mentioned above, and talk to others having the same issue. @mgreenegit is also in the community channel and have seen that there is an issue for users.
@CodeGlitcher I reported that the Slack link no longer works, Slack and Discord are bridged, so use Discord for now.
Just happened upon this issue while looking for something else. I also experienced this issue and have confirmed that the issue has been resolved with one of the updates released yesterday.
Cc: @mgreenegit
Yes, @mgreenegit messaged on the #dsc channel that that the fix was released. When the build workers get the patch I will close this issue.
The Azure DevOps build workers has gotten the patch now, that means that this issue is fixed . Closing this.
Problem description
We are using azure arm templates with a DSC extention to deploy a windows AD in our test environment. For the last few years this worked without issue but since last week we cant deploy new environments. Because of the following error message: The password supplied to the Desired State Configuration resource MSFT_ADDomain is not valid. The password cannot be null or empty. error.
We are having this issue on both 2016-Datacenter and 2022-Datacenter. When we use a older azure image reference the dsc configuration works.
But if we redeploy the configuration after the machine is up for a few hours and it had installed the lasted windows updates the configuraiton no longer works
Verbose logs
DSC configuration
Suggested solution
I have tried changing the OS. (using 2022-datacenter latest) I have updated the to the latest version of ActiveDirectoryDsc We were using xADDomain 3.0.0.0 but that looked like a older version. I have tried changing the ADDomain credentails to not included domain information. (Just username:password instead of domain/username:password) But everything leads to the same error.
Does anyone have any clue how I can fix this?
Operating system the target node is running
PowerShell version and build the target node is running
ActiveDirectoryDsc version