none
Cannot authorize into Data lake Analytics

    Question

  • I'm trying to create a custom .net activity to use with Data Factory. This activity will submit a u-sql job to Data Lake Analytics. I'm trying to create .net activity by following this document "https://azure.microsoft.com/en-us/documentation/articles/data-lake-analytics-get-started-net-sdk/" but there is an error. 

    I'm not sure if I created the application client on azure active directory correctly or not.

    Friday, July 8, 2016 8:25 AM

All replies

  • Hi Art,

    The error that you're seeing means that your application is trying to create Data Lake accounts in a subscription in which it doesn't have permissions.

    To fix this, simply open the specific Resource Group that you chose in the Azure Portal, then add the application by name ("artcompany") as a Contributor to the Resource Group. For a step-by-step approach to this, see this article:  https://azure.microsoft.com/en-us/documentation/articles/role-based-access-control-configure/

    We're making some improvements soon to this .NET SDK article to specifically call out this step and to reorganize the content for readability. Thank you for providing this feedback, and I hope this resolves the issue for you!

    Best regards,

    Matthew Hicks
    Data Lake Team
    Friday, July 8, 2016 6:17 PM