Data factory linkedservice endpoint url or linked service name fetch?

a1990 11 Reputation points
2021-06-14T22:12:23.997+00:00

In copy activity failure, configured email logic app webhook and able retrieve the failed file name, location & container name but not storage name. is there any way to can fetch the storage name from copy linkedservice service endpoint or atleast linked service name and pass to email webhook?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,590 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,441 Reputation points Microsoft Employee
    2021-06-15T10:47:10.113+00:00

    Hello @a1990 ,

    Thank you for posting query in Microsoft Q&A Platform.
    Below the json which you can get from copy activity execution. With this json we can only get Source or Sink Storage types(see highlighted area). So, there is no direct way to get underline storage name.

    Sample Copy Activity json:
    105795-2021-06-15-16-03-33-microsoft-whiteboard.png
    Work around will be have a variable to store your storage name as default value in it and try to pass that in to your API request.
    Hope this helps. Do let us know if you any further queries.

    ------------

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

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.