Hi @Kpreeti1256
Were you able to resolve?
You can get the persons list from SharePoint by using the 'Get Items' action and then use the ODATA filter to get the person mapped to the particular item and assign the task to them by using the Update Work Item action. (you can try adding the field or sending another HTTP request to Azure DevOps to rassign the task).
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!