Are you using a domain account in the credential? If so, you also need PSDscAllowDomainUser = $true in the configuration data block.
See here: configdatacredentials
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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. . PFA
Are you using a domain account in the credential? If so, you also need PSDscAllowDomainUser = $true in the configuration data block.
See here: configdatacredentials