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 :
Power Platform Community / Forums / Power Apps / SubmitForm submitted e...
Power Apps
Unanswered

SubmitForm submitted entry Created By is not the logged in user.

(0) ShareShare
ReportReport
Posted on by 89

My understanding is that, when submitting a Power Apps form data row into a SharePoint list, the 'Created By' field for that row will be the logged in user. However that is not what I am seeing in modifying an app a colleague has created.

The colleague created a sharepoint connection to a list. But when I submit some test data via the form the created by field is not my user but the user assigned to the connector. I don't understand how this is happening.

 

The connector looks like this:

2023-11-15 14_23_36-New Message - Power Platform Community - Brave.png

 

and my logged in user is this

2023-11-15 14_27_17-WhatsApp.png

But when I submit an entry from the form the SharePoint row has a Created By entry of autobot@ourentity.com

My understanding, from these forums is that is not possible. It isn't the behaviour I want, is anyone able to guide me as to what might be causing this?

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at
    Re: SubmitForm submitted entry Created By is not the logged in user.

    Hi @KarlinOz ,

     

    What is the formula for submitting data? Pathc or SubmitForm function? 

    Did you create another flow and add it to the app to create the record?

     

    Best Regards,

    Wearsky

  • KarlinOz Profile Picture
    89 on at
    Re: SubmitForm submitted entry Created By is not the logged in user.

    Hi @v-xiaochen-msft 

    The function is

    SubmitForm(Form1_2);

    No flow is involved, it submits directly to SharePoint - via the connector I pictured above..

  • v-xiaochen-msft Profile Picture
    on at
    Re: SubmitForm submitted entry Created By is not the logged in user.

    Hi @KarlinOz ,

     

    This is strange.

    Typically, the user will be asked to create a SharePoint connection when they run the app for the first time.

    Can you check if the connection created by this user is his own?

    If user A logs into the app for the first time and creates a connection by entering user B's credentials, when he submits data, the creator of that data is user B. That's by design.

     

    Best Regards,

    Wearsky

  • KarlinOz Profile Picture
    89 on at
    Re: SubmitForm submitted entry Created By is not the logged in user.
    ...If user A logs into the app for the first time and creates a connection by entering user B's credentials, when he submits data, the creator of that data is user B...

    Aha - that's probably the issue I'm seeing. I made a copy of my colleagues app and when I first opened it, it probably asked for creds, and I wasn't paying attention and must have logged in with the autobot credentials I'd say. Do you know if there is a way of resetting the connector credentials so it requires me to log in again? Otherwise I'll create another copy of the app and pay more attention when logging in this time.

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: SubmitForm submitted entry Created By is not the logged in user.

    Hi @KarlinOz ,

     

    Please log in the powerapps portal (make.powerapps.com), click the 'connection' button (in the left navigation), find the wrong connection and delete it.

    Then open the app again and it will ask you to create a new connection.

     

    Best Regards,

    Wearsky

  • KarlinOz Profile Picture
    89 on at
    Re: SubmitForm submitted entry Created By is not the logged in user.

    @v-xiaochen-msft thank you for your help! 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard