Hi @Gnanasoundari,
I have followed below approach and it is working for me:
Initially, created a function with Anonymous as below:
Later created a Data Factory resource and enabled managed identity in it:
Get the Application id of the Data factories managed identity from typing the data factory name in Microsoft Entra id:
Then get the app id :
Now in Function app Added Identity provider:
Then it gets created:
Granted the consent as below for the application of identity provider:
Now in Data factory, create a pipeline with Azure function action:
Then Add the new connection in settings, select System-assigned managed identity and then the client of the Identity Provider and keep the function key as blank:
Output:
When I click on debug, it gets succeeded:
If this answer was helpful, please click "Accept the answer" and mark Yes, as this can help other community members.

If you have any other questions or are still experiencing issues, feel free to ask in the "comments" section, and I'd be happy to help.