ServicePrinciple authentication for LakeStore and DataFactory

New Authentication method to use in DataFactory to access Lake Store
In Feb 2017 there is new authentication method was introduced to use in DataFactory.
So you have a choice now between OAuth and Service principle





The OAuth choice will authenticate with Lake store using authentication token which will expire at some point of time. So for that option you just choose OAuth and get token from a popup windows.
So Linked Service will look like this for you


For Service Principle you should have a principal created to use it. Here is the link how to do it https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-authenticate-using-active-directory

So you will need to provide ServicePrinciple id and key.

It makes more sense to use ServicePrinciple in case you have a scheduled job to run and avoid surprise with expired token.



Comments

Popular posts from this blog

How to poll database using WCF-SQL adapter

Security overdone?