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 / How can i restrict acc...
Power Apps
Unanswered

How can i restrict access to power app by time ?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

This Application is allow employees to request Transport. But the request should get approved by 5pm, So i'm restrict access to the application by the time user is accessing it. 

 

If user trying to access the Application after 5pm, Power App shouldn't allow user to enter the application. 

 

Is there any method to do this ?

 

Thanks in advance.

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Anonymous ,

    Use the StartScreen property of the app with a formula like:

     

    If(Hour(Now())>17,'Not allowed Screen','App Screen')

     

    and insert a supplementary screen (called 'Not allowed Screen' - of course this is your choice name) where to put a label to inform the user that is outside the interval to access the app.

    The user experience will be like: open an app and after 5 pm will be redirected to a screen with a message "out of the interval" (personalized by you of course), before 5 pm the app will work normally.

     

    Hope it helps !

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It didn't work.

  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Any errors ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    no errors, but it does not navigate to screen.

     

  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    Have you published the new form of the app ?

    It is past 17 in your region ? If not it would navigate to your base screen ...

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, time is correct, but still navigation isn't happening, Is browser cache have anything do with it ?

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    @gabibalaban 's solution is great.

    When did the user test ? 

    If the user tested it at 17:30, please modify this formula slightly.

    If(Hour(Now())>=17,'Not allowed Screen','App Screen')

     

    vxiaochenmsft_0-1637044957783.png

    vxiaochenmsft_2-1637045033072.png

     

    By the way, if your problem is solved, please consider mark @gabibalaban 's solution .

     

    Best Regards,

    Wearsky

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard