Some user IDs are removed from the metadata during the SAS® Information Delivery Portal promotion process


During the SAS Information Delivery Portal promotion process, there is a step where you run the RemovePortal94 script. When you run this script, you might see the following error in the Remove LOG:

ERROR:The UserID SASADM@SASPW represents the current connection and cannot be
deleted.
com.sas.iom.SASIOMDefs.GenericError: The UserID SASADM@SASPW represents the
current connection and cannot be deleted.
at com.sas.iom.SASIOMDefs.GenericErrorHelper.read(GenericErrorHelper.java:22)

To avoid this issue, you need to update the PortalApplicationTree.xml file. The PROPERTYSET section of the file needs the following tag added to the <OwningObject> tag:

<Person TemplateExpand="no"/>

This is the whole PropertySet section from the file with the addition of the new tag:

<!-- *********************** PROPERTYSET ******************************* -->
<PropertySet>
    <Extensions />
    <PropertySets />
    <SetProperties />
    <OwningObject>
        <PropertySet Match="@Name='Profile/SAS'" TemplateExpand="connect"
                     ConnectionAction="W" ConnectionMessage="The SAS profile for the user is not
                     found. This is expected if the user is new on the 92 system and has never been
                     used to log into the Portal." />
        <Person TemplateExpand="no"/>
    </OwningObject>
</PropertySet>
<!-- *********************** END PROPERTYSET ******************************* -->