Applies to Product – Power Pages
What’s happening?
Customers are unable to access Power Pages or create new sites due to permission errors or missing options in the interface. Common error messages include "You don’t have permission to create a site in this environment" and "You don't have required permission to create Azure Active Directory applications."
Reason:
The underlying cause of this is often related to insufficient permissions for the user attempting to create Power Pages. Specifically, users may not have the necessary roles assigned in Azure Active Directory or may be restricted by tenant settings that disable site creation for non-admin users.
Resolution:
- Check User Permissions:
- Ensure that the user has the necessary permissions to create Azure Active Directory applications. This typically requires the user to be a Global Administrator or have the "Application Developer" role assigned.
- Verify Tenant Settings:
- Run the following PowerShell command to check if website creation is enabled: Get-TenantSettings -RequestBody @{ "disablePortalsCreationByNonAdminUsers" }
- If the value is true, website creation is disabled. To enable it, run: Set-TenantSettings -RequestBody @{ "disablePortalsCreationByNonAdminUsers" = $false }
- Assign Required Roles:
- If the user lacks the necessary permissions, request the tenant administrator to assign the "Application Developer" role to the user. This role allows users to create application registrations independently of the 'Users can register applications' setting.
- Review Documentation:
- Refer to the following documentation for detailed information on roles and permissions required for Power Pages administration:
- Auto-Resolution:
- If the issue resolves itself after checking permissions and settings, document the resolution as auto-resolved.
- Further Assistance:
- If the issue persists after following the above steps, gather additional details from the user regarding the specific error messages and any recent changes that may have affected their access, and escalate the case as necessary.
