Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage Account domain join fails with complex password #731

Open
SvenAelterman opened this issue Dec 20, 2024 · 1 comment
Open

Storage Account domain join fails with complex password #731

SvenAelterman opened this issue Dec 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SvenAelterman
Copy link
Contributor

What happened? Provide a clear and concise description of the bug, including deployment details.

This appears to be a regression of #515 or an additional set of special password characters.

The password that caused the issue was structured like this: A)B%C%D-E(F_g[h{i#j&1#2$3]4##|5. (It was purposefully created to detect issues when used in scripts.)

Note: The Azure management VM completes the domain join successfully with the same password.

Please provide the correlation id associated with your error or bug.

5965eb71-e47f-434b-8d98-17cab886e2c4

What was the expected outcome?

Domain join accounts should be able to use passwords of any complexity.

Relevant log output

{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'AzureFilesDomainJoin' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: 'Command execution finished, but failed because it returned a non-zero exit code of: '255'. The command had an error output of: 'The user name or password is incorrect\r\n    + CategoryInfo          : AuthenticationError: (:) [], CimException\r\n    + FullyQualifiedErrorId : Win32Error:1326\r\n    + PSComputerName        : localhost\r\n \r\nThe SendConfigurationApply function did not succeed....' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)'. More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot. "}
@SvenAelterman SvenAelterman added the bug Something isn't working label Dec 20, 2024
@danycontre
Copy link
Collaborator

@SvenAelterman thanks for you feedback we are reviewing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants