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 / problems with user per...
Power Apps
Answered

problems with user permissions

(0) ShareShare
ReportReport
Posted on by 12

I want to build a PowerApps. the PowerApps functions are a lot but I cannot personalize the app for each user so the users can only view data relevant to them. I have tried methods like On start - search office365users.myprofile() .Mailnickname but I am getting syntax error. I tried every possible syntax and it doesn't allow me to do just that. all I need is for the PowerApps to launch and search for the users and show information only relevant to that user and set the permission accordingly. and this is on an organization level. " all the organization users have office365 profiles, they PowerApps is going to be launched from teams which means the info I need should already be entered while in teams." I have hit a wall at this point and I would love to find the solution.

Categories:
I have the same question (0)
  • Verified answer
    Abhilash_Swain Profile Picture
    901 on at

    Hi @omareisa,

    Please add this ClearCollect(coll_userprofile,Office365Users.UserProfile(User().Email)) as shown below.

    Abhilash_Swain_0-1641195553432.png

    Use the coll_userprofile, to display the data.

     

    Hope this will help you.
    Please give a like / accept it as a solution. 🙂 

  • omareisa Profile Picture
    12 on at

    I have used the command, thank you for that.

     

    however, is there a way to view the data only relevant to the user who opened the application?

  • Abhilash_Swain Profile Picture
    901 on at

    @omareisa, "User().Email" will filter the current logged in user .

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 633

#2
11manish Profile Picture

11manish 588

#3
Valantis Profile Picture

Valantis 457

Last 30 days Overall leaderboard