In this post I provide high-level requirements for provisioning of a Single Page Application with Power Pages. I will not dive deep in these as many tutorials can easily be found online.
I provide hereby my settings.
Setups
Environment
Create a new environment in Power Platform admin center.
New => fill in details => Enable Add a Dataverse data store
Power Pages website
Go to Power Pages and select newly created environment.
Start from blank => fill in details => Done
Microsoft Azure
Open newly created portal in Azure portal
App registrations => API permissions => Add a permission => find and add:
a) Dynamics CRM, user_impersonation (Access Common Data Service as organization users)
b) Microsoft Graph, User.Read (Sign in and read user profile) and User.Read.All (Read all users' full profiles)
c) Click Grant admin consent for Your-OrganizationAuthentication => check in Platform configurations that Web Redirect URIs is set to
https://<site-name>.powerappsportals.com
Power Pages designer
In the pages designer select your site => click Edit:
Security tab => Identity providers:
a) Disable Local sign in
b) Enable Azure AD and set as defaultPages tab => Home => Page settings => Permissions => I want to choose who can see the page => Authenticated Users
... tab => Power Pages Management (Advanced configuration of your site) will open a model-driven app in a separate window where you can configure your site.
I will be making SPA components mostly in the Power Pages model-driven app.
Top comments (0)