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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Default location for s...
Power Apps
Unanswered

Default location for signed in User

(0) ShareShare
ReportReport
Posted on by

Hi All, 

 

I am new to Power Apps and would really like your help with this. I have been reading some posts about it but still not able to apply it to my solution. 

I am doing a visitor registration app, which was working fine until I started to get feedback on how to improve it. last thing I am stuck on is having the app to populate the location automatically without asking the user to chose it. 

the Location Column is in a SharePoint list with Choice option, and in the PowerApps, I had a location_DataCard that allows the user to chose location and populate SharePoint with the submit button along with other fields (like name and person visiting)

My setup is done with a special user hosted on a Tablet that people use to register. So I found that I can by default assign a location of the user who signed in (information taken from the profile in Office 365)
Default = Office365Users.UserProfile(User().Email).OfficeLocation

 

Now my issue is how to integrate this formula in my setup and make it appear in sharePoint. so I want to get rid of the Choice Option and have the Default location appearing in SharePoint instead in the Location Column.

the Location information is used in 2 forms, one in the Edit From and in the Detailed Screen Form.
In the future I will have 5 tablets each with its own specific user and location set in their profile. so whenever a tablet is used in the location, the location appears automatically in SharePoint list. 

 

hope this makes sense and looking forward for your feedback. thanks

PS: Attached is how my Datacard looks now and the apps forms. 

 

field.PNG
Pages.PNG
Categories:
  • Bilakanti Profile Picture
    1,226 on at

    @heythere11 - Can't you use a Text column instead of choice, as you're getting the value from Office365Users. If you want to continue with the choice column then you need to write a logic to compare what is the value that is returned from the Office365Users and put the respective choice value to update it in the sharepoint list.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard