Setting Up Authentication and Security in Power Pages
Power Apps Pages, part of the Microsoft Power Platform, allows you to create responsive web applications that can be accessed by both internal and external users. Setting up authentication and security is crucial to ensure that only authorized users can access your application and its data. In this blog, we’ll walk you through the steps to set up authentication and security in Power Apps Pages.
In this blog, we’ll cover the essentials of setting up security in Power Pages.
Step 1: Configure Authentication
- Go to the Power Apps Admin Center.
- Select the environment where your Power Apps Pages are located.

Click on Power Pages sites and then select your portal.


There is another way of authenticating your Power Pages
Set Up Identity Providers using Azure
For Azure AD:
- Select Azure Active Directory.
- Enter the required details such as Client ID, Client Secret, Tenant ID, and Issuer URL. These details can be obtained from the Azure portal by registering a new application.
- Save the changes.
Enable Authentication
- Ensure that authentication is enabled for the portal.
- This can be done under the Authentication Settings where you can toggle the authentication status to Enabled.
Step 2: Setting Up Security
Start by navigating to Power Pages Studio. Choose the site where you want to set up authentication.
Click the ellipses (three dots) next to the Preview button and select ‘Power Pages Management’ in Power Pages Studio.

This will take you to the Power Pages Management interface where you can make various administrative changes.
Select the ellipses and click Web Roles

Click on New to create a new web role. Name the role , in this case, (‘FreeSpirit Global Admin’) and save it.

Web Page Access Control Rule in Power Pages is a security feature that defines which users or roles can access specific web pages on a site. This rule ensures that only authorized users can view or interact with restricted content, protecting sensitive data and maintaining site security.

Add Web Roles to the Web Page Access Control Rule
Step 3: Configure Page Security
Navigating Page Settings in Power Pages Studio
Go to Power Pages Studio -> Select the ellipses and Page Settings -> Go to Permissions and add the Role of the viewer

Securing Power Pages using Power Pages Management
Assigning Web Roles to Contact. Make sure the Form is set to Portal Contact.

Select Web Roles from the Related drop-down


Add Existing Web Role or create a new one if you want
Table Permissions using Power Pages Management
- Navigate to Security > Table Permissions.
- Click on New to create a new table permission.

- Specify the table (entity) and the permission type (Read, Write, etc.).
- Assign the permission to a web role.
- Secure Individual Pages
- In the Portals Management App, navigate to Web Pages.
- Select the page you want to secure.
- Under the Permissions tab, add the web role that should have access to this page.
Step 4: Additional Security Settings
- Set Up Multi-Factor Authentication (MFA)
- For added security, configure MFA in your Azure AD.
- Go to the Azure AD portal.
- Navigate to Security > Multi-Factor Authentication and follow the setup instructions.
- Configure IP Restrictions
- You can restrict access to your Power Apps Pages based on IP addresses.
- In the Portals Admin Center, navigate to Site Settings.
- Add new site settings for IP restrictions and specify the allowed IP addresses.
- Review and Monitor Security Logs
- Regularly review security logs for any suspicious activity.
- In the Azure AD portal, navigate to Monitoring > Sign-ins to review sign-in activity.
Conclusion
Setting up authentication and security in Power Apps Pages ensures that your application and its data are protected from unauthorized access. By configuring identity providers, creating security roles, setting up appropriate permissions, and implementing additional security measures like MFA and IP restrictions, you can manage who accesses your portal and what they can do within it. Follow these steps to create a secure and robust Power Apps Page for your users.
By following this guide, you can ensure your Power Apps Pages are secure and provide a seamless experience for your users.
Happy Building!
We hope you found this blog useful, and if you would like to discuss anything, you can reach out to us at transform@cloudfonts.com.
Related posts:
Share Story :
SEARCH BLOGS :
FOLLOW CLOUDFRONTS BLOG :
Enter your email address to follow this blog and receive notifications of new posts by email.
Categories
- AI (9)
- Azure (113)
- Azure AI Search (1)
- Azure and Office 365 (108)
- Azure App Services (2)
- Azure Blob Storage (3)
- Azure Data Factory (2)
- Azure Databricks (9)
- Azure DevOps Services (6)
- Azure Function (17)
- Azure Integration (1)
- Azure Synapse Analytics (3)
- Blog (1,413)
- Business Process Flow (2)
- C# (7)
- Cloud flows (20)
- CloudFlows (11)
- Copilot (5)
- Custom Copilot (3)
- Customer Success (80)
- d365 (4)
- D365 Business Central (317)
- D365 Commerce (5)
- D365 Customer Service (61)
- D365 Field Service (21)
- D365 Finance (12)
- D365 Finance and Operations (235)
- D365 General (300)
- D365 Project Operations (6)
- D365 Project Service Automation (56)
- D365 Retail (60)
- D365 Sales (55)
- D365 SCM (14)
- Data (2)
- DataBricks (3)
- Dataverse (12)
- Demand and Supply Forecasting (1)
- Dot Net (1)
- Dynamics 365 (254)
- Dynamics 365, Business (25)
- Dynamics AX (41)
- Dynamics CRM (146)
- Dynamics NAV (15)
- InforLN (1)
- JavaScript (12)
- Logic App (34)
- LS Central (13)
- Model-Driven App (8)
- MS Teams (6)
- Odoo (1)
- OpenAI (2)
- Power Automate (65)
- Power BI (203)
- Power Plattform (18)
- Power Query (6)
- Power Virtual Agent (2)
- PowerApps (57)
- PowerApps Portal (8)
- Press Releases (57)
- Project Management (4)
- Project Service Automation (7)
- Ribbon Workbench (2)
- Ribbon Workbench (1)
- Salesforce (2)
- SharePoint (5)
- SQL Server (8)
- SSIS (1)
- Thought Leadership Article (14)
- Tibco (3)
- Unity Catalog (1)
RECENT UPDATES
- The Hidden Power BI Feature That Will Transform Your Data Automation
- From Clean Data to Insights: Integrating Azure Databricks with Power BI and MLflow
- Migrating from Dynamics GP to Business Central: A Leap Towards the Future
- A Unified Approach to Developing Finance and Operations Applications
- Dealing with ISV Extension Updates in Business Central: A Practical Guide