Open bab29 opened 11 months ago
Because the replace() is only searching for $plafromName if the name and ID match the ID is also getting updated causing failure on import.
https://github.com/cyberark/Secret-Manager-formerly-AAM/blob/4fbae3dbf85dd431982e0ad8f6cea44a89060f0f/Dual%20Account%20Script/DualAccount-Creation.ps1#L1318C6-L1318C17
Because the replace() is only searching for $plafromName if the name and ID match the ID is also getting updated causing failure on import.
https://github.com/cyberark/Secret-Manager-formerly-AAM/blob/4fbae3dbf85dd431982e0ad8f6cea44a89060f0f/Dual%20Account%20Script/DualAccount-Creation.ps1#L1318C6-L1318C17