web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : A7PFGpxjqX+DwTCX3hpc+E
Power Automate - Building Flows
Answered

Correct Creator or Author sharpoint item list

Like (0) ShareShare
ReportReport
Posted on 23 May 2022 22:03:31 by 12

Good morning everyone,

I created a flow with MS Form that allows you to collect data and insert it in a sharepoint item list.

 

AndreaWest83_1-1653343160448.png

Unfortunately, however, all the elements created in sharepoint have the creator of the stream as author, thus not allowing the filter by author or the view elements only by the creator.

How can I fix the flow to show the correct author name?

 

Thanks,

Best Regards,

Andrea

 

 

I have the same question (0)
  • AndreaWest83 Profile Picture
    12 on 10 Jun 2022 at 16:06:19
    Re: Correct Creator or Author sharpoint item list

    Hi @Expiscornovus,

     

    I solved.

    Thanks for the support I had copied badly 🙂

     

    Andrea

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 10 Jun 2022 at 13:18:28
    Re: Correct Creator or Author sharpoint item list

    Hi @AndreaWest83,


    I see in the screenshot the FieldValue is:

     

    [{'Key':'i:0#.f|membership|<autore email>'}]

     

     

    Can you try it without the < & > characters?

     

    [{'Key':'i:0#.f|membership|autore email'}]

     

     

    And can you also check the flow history if the email which is used is of an employee (internal) or of a guest user (external)?

  • AndreaWest83 Profile Picture
    12 on 10 Jun 2022 at 07:54:23
    Re: Correct Creator or Author sharpoint item list

    Hi @Expiscornovus,

     

     

    This is the flow for the author change:

     

    Immagine 2022-06-10 095202.png

     

    Thanks,

    Regards,

    Andrea

     

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 25 May 2022 at 13:35:23
    Re: Correct Creator or Author sharpoint item list

    Hi @AndreaWest83,

     

    Can you share a screenshot of the configuration of your Send an HTTP request action? This way we can check if something is not missing in there.

     

    The error suggests you might be using a guest account for the author value? Is that correct, can you check that as well?

     

     

  • AndreaWest83 Profile Picture
    12 on 23 May 2022 at 23:06:38
    Re: Correct Creator or Author sharpoint item list

    Hi @Expiscornovus,

     

    I'm sorry I wrote the link wrong, I wrote the link wrong:

    _api/web/lists/GetByTitle(

     

    Now everything works, but I don't change the author column.

     

    The output I get this error:

     

    "ErrorMessage": "Organization policies do not allow sharing with these users. Go to External Sharing in the Office 365 Admin Center to enable it.",

     

  • AndreaWest83 Profile Picture
    12 on 23 May 2022 at 22:43:27
    Re: Correct Creator or Author sharpoint item list

    Hi @Expiscornovus

     

    Thanks for the quick reply.

    I tried the flow, but I get the error 401 UNAUTHORIZED.
    But my account is the same one that creates the object in sharepoint.

    How is it possible?

     

    {
     "statusCode": 401,
     "headers": {
     "Pragma": "no-cache",
     "x-ms-request-id": "f85340a0-60fc-4000-340f-5b42d710f065",
     "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
     "X-Content-Type-Options": "nosniff",
     "X-Frame-Options": "DENY",
     "Cache-Control": "no-store, no-cache",
     "Set-Cookie": "ARRAffinity=f5590XXXX;Path=/;HttpOnly;Secure;Domain=sharepointonline-we.XX.net,ARRAffinitySameSite=XXX;Path=/;HttpOnly;SameSite=None;Secure;Domain=sharepointonline-we.XXXXXt",
     "Timing-Allow-Origin": "*",
     "x-ms-apihub-cached-response": "true",
     "x-ms-apihub-obo": "true",
     "Date": "Mon, 23 May 2022 22:38:51 GMT",
     "Content-Length": "337",
     "Content-Type": "application/json",
     "Expires": "-1"
     },
     "body": {
     "status": 401,
     "message": "401 UNAUTHORIZED\r\nclientRequestId: 77XXX08c\r\nserviceRequestId: f8XXXXX5",
     "source": "https://rXXXXXXX.sharepoint.com/sites/Agent/pi/web/lists/GetByTitle('Control')/items(115)/validateUpdateListItem",
     "errors": []
     }
    }

     

  • Verified answer
    Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 23 May 2022 at 22:12:00
    Re: Correct Creator or Author sharpoint item list

    Hi @AndreaWest83,

     

    You could introduce a new person or group type of column for this and map to the responder's email to that field in the create item action.

     

    Alternatively, you can also use an Send an HTTP request action with the validateUpdateListItem method of the REST API to update the item after it has been created and correct the Author field value to what you want.

     

    @tom_riha has written a nice blogpost about this second approach:

    https://tomriha.com/how-to-change-sharepoint-item-author-created-by-with-power-automate/

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2