Events
Power BI DataViz World Championships
14 Feb, 16 - 31 Mar, 16
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The Power Pages site visibility setting allows you to control who has access to your website. You can make the site private to restrict access to specific people in your organization. If you choose to make the site public, anyone with the link can access it.
Important
Only site makers and organization users to whom the maker granted access can view private sites. Site visitors need to authenticate with the organization's Microsoft Entra ID identity provider before they can view site contents.
Tip
Set visibility to private to limit access while your site is in development.
Anyone on the Internet can view public sites anonymously or if they're authenticated with an identity provider. Public websites are production sites, fully operational for customers to use. A notification reminds you when you edit a public site in the design studio, Portal Management app, Visual Studio Code editor, and the Microsoft Power Platform CLI.
When a site is ready to go live, you can set the site visibility to public. You can change the site visibility back to private at any time so that only the makers of the site and selected users have access.
When you change the site visibility, your website restarts. It may take a few minutes to reflect the last change.
When your site is private, you can use the site visibility page to grant access to other organization users. You can grant access to up to 50 organization users. You don't need to grant access to users who have the System administrator role in your site's environment. They have permissions to view the site by default.
Note
Users who are granted access to a private site aren't automatically authenticated on the site. Learn how to provide access to external audiences.
Your security role and tenant security settings determine whether you can change a site's visibility.
Service admins who are members of any of the following Microsoft Entra roles can change the site visibility:
When the tenant-level setting enableSystemAdminsToChangeSiteVisibility
is set to true
, members of the System administrator security role can also change the site visibility.
If the tenant-level setting enableSystemAdminsToChangeSiteVisibility
is set to false
, members of the System administrator security role must be a member of an exclusive security group in Microsoft Entra that has the permissions to manage site visibility.
You can use a PowerShell script to change the tenant-level setting enableSystemAdminsToChangeSiteVisibility
.
To get the current value of the tenant-level setting, use the Get-TenantSettings command. For example:
$myTenantSettings = Get-TenantSettings
$ myTenantSettings.powerPlatform.powerPages
Note
The Get-TenantSettings command doesn't list tenant settings whose value is null. The default value of the tenant-level setting enableSystemAdminsToChangeSiteVisibility
is null, so it doesn't appear the first time you run the script. After you set its value to true
or false
, the setting appears in the list. When the value of the tenant setting is null, System Administrators will be able to change the site visibility.
To set a value for enableSystemAdminsToChangeSiteVisibility
, use the Set-TenantSettings command. The following example sets the value to false
:
$requestBody = @{
powerPlatform = @{
powerPages = @{
enableSystemAdminsToChangeSiteVisibility = $false
}
}
}
Set-TenantSettings -RequestBody $requestBody
When you don't want all system administrators to be able to change site visibility, set enableSystemAdminsToChangeSiteVisibility
to false
. Then delegate site visibility management to a select set of users.
Add system administrators to a security group in Microsoft Entra ID and give the group site visibility permissions.
In the Power Platform admin center, select Power Pages sites.
Select your website, and then select Manage.
In the Security section, select Manage site visibility permissions.
Add the security group that includes the specific system administrators you want to delegate site visibility control to.
After you add the security group, all system administrators who are in the group can manage site visibility. System administrators who aren't members of the group see the site visibility section disabled.
Microsoft Entra authentication is turned on by default when a website is provisioned. A private Power Pages website doesn't work if you turn off Microsoft Entra authentication. Change the site visibility to public before you turn off Microsoft Entra authentication.
Events
Power BI DataViz World Championships
14 Feb, 16 - 31 Mar, 16
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Certification
Microsoft Certified: Identity and Access Administrator Associate - Certifications
Demonstrate the features of Microsoft Entra ID to modernize identity solutions, implement hybrid solutions, and implement identity governance.
Documentation
Provide access to external audiences
Learn how to allow external audiences to use a local account to access sites you create with Microsoft Power Pages.
List of known issues in Power Pages
Add a custom component (preview)
Learn how to add a custom component to a section on a Power Pages site.