cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

SharePoint Connector two-factor authentication best practices

Can anyone guide me to the current best practices for using the Microsoft Flow SharePoint connector when two-factor authentication is enabled for our SharePoint Online tenant? 

 

Here is the problem: I have a simple SharePoint document approval flow (using the modern Flow approval) that fails to initiate because we recently enabled two-factor authentication for our SharePoint Online tenant.  

 

How do I use Microsoft Flow to connect to SharePoint when two-factor authentication is required?

6 REPLIES 6
Highlighted
Power Automate
Power Automate

Re: SharePoint Connector two-factor authentication best practices

@merwan@masisley How can our customer use the Sharepoint connector when 2FA is enabled on his Sharepoint Online tenant?

Highlighted
Advocate I
Advocate I

Re: SharePoint Connector two-factor authentication best practices

Thank you @melim for helping find an answer.  @merwan@masisley, or anyone else, Do you know how to use the SharePoint connector when 2FA (two-factor authentication) is enabled on the SharePoint Online tentant?  I would really appreciate any assistance!

Highlighted
Power Automate
Power Automate

Re: SharePoint Connector two-factor authentication best practices

Adding @KeremY from the SharePoint team to help with this. @ChadJohnston - what error are you seeing when you run the Flow? 

Highlighted
Power Automate
Power Automate

Re: SharePoint Connector two-factor authentication best practices

Could you try having your tenant administrator make the Flow app with ID 7df0a125-d3be-4c96-aa54-591f83ff541c require 2FA and then logging out and back in? We've seen issues where if you login with single factor auth on the Flow app and then we attempt to get a token to talk to other services that require 2FA, we fail to do so. You'll also probably need to re-create your SharePoint connection and point your flow to the new connection.

 

Let me know if that works.

 

Mark

Highlighted
New Member

Re: SharePoint Connector two-factor authentication best practices

As users have said in another post, flow requires frequent re-authentication which is not sustainable for an automation process.

This is the issue the Microsoft needs to fix.

https://powerusers.microsoft.com/t5/Connecting-To-Data/Constant-authentication-issue-with-O365/td-p/...
Highlighted
Frequent Visitor

Re: SharePoint Connector two-factor authentication best practices

We recently turned on two-factor authentication and... you guessed it, none of my FLOWS will authenticate. I have 30+ FLOWs already and I expect more to come as our organization embraces FLOWs within SharePoint.

 

A solution would be ideal, but has anyone found a workaround other than resetting the connections on each FLOW every 14 days?

The last post to this thread was nearly a year ago @Nsp13 @masisley . Surely a solution must have been found by now?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (5,427)