Unable to run Azure Function in ADF

Anonymous
2024-12-02T23:23:33.7333333+00:00

https://stackoverflow.microsoft.com/questions/435338

https://stackoverflow.microsoft.com/questions/435426

I want to run a C# program in ADF but cannot.
I am facing errors with Azure Function and Azure Custom block.

PS: My end goal is to get my Azure Managed Identity token from ADF. I want to access Magnetar. The Managed Identity to Magnetar access is already set.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,010 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Khadeer Ali 1,220 Reputation points Microsoft Vendor
    2024-12-03T05:39:46.53+00:00

    Welcome to the Microsoft Q&A Platform! Thank you for reaching out regarding your query Azure Function in ADF.

    If you could share the error details with Azure Functions and Azure Custom block, it could be more helpful to resolve the issue.

    Please check the below steps if this could help in resolving the issue.

    • Ensure that the ADF Managed Identity has the required permissions to access the Azure Function or Custom Activity, and that it’s also authorized to get the token for Magnetar.
    • Always check both the ADF pipeline run logs and Azure Function logs (in Application Insights) to pinpoint the issue more precisely.
    • Make sure the Managed Identity is properly set up and is allowed to access resources like Magnetar.
      If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.
    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.