cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dgoguet
Level: Powered On

Change Created By or Modified by in SharePoint list

Hi,

I have a flow that populates a sharepoint list containing a list of users and some related informations.

When I run the flow, all the items are created and modified by the flow user.

I'd like to modify the created or modified by field with the username in order to create a sharepoint view filtered on this fields, this way a user could see only the informations related to himself.

Thanks for your help

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Change Created By or Modified by in SharePoint list

Unfortunately, you cannot edit the created by or modified by fields in SharePoint. You'll have to figure out a different way to create the views.  

If your list is a list of users are the users a person/group field? If they are you could use that field to filter the views instead of the created by or modified by fields.

View solution in original post

5 REPLIES 5

Re: Change Created By or Modified by in SharePoint list

Unfortunately, you cannot edit the created by or modified by fields in SharePoint. You'll have to figure out a different way to create the views.  

If your list is a list of users are the users a person/group field? If they are you could use that field to filter the views instead of the created by or modified by fields.

View solution in original post

dgoguet
Level: Powered On

Re: Change Created By or Modified by in SharePoint list

Thanks for your answer, I'll manage it the way you mentionned!

dougallen
Level: Powered On

Re: Change Created By or Modified by in SharePoint list

I wanted to mention that this is actually not correct anymore.  You can change the Created, Created By, Modified and Modified By using Microsoft Flow.  The FlowNinja John Liu shows you how in his post on the subject.  I think it all stemmed by from the whole created then update loop.   I have already used this for multiple Flows.  

 

In my case, I needed to update Created By to ensure that item-level permissions in a list worked correctly.  I checked my person field against Created By and if different, update it.  Works great!

vsolanon
Level: Powered On

Re: Change Created By or Modified by in SharePoint list

Hi  @dougallen  ! thank you for the information.I am working on a PowerApp application that is linked to a SharePoint List, and would like to override the "Created by"from the from PowerApp when it is created to only show an specific email. This is in order to control the access from the user to the SP List.

Was hopping you might know a solution for this question,

Thank you in advance!

Veronica

Highlighted
eyeana
Level: Powered On

Re: Change Created By or Modified by in SharePoint list

Hi @dougallen ,

 

I am trying to change the Created By column to display the user who has created the item on sharepoint list. In my case, the person who creates the item on Sharepoint could be any user.

 

Due to the 'Create Item' command i have in my flow, sharepoint by default autopopulates this field with my user name (as i am the flow owner). In this case, the person who creates the item on Sharepoint could be any user. 

 

I was looking at the post which you said helped you, however, in the post, the author has already a designated user which he would like to assign in the Modified By column.

 

Do you know the way to change the user in the Created By from me to the user who actually created the item on SP?

 

Regards,

I

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,038)