Hi I'm trying to sync an application from to a site on a different system, and I'm noticing that the authentication credentials aren't syncing. After running the command below, I check the destination in IIS manager -> Authentication -> Anonymous Authentication -> Edit and I see the default IUSR account. I expected to see the same Active Directory service account that is on the primary server. Is there something I am missing from my command line below? Both source and destination IIS servers are Windows 2012 R2.
(On the source server in the apphost config I do see the username and encrypted password under the location for the application. But, on the destination server there isn't any entries for location in the apphost config file.)
"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy" -verb:sync -source:iisApp="Default Web Site Public/apps\MyApp",computername=IISSvr1 -dest:iisApp="Applications/MyApp" -allowUntrusted