I have updated an user profile Birthday date using Powershell Birthday format(MMM DD) Eg: February 15. here is my script
$adAccount = "domain\username" $up = $profileManager.GetUserProfile($adAccount) $up["SPS-Birthday"].Value = "February 15" $up.Commit()
Now I have run the Incremental call in search service application. after that I browse the search api to retrieve the results whose Birthday from "February 05" to "February 20"
see url below
/_api/search/query?querytext='Birthday>="02-05-2000" AND Birthday<="02-20-2000"'&sourceid='b09a7990-05ea-4af9-81ef-edfab16c4e31'&selectproperties='AccountName,FirstName,Birthday'
I am unable to retrieve the profile which I was updated through powershell shown above in search api results.
Please provide me solution for this...!