Forum Discussion

pnparadis's avatar
pnparadis
Copper Contributor
Apr 01, 2019
Solved

Flow always running as Owner

Hello,    I've created a flow running on a SharePoint Document library, it is triggered each time item properties are edited. Based on the value of some properties, the file is then converted to PD...
  • Doug Allen's avatar
    Apr 29, 2019

    pnparadis,

     

    Unfortunately this is how Flow works.  It executes the actions as the person that created the connections.  Some actions like Approval now have options that let you tweak that.  Approvals let you set the Requestor for example so the emails show they are from that user.  But yes, if you are uploading files they show as that user instead.  You could always use a service account which is common when you send emails, and in these cases you create a shared mailbox and have your user sendas from the shared mailbox.  To my knowledge I also don't think its possible to change the CreatedBy or ModifiedBy in SharePoint Online.  Regardless if you are on-prem or Online you can change those fields with a PowerShell script.  

Resources