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 / I want to restrict use...
Power Apps
Answered

I want to restrict user to use for one time

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi team,

I have crated app, using gallery, purpose of the app to collect/save the user inputs to my sharepoint, 

I have to restrict the user to fill it for 1 time. In a way once he submit the button next he should be able to access this app.

Can we do this ? Is this possible ?

 

 

Thanks !

Rakesh

Categories:
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    List:

    Email

    Flag
    abc@gmail.comYes
    def@gmail.comNo

     

    let's say you maintain a list like this.

    App.OnStart:

    Set(varUser,User());

    Set(IsUser,LookUp(ListName,Email=varUser.Email && Flag.Value ="Yes"));

     

    The above code will store user's info into variable if he is in the list and flag value is Yes.

    Then next line on App.OnStart:

    If(IsBlank(Navigate(HomeScreen),Navigate(Access Denied Screen));

     

    The above line of code will check weather the variable is blank or not. If it is blank that means user's flag is No and he is coming for the first time to submit data. it will navigate him to home screen. If variable is not blank that means he is coming again. and will navigate him to access denied screen.

     

    When you take the user's input make this flag YES.

     

    Flag is nothing but choice type column which have two values Yes and No. By default it will be No

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @zmansuri 

    You want me to create a new list ?

     

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    No, You can add the flag column in the current list. That was just example

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Appreciate it!

    Thanks !

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard