Cluster: Improve error message when login fails #158
Labels
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring:
When line 368 fails it should be more clear in the error message what domain the user, that failed to login, belonged to.
Today only the username is written in the error message, making it difficult to know if the credentials that was passed was correct.
Example error message:
https://github.com/PowerShell/xFailOverCluster/blob/76f6de5cdba7368753f1a67fc6ca34f735e64bf5/DSCResources/MSFT_xCluster/MSFT_xCluster.psm1#L368-L380
Error string:
https://github.com/PowerShell/xFailOverCluster/blob/76f6de5cdba7368753f1a67fc6ca34f735e64bf5/DSCResources/MSFT_xCluster/en-US/MSFT_xCluster.strings.psd1#L19
The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System and PowerShell the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
The text was updated successfully, but these errors were encountered: