cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
livingstonep
Level 8

PowerApps creating SharePoint record using data connection and not user id

we are testing a new PowerApp that creates records on two SharePoint Lists, one a Master list and one a Detail list...

 

The PowerApp isusing a service login called BHF App Connector for the data connections - see this image:

PowerApp using BHF App Connector for data connection.PNG

the user creates several detail records, and when ready, clicks the button Submit request, which calls UpdateIf to set the status of the Master record to submitted.

 

We have noticed that when I am using the PowerApp (but not anyone else) the records are being created in the list with the data login BHF App Connector in the Created by and Modified by fields - see below image

BHF App Connector login in list.PNG

 

so what can be causing this - and how do we prevent it?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: PowerApps creating SharePoint record using data connection and not user id

@livingstonep 

Two other ideas:

 

#1  What happens if you play the app from another computer logged in as yourself?  (The credentials might be cached on your machine).

 

#2  What happens if you clear your browser cache and play the app logged in as yourself?

 

 

(Did the app ever work?  I mean did it ever show you as the creator?)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

4 REPLIES 4
Super User
Super User

Re: PowerApps creating SharePoint record using data connection and not user id

@livingstonep
To my knowledge PowerApps will always write the record as whoever is logged in. You must be currently logged into the BHF App Connector account. Log out and login to your personal account then conduct a test.

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.
livingstonep
Level 8

Re: PowerApps creating SharePoint record using data connection and not user id

this is the strange thing - I am not logged in as BHF App Connector, I am logged in as myself.

I have even rebooted my pc but it's still happening...

I only used the BHF App Connector in the PowerApps studio to add the SharePoint connectors to the lists...and I have rebooted since closing the studio after publishing the PowerApp

Super User
Super User

Re: PowerApps creating SharePoint record using data connection and not user id

@livingstonep 

Two other ideas:

 

#1  What happens if you play the app from another computer logged in as yourself?  (The credentials might be cached on your machine).

 

#2  What happens if you clear your browser cache and play the app logged in as yourself?

 

 

(Did the app ever work?  I mean did it ever show you as the creator?)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

livingstonep
Level 8

Re: PowerApps creating SharePoint record using data connection and not user id

hi,

I cleared all site data, cached data and cookies, restarted the browser, and the same thing happens.

I also tried using In-private/Incognito windows on both Chrome and Firefox with the same result.

 

any other ideas?

Helpful resources

Announcements
thirdimage

Power Apps 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!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,648)