Disable Local Sign In in Power Pages
Daniel Cieckiewicz
What Local Sign In in Power Pages is?
Local Sign In is a Power Pages feature that enables Users to log in to the Power Pages Portal using ASP.NET authentication functionality. The essential thing is that this authentication method is being deprecated – I am writing this article in August 2023. So, I suggest to use it sparingly in your solutions. Microsoft recommends using the Azure B2C authentication method.
If you work with Power Pages, you probably know that authenticated users are stored in Dataverse as Contacts. Unlike Azure B2C, the username and password information is stored directly in the appropriate Dataverse Contact record in the Local Sign In authentication method.
Here is an overview of Microsoft’s article regarding Local Sign In in Power Pages.
Power Pages provides authentication functionality built on the ASP.NET Identity API. ASP.NET Identity is in turn built on the OWIN framework, which is also an important component of the authentication system. Power Pages provides the following services:
- Local (username/password) authentication
- External (social provider) authentication through third-party identity providers
- Two-factor authentication with email
- Email address confirmation
- Password recovery
- Invitation code sign up for registering prepopulated contact recordsMicrosoft
This is what Local Sign In looks like in the Power Pages Portal. We want to turn that off.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-24-15_18_41-Sign-in-and-5-more-pages-Work-2-Microsoft-Edge.png)
How to disable Local Sign In in Power Pages?
There are two possible approaches to disabling Local Sign In in Power Pages.
Identity providers approach
To disable Local Sign In in Power Pages from the Identity Providers tab, open the Power Pages Portal you want to turn off the Local Sign In using link from below. Then click the “Edit” button.
https://make.powerpages.microsoft.com/environments//portals/home
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_37_53-Home-_-Power-Pages-and-2-more-pages-Work-2-Microsoft-Edge.png)
In the left menu, go to the “Set up” section, then click on “Identity providers,” and finally find “Local sign in” and disable it, as I showed in the screenshot below. Ready!
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-24-15_11_18-Identity-providers-_-Set-up-_-Power-Pages-and-4-more-pages-Work-2-Microsoft.png)
Portal Management approach
To start, open the Power Pages Portal you want to turn off the Local Sign In using link from below. Then click the “Edit” button.
https://make.powerpages.microsoft.com/environments//portals/home
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_37_53-Home-_-Power-Pages-and-2-more-pages-Work-2-Microsoft-Edge.png)
Now, we wait 🙂
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_39_25-Power-Pages-and-2-more-pages-Work-2-Microsoft-Edge.png)
When the things are ready, press the “…” button on the left and choose “Portal Management”.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_39_41-Design-studio-_-Power-Pages-and-3-more-pages-Work-2-Microsoft-Edge.png)
The new browser tab will be opened. Find the “Site Settings” tab on the list and type “*local*” in the search. We are searching for a Local Sign In configuration line, so we can disable it.
As you noticed – most configurations are stored in a standard Dataverse table and they are managed with a Model-driven App.
A screenshot below should help you out.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_46_13-Website_-Information_-GNA_JSN_DEV-gn-jsn-dev-and-7-more-pages-Work-2-Mic.png)
Have it? Awesome. The “LocalLoginEnabled” row is the one we are looking for. It is probably set to “True” if nobody disabled that already. We must set the “Value” to “False.” This will disable the Local Sign In in Power Pages – for the current portal.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-16_01_07-Website_-Information_-GNA_JSN_DEV-gn-jsn-dev-Dynamics-365-and-5-more-pages-.png)
Open the record by clicking on the link and change “Value” from “True” to “False.” Then click “Save and Close”.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-16_01_37-Site-Setting_-Information_-Authentication_Registration_LocalLoginEnabled-Dynam.png)
Let's test it!
It’s done! If you want, you can check if the changes are there. To do that, go back to the Power Pages Portal and click “Sync” and then “Preview”. It will open the Power Pages Portal for you.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_50_11-Design-studio-_-Power-Pages-and-8-more-pages-Work-2-Microsoft-Edge.png)
Click “Sign In”.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_51_42-Home-and-8-more-pages-Work-2-Microsoft-Edge.png)
Verify that the “Local Sign In” button is gone and unavailable in the Power Pages Portal.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/08/2023-08-23-15_51_51-Sign-in-and-8-more-pages-Work-2-Microsoft-Edge.png)
Summary
![](https://powerplatformuniverse.com/wp-content/uploads/2022/09/tetiana-shyshkina-TswOPhWcrmQ-unsplash-1-scaled.jpg)
This is very straightforward. After writing this article, my main concern is that the configuration regarding the Power Pages Portal is stored in a Dataverse table and is accessible from the Model-Driven app. This is not the best practice, to say the least. I hope it will evolve and we will have a more reasonable Administration Center for such configurations.
So, finally, we are at this point where I should thank you for your time and for reading this article. Feel free to rate this article and comment if you liked it. If you have any questions, feel free to contact me (via contact@poweruniverse.org), but first, you may be interested in joining a Newsletter. Hmm? (Sign up here) If you already did, wow, thanks, thanks a lot.
Via Newsletter, I am sharing insights into my work, plans for upcoming weeks, and knowledge about the Power Platform Universe and the IT world. If you are interested, feel free to join! I am going to send the latest Newsletter to everyone who enters!
See you!
![](https://powerplatformuniverse.com/wp-content/uploads/2022/10/DSC2141.jpg)
Daniel Ciećkiewicz
I am a Senior Power Platform Consultant focused on Dataverse, Power Apps, and Power Automate. I was also a Team Leader responsible for the Power Platform Team and their development paths.
In my private life, I like video games, sports, learning & gaining knowledge, and a taste of good Scotch Whisky!
Ooo, I almost forgot, I love our Polish Tatra Mountains!
![](https://powerplatformuniverse.com/wp-content/uploads/2022/09/josh-appel-NeTPASr-bmQ-unsplash-scaled.jpg)
Power Apps Licensing Explained
Power Apps Licensing – this is something every Power Platform expert must know. In this article I will walk you through the cons and pros of available plans.
![](https://powerplatformuniverse.com/wp-content/uploads/2022/07/adam-birkett-MajocRHT8xM-unsplash-scaled.jpg)
Understand Delegation in Power Apps
In this article I will walk you through delegation in Power Apps and I will show you many interesting concepts how to work with delegation and understand Delegation in Power Apps!
![](https://powerplatformuniverse.com/wp-content/uploads/2022/11/jordan-harrison-40XgDxBfYXM-unsplash-scaled.jpg)
Connection vs connection reference in Power Platform
In this article I will tell you what is the difference between connection and connection reference in Power Platform. It is very good to know the advantages.
![](https://powerplatformuniverse.com/wp-content/uploads/2024/06/jose-fontano-pZld9PiPDno-unsplash-354x222.jpg)
Overview of a Tenant Isolation in the Power Platform
What is Tenant Isolation in the Power Platform? How does it work and how do you know it will be good for your organization? Check the article!
![](https://powerplatformuniverse.com/wp-content/uploads/2024/01/jon-tyson-vVSleEYPSGY-unsplash-354x236.jpg)
The most interesting Power Platform features of 2024 – Wave 1 update
Do you want to know what updates are coming in 2024? This article will tell you more about incoming updates for Power Platform in Wave 1.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/11/sigmund-HsTnjCVQ798-unsplash-354x236.jpg)
Use a Service Principal to run Dataverse actions in Power Automate
Do you want to learn how to use a Service Principal to work with Dataverse actions in Power Automate? This article is for you. Check it out.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/10/jj-ying-8bghKxNU1j0-unsplash-scaled.jpg)
Own and run Power Automate flows with Service Principal
What is Service Principal? How to own and run flows with Service Principal. All this questions are answered in today’s article. Check it out.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/11/sigmund-HsTnjCVQ798-unsplash-scaled.jpg)
Use a Service Principal to run Dataverse actions in Power Automate
Do you want to learn how to use a Service Principal to work with Dataverse actions in Power Automate? This article is for you. Check it out.
![](https://powerplatformuniverse.com/wp-content/uploads/2023/09/markus-spiske-SH98nuc1-Xc-unsplash-scaled.jpg)
Power Automate flows limits overview
Do you want to learn if there are limits to Power Automate flows? What are they? How many limits are there? Check out the article.
![](https://powerplatformuniverse.com/wp-content/uploads/2024/01/jon-tyson-vVSleEYPSGY-unsplash-scaled.jpg)
The most interesting Power Platform features of 2024 – Wave 1 update
Do you want to know what updates are coming in 2024? This article will tell you more about incoming updates for Power Platform in Wave 1.