diff --git a/docs/identity/hybrid/connect/how-to-connect-sync-staging-server.md b/docs/identity/hybrid/connect/how-to-connect-sync-staging-server.md index 3ca81a83e99..c4e19e7cb69 100644 --- a/docs/identity/hybrid/connect/how-to-connect-sync-staging-server.md +++ b/docs/identity/hybrid/connect/how-to-connect-sync-staging-server.md @@ -266,11 +266,11 @@ write-host "Importing XML" -ForegroundColor Yellow $resolvedXMLtoimport=Resolve-Path -Path ([Environment]::ExpandEnvironmentVariables($xmltoimport)) #use an XmlReader to deal with even large files -$result=$reader = [System.Xml.XmlReader]::Create($resolvedXMLtoimport)  +$result=$reader = [System.Xml.XmlReader]::Create($resolvedXMLtoimport)  $result=$reader.ReadToDescendant('cs-object') if($result) { - do  + do { #create the object placeholder #adding them up here means we can enforce consistency