Please find test config file attachment
for the photo contact, you need to config below mention parameters:
<PhotoUriSubstitutionToken>sAMAccountName</PhotoUriSubstitutionToken><PhotoUriWithToken>http://X.X.X.X/photo/sAMAccountName.jpg</PhotoUriWithToken>