cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tissanfr
Frequent Visitor

How can I grant access to a page for a limited amount of time, for each contact ?

We would like to give access to a webpage during a limited time. A contact receives an invitation, register, and has access to the page during 3 days. After that, he must contact us again and we grant another 3 days access. 

 

I have set a PowerApps portal, I know how to send invitation, but I don't know how to limit the access to a specific page during 3 days. I can create a specific field on the contact entity, with the expiration date. But how can I read this info from the webpage, and change the content depending if this date is reached already or not ? I'm a beginner, any advice will be welcome 🙂 

1 REPLY 1
OOlashyn
MVP

Hi @tissanfr,

You can use Classic Workflows for this (https://docs.microsoft.com/en-us/power-automate/workflow-processes). You can restrict access to the specific web role, grant that role to the user when they redeem an invitation. Also on invitation redeem you can run a classic workflow that will wait until the expiration date and then remove a web role from that user. 

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Users online (5,077)