Plain text password issue

sns 9,251 Reputation points
2022-02-19T07:07:55.243+00:00

Even I have uncommented 36th line in the script, it is giving error which describing it will not allow to save the credentials as a plain text.
Please suggest.176091-capture.png . PFA

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 48,026 Reputation points
    2022-02-19T15:29:40.487+00:00

    Are you using a domain account in the credential? If so, you also need PSDscAllowDomainUser = $true in the configuration data block.

    See here: configdatacredentials


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.