Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
114 stars 61 forks source link

Problem with specific user-password for "ADServiceUser" #258

Open scma-esrich opened 4 years ago

scma-esrich commented 4 years ago

Community Note

Module Version

Affected Resource(s)

Configuration Files

The relevant JSON-parameter is "ADServiceUser":

...
"ConfigData": {
        "Credentials": {
            "ADServiceUser": {
                "UserName": "URI\\s_ags_portal",
                "Password": "$PwVxRf/#J`Q|ZE"
            }                 
        },
...

Expected Behavior

The AD-User should be used as the User-store configuration user.

Actual Behavior

The Portal-configuration fails.

Steps to Reproduce

Use a service-user with the specific password above.

Important Factoids

Swapping to a user, with a different password not containing the special-characters above works. I suspect either the "¦"- or the "'"-character in the JSON-string created in row 1127 of "ArcGIS_Portal.psm1" which seem to force a false escape:

image

References

No references.

scma-esrich commented 4 years ago

@geocloud-kaa @esride-dku @spitzerr, FYI.