Hi,
I need assistance. I am using Azure Data Factory activity for data migration from source to destination. Next, we also need to log the user running these Azure Data Factory pipelines, such as the get portal.azure.com login from azure function, and pass output of azure function to the Azure Data Factory pipeline stored procedure activity and log in to the target database.
At the workflow activity level, I don't see the option to get the portal login username or email id. So I decided to use an Azure function to get the portal username, pass it to the Pipelines activity, and log it to the target log table. But below azure function code return nothing as output.
Can you please suggest if there is anything i am missing in below code to get user or is there any other way to get user information in pipelines activities?


Thanks