This content originally appeared on DEV Community and was authored by Andrew Elans
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 my 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.
This content originally appeared on DEV Community and was authored by Andrew Elans
Andrew Elans | Sciencx (2024-07-09T10:32:43+00:00) Power Pages SPA: main setup. Retrieved from https://www.scien.cx/2024/07/09/power-pages-spa-main-setup/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.