Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Konrad909090
Helper II
Helper II

Authentication options for SharePoint Folder in Data Flow Gen2

Hi Experts,

I come to you with a question that is bothering me.

Well, in my project I have a Data Pipeline that uses Data Flow Gen 2 which has a connection to a SharePoint folder and pulls data from several excel files.
Authentication is done via an account. The problem is that for this account the password is renewed from time to time and the connection can go down.
Hence my question, are there any other methods to connect to SharePoint Folder in a better and less error-prone way?
I was thinking about Service Principal but I have read that it gets deactivated every 100 days.
Should I use another connection for ‘Web’ data or something like that to have a connection not based on the account I am using?
Any suggestions would be greatly appreciated.

Best regards,
Konrad

1 ACCEPTED SOLUTION

Yes, unfortunately as of today service principal authentication is the best form. 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

6 REPLIES 6
NandanHegde
Super User
Super User

Can you specifiy what you mean by :
I was thinking about Service Principal but I have read that it gets deactivated every 100 days.

The service principal secert expiry date is governed by us, we can control when it needs to be rotated again




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hi @NandanHegde ,

This is how I was informed by one of the Dynamics 365 developers.
However, now as I read that it is actually the moment of expiry of the key that is the problem which has to be monitored and this is managed by us as you write.
I guess I have to convince the team that there is no better option than Service Principal...

Best regards 
Konrad

Yes, unfortunately as of today service principal authentication is the best form. 




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
v-huijiey-msft
Community Support
Community Support

Hi @Konrad909090 ,

 

This is a question about the Data Factory forum, I've moved the thread to the appropriate forum for you and there will be professionals there to help you.

 

Best Regards,
Yang
Community Support Team

Hi @v-huijiey-msft ,

I apologise for the mistake. Thanks very much.

Best regards,
Konrad

lbendlin
Super User
Super User

Credential renewal has to be part of your maintenance activities.  your authentication method is appropriate, "Web"  is not a viable option.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

Check out the November 2024 Fabric update to learn about new features.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.