MSI Authentication support in Web Activity RRS feed

  • Question

  • Hi,

    We are using Azure data factory to copy data from on-premise to the cloud with the help of pipelines. The pipeline has multiple activities like copy activity, stored procedure activity, web activity. 

    Until now, we are using the basic authentication in Web Activity to call in Web API method. 

    Now, web activity also supports MSI(managed service identity) authentication. So, we tried to use this authentication by enabling the MSI authentication and provided resource value. MSI is enabled at app service. But every time when we start the activity, it throws the exception as 'Error calling the endpoint'. The Web Activity call does not go to the service. 

    It works fine if we use basic authentication. 

    What are we missing here? 

    Wednesday, September 5, 2018 11:45 AM

All replies

  • Hi,

    Can I know what is the resource value and endpoint you're passing through?



    Wednesday, September 5, 2018 5:05 PM
  • Thanks for the reply, Sharon.

    The endpoint is our web API method URL.

    for e.g. https://xyz.com/TestSevice/Users

     and resource is the app registered in Azure AD at below path. 

    Azure Active Directory => App Registrations.

    Friday, September 7, 2018 4:28 AM
  • Is there maybe an example how to do this. I am trying the same thing with little luck.



    Monday, October 1, 2018 7:34 PM
  • Can you share the link to any documentation you used or code snippets?



    Wednesday, October 3, 2018 9:02 PM