cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NigelP
Kudo Kingpin
Kudo Kingpin

Using Service Principals When a Flow is triggered by a SharePoint Event (eg new item in a list)

Hi

 

Is there a pattern for using Service Principals for flows which use SharePoint as its datasource ?

 

I have found patterns when the Common Data Service is the datasource.

 

Regards

 

Nigel

5 REPLIES 5
Pstork1
Dual Super User III
Dual Super User III

There is no identical pattern for use with SharePoint.  But for any flow started by an automated trigger you can accomplish a similar result by authoring the flow using a service account.  That service account must be licensed, but if you create the flow using that account then the connectors used by the flow will use the same account.  Its not quite the same thing because SharePoint doesn't have the concept of an application user like Dataverse.  But it will let the flow run based on the permissions of the service account.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Sorry @Pstork1 service accounts are banned where I work.

 

Service Principals only allowed.

 

Hence the question.

Pstork1
Dual Super User III
Dual Super User III

If service accounts are banned then there is no similar pattern.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi @Pstork1 

Are you saying that you cannot use service principals with PowerAutomate Flows that access SharePoint sites?

Regards

 

Nigel

Pstork1
Dual Super User III
Dual Super User III

Service Principles in CDS work because CDS supports the concept of an application user.  SharePoint has no similar concept.  So Yes I believe you can't use Service Principals with the SharePoint connector.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (46,224)