Dynamically Assign Web Role when contact registers for PowerApps Portal

 We can dynamically assign and unassign Web Role of Contact based on certain criteria using the classic workflow in Powerapps.


Step 1: Navigate to https://make.powerapps.com/ and click on settings gear to navigate to Advanced Settings



Step 2: This will open the below screen in new tab.


Step 3: Click on Caret right to Settings and then on Process to navigate to below screen


Step 4: Click on New to open below screen


Step 5: Provide a Process name, Category as Workflow and Entity as Invitation


Step 6: Set the workflow trigger to When Record is Updated and select field as redeemed contact


Step 7: Click on Add Step and select portal and Assign Web Role


Step 8: This will show below screen, click on properties to set the workflow properties


Step 9: Click on magnifying glass to set the web role in property as below


Step 10: Click Save and Close and Activate the workflow


We can also unassign the web role using Unassign Web role action in add step- portal-Unassign Web Role.













Comments