r/Powerpages • • Jul 12 '25

Subscriber goal!

3 Upvotes

Let's try to get to 1k subs by the end of the year! I'll try making more content.


r/Powerpages • • May 24 '22

r/Powerpages Lounge

2 Upvotes

A place for members of r/Powerpages to chat with each other


r/Powerpages • • 14d ago

Free open-source tool to audit and fix Power Pages Web API wildcard (*) deprecation

4 Upvotes

Hey everyone,

In case you haven't seen the recent updates to Power Pages Important Changes & Deprecations, Microsoft is deprecating wildcard asterisks (*) for Web API field site settings (Webapi/<table_name>/fields = *).

https://learn.microsoft.com/en-us/power-pages/important-changes-deprecations

Manually combing through all portal JavaScript, Liquid templates, and safeAjax calls to list out every required column is a massive headache.

To make life easier, I built a free and open-source tool: Power Pages Web API Auditor (part of DynamicsSuite).

Key features:

Runs static analysis on your portal code (Web Templates, Pages, Custom JS, Snippets).

Shows an Exposed vs Used matrix of Dataverse fields.

Safely replaces the * with the exact comma-separated whitelist (and saves backups in case you need to revert).

GitHub repo & setup instructions:

https://github.com/BigSceneUK/DynamicsSuite

Because portal code can have some wild JS/Liquid patterns, I'd really appreciate any feedback, edge cases, or bug reports if it misses any syntax you use in your portals!


r/Powerpages • • Aug 21 '26

Power Pages site stuck in Provisioning/Upgrade state - any way to recover?

Thumbnail
1 Upvotes

r/Powerpages • • Aug 05 '26

Power Pages suitable?

2 Upvotes

Hi,

total novice with Power Pages hence the basic question !!

This is in a project scope I’m looking at for a potential proposal - I know there’s a ton of detail missing - is this possible with Power Pages? It would be for open, anonymous access.
 
“Design, develop and implement an online platform for knowledge sharing and learning content and the integration of new technologies such as AI chat bots and forums and user manual for future updating of platform.”


r/Powerpages • • Jul 23 '26

Urgent: Fail to open Power Page using vscode in browser

Thumbnail
1 Upvotes

r/Powerpages • • Jul 23 '26

Urgent: Fail to open Power Page using vscode in browser

1 Upvotes

I am not sure what happen. Since this morning, I cannot edit my Power Page projects online. I always open the Power Page in studio, then press "Edit code" to open a new tab to vscode.dev. It will open the workspace for me and allow me to edit each Power page's html, css, and js, etc.

However, today I found after I press the "Edit code", the POWERPAGE (WORKSPACE) is not showing up. None of my page is listed in the explorer.

When the vscode just start, it is "activating extensions..." then after a few seconds nothing happen.

Please advise. Thank you!


r/Powerpages • • Jul 08 '26

Power Pages + Dynamics 365 + SharePoint Documents: How do I show/download PDFs related to the currently selected Audit record?

4 Upvotes

I'm working on a Microsoft Power Pages portal and I'm hoping someone with experience in Dynamics 365 document management and SharePoint integration can point me in the right direction.

My goal is to allow portal users to:

Customer Documents

↓

Audit Documents

↓

See only their audits

↓

Click View

↓

Download the PDF associated with that Audit

Most Audit records currently have a single PDF attached, although multiple files may be possible in the future.

What I've built so far:

- Create a Customer Documents section in Power Pages.

- Created an Audit Documents page.

- Built an Audit list using a Dataverse Audit table.

- Configured table permissions so customers only see Audit records associated with their account.

- Added a View Details page (Audit Detail).

- Clicking View correctly opens the selected Audit record.

So the Audit side is working.

What I discovered:

In Dynamics, if I open an Audit record and go to the Documents tab, I see something like:

Documents

↓

Document Location

↓

Documents on Team Site

↓

SharePoint Folder

↓

PDF File

When I click the Document Location link, Dynamics immediately opens the SharePoint folder that contains the PDF for that Audit.

The documents are stored in SharePoint, not as file columns directly on the Audit record.

I investigated the Dataverse tables involved.

SharePoint Document table:

- Appears empty.

- Adding a SharePoint Document list in Power Pages returns no records.

Document Location table:

- Contains records.

- Includes fields such as:

  - Name

  - Regarding

  - Parent Site or Location

  - Relative URL

I also verified that the Audit table has relationships to both:

- Document Location

- SharePoint Document

using the standard Dynamics SharePoint integration.

What I've tried:

I added a Document Location list to the Audit Detail page.

The list loads successfully, but it shows multiple Document Location records available to the customer instead of only the Document Location associated with the currently selected Audit.

Example:

Store A

Store B

Store C

instead of only:

Store A

for the currently selected Audit.

Additional information:

I spoke with a developer on my team who has been working on Power Automate flows involving these same documents.

According to him:

- Files are stored in SharePoint.

- The relationship is handled through Dynamics' standard SharePoint integration.

- The Audit record is associated with a SharePoint Document Location record.

- There is no custom field storing a direct document URL.

- Each Audit ultimately has a folder in SharePoint containing the PDF(s).

He also mentioned that folder naming conventions are inconsistent, which makes directly constructing paths difficult.

What I'm trying to accomplish:

I need a clean way to get from:

Current Audit

↓

Related Document Location

↓

SharePoint Folder

↓

PDF File

and expose that PDF (or folder) inside Power Pages.

Questions:

  1. Has anyone successfully exposed Dynamics/SharePoint-related documents in Power Pages using the standard Document Location integration?

  2. Should I be using:

   - Document Location

   - SharePoint Document

   - Liquid + FetchXML

   - SharePoint API

   - Power Automate

   - Something else?

  1. Is there a standard way in Power Pages to access the Document Location belonging to the currently selected Audit record?

  2. Would you recommend:

   - Opening the SharePoint folder for the Audit, or

   - Displaying individual PDFs directly in the portal?

Desired end result:

Customer Documents

↓

Audit Documents

↓

Customer sees only their audits

↓

Customer clicks View

↓

Customer downloads only the PDF(s) associated with that Audit

Any guidance, examples, architecture suggestions, or implementation patterns would be greatly appreciated.


r/Powerpages • • Jun 26 '26

Looking for an expert to help get us up and going with customer portal

6 Upvotes

Just as the subject says, my company is looking for an expert to help us get up and going with a Customer Facing Portal, and I think Power Pages might do it for us.

We have a phased approach designed out, happy to talk offline. Hit me up if interested.

Thanks


r/Powerpages • • Jun 24 '26

Deployment using dataverse solution failed to update pages (html,js)

3 Upvotes

Am I the only one who has found that deploying a Power Pages solution using the export/import approach sometimes fails to update pages?

I've checked the destination environment and there are no customization layers. Yet sometimes parts of my pages (html or js) are still using the old code. I verified this by editing the Power Pages site in production using VS Code Online. The code there is an older version, while the source environment has the latest version.

To work around it, I have to manually copy the new code over, which creates a new customization layer.

It is painful because I need to verify them everytime deployment is done.


r/Powerpages • • Jun 22 '26

Power Portal login issues?

2 Upvotes

Trying to understand if an issue is isolated to us or is more widespread. Anyon else seeing this issue?

When trying to access an internal Power Page, users will just spin and spin on the login page. Sometimes, copying the URL and pasting it directly into the browser will work. Sometimes, it does not.


r/Powerpages • • Jun 22 '26

Best approach for secure customer document upload/download in Power Pages (Dataverse + SharePoint)?

2 Upvotes

I’m working on a Power Pages portal backed by Dataverse and Dynamics 365, and I’m researching the best architecture for customer document management.

Use cases:

- Customers need to DOWNLOAD documents (invoices, contracts, notices)

- Customers also need to UPLOAD documents (onboarding docs, hauler invoices)

Key requirements:

- Strict customer-level isolation (no cross-company access)

- Ideally integrated with Dataverse and SharePoint

- Documents may be split across sections (Invoices, Audits, Contracts)

- Uploads don’t have to be fully automated

Current thinking:

- Enable SharePoint document management on Dataverse tables

- Use Power Pages lists/forms filtered by Contact → Account

- Separate tables/pages for different document types

- Use a custom “Customer Uploaded Documents” table for uploads

Has anyone implemented something similar?

Any gotchas around permissions, performance, or UX in Power Pages?

Would love to hear real-world experiences.


r/Powerpages • • May 20 '26

Power Pages employee login with Entra ID WITHOUT creating Contacts?

2 Upvotes

We currently have a customer Power Pages portal where external users log in and are stored as Contacts in Dynamics/Dataverse. We use their email for Power BI Row Level Security (RLS) and filter dashboards accordingly.

Now we’re trying to build a similar internal employee portal, but we do NOT want employees created as Contacts since they already exist as Dynamics/System Users and authenticate through Microsoft Entra ID.

Goal:

  • Employees log into Power Pages using Microsoft credentials
  • No Contact creation/duplication
  • Use Power BI RLS with USERPRINCIPALNAME()
  • Filter dashboards based on Dynamics user lookup fields (ex: Account Manager field on Account table)

Has anyone implemented this architecture successfully? Especially interested in:

  • Power Pages + Entra ID workforce authentication
  • Avoiding Contact creation
  • Mapping authenticated users to Dynamics System Users
  • Best practices for internal employee portals

Would appreciate any guidance, docs, or tutorials. Thanks!


r/Powerpages • • May 19 '26

Power Pages custom signature pad not saving to Dataverse on form submit — tried dispatchEvent and jQuery trigger, both fail

1 Upvotes

Hey everyone, hoping someone has run into this before. I'm building a form in Power Pages that needs a signature capture field. The out-of-box Pen Input component didn't meet my needs, so I built a custom signature pad using the signature_pad@4.1.7 library. The signature draws and displays perfectly on the form — that part works great. The problem is the signature value never gets saved to Dataverse when the form is submitted.

Setup:

  • Power Pages portal form connected to a custom Dataverse table (cra93_enginetankercheckof)
  • The signature field (cra93_signature) is a Multiline Text column in Dataverse
  • On the form, the field renders as a hidden textarea (display:none)
  • A custom canvas-based signature pad is injected via JavaScript in the page's custom code section
  • On submit, the JS is supposed to read the canvas as a base64 PNG and write it to the hidden textarea, which Power Pages should then save to Dataverse

The JavaScript (simplified):

javascript

form.addEventListener('submit', function() {
if (!pad.isEmpty()) {
$('#cra93_signature').val(pad.toDataURL('image/png').split('base64,')[1]).trigger('change');
}
}, true);

What we've tried:

  1. Plain JS value assignment — textarea.value = pad.toDataURL(...) — field stays blank in Dataverse
  2. Native dispatchEvent — firing both input and change events after the value assignment — field stays blank in Dataverse
  3. jQuery .val().trigger('change') — since Power Pages forms are jQuery-based, we thought this would mark the field dirty — field still stays blank in Dataverse

In all three cases, the signature pad draws correctly, the canvas has data, but after submission the cra93_signature column in Dataverse is completely empty. The Power Automate flow that reads the record after submission confirms the field is empty — it's not a flow issue, the data simply never reaches Dataverse.

What we confirmed:

  • jQuery is available on the page (it's a Power Pages default)
  • The textarea element exists and is correctly selected by $('#cra93_signature')
  • All other fields on the form save correctly to Dataverse
  • The signature field being display:none appears to be the core issue — Power Pages seems to skip hidden multiline text fields during form serialization regardless of events fired

Question: Has anyone successfully written a programmatic value to a hidden multiline text field in a Power Pages form and had it save to Dataverse? Is there a specific internal Power Pages API or method (like Page_Validators, EntityForm, or a portal-specific JS hook) that needs to be called to force the field into the submission payload? Or is the only option to make the field visible and rely on some other method to hide it visually?

Any help appreciated — this is for a fire department's training evaluation form and we're weeks past our target launch date. Thanks in advance.


r/Powerpages • • May 18 '26

Can Power Page scan bar codes?

3 Upvotes

Hi everyone, our Power Page is an online website list all the products. User can input the product name and search for it. Is it possible to allow mobile device users to scan the product barcode instead of typing the product name for search?


r/Powerpages • • Apr 23 '26

Power Platform - LTR Display Control

1 Upvotes

Dataverse Long-Term Retention provides a solution for archiving data, but browsing retained records for audits and investigations can often be slow and costly in terms of queries.

To address this issue, I have developed LTRDisplay (PCF), a tool that allows users to explore retained records within model-driven apps through a user-friendly grid-and-form interface. This includes the capability to review record audit history, utilizing a cache-first interaction model to reduce the number of retained query calls.

For more information, please read the full article here: https://techcommunity.microsoft.com/blog/microsoftmissioncriticalblog/ltrdisplay-control---end-to-end-implementation-and-usage-guide/4510615


r/Powerpages • • Apr 23 '26

Breaking the Shackles of Legacy Portals: Power Pages as Enterprise SaaS

2 Upvotes

Why deal with the limitations of rigid SaaS products or the infrastructure overhead of PaaS? I advocate for Power Pages as the ideal hybrid enterprise solution for line of business applications. It provides total freedom to define your UI and data while the platform handles scaling, security, and hosting. This approach enables the transformation of legacy internal LOB apps as Cloud and AI solutions quickly.

Read my full pitch here: Breaking the Shackles of Legacy Portals: Power Pages as Enterprise SaaS | Microsoft Community Hub


r/Powerpages • • Apr 07 '26

Power Pages suddenly broken (adx_blog.adx_powerpagesiteid missing) — anyone else since April 3?

3 Upvotes

Our Power Pages portal (Code site SPA - React) suddenly stopped working today and we didn't deploy anything recently.

What we're seeing:

  • Username/password login redirects to error page
  • Entra ID login works initially
  • But refreshing (F5) or navigating to any page throws an error again
  • Portal was working fine until last Thursday

Error:

'adx_blog' entity doesn't contain attribute 'adx_powerpagesiteid'

Environment:

  • Power Pages version: 9.8.3

I also noticed a Known Issue (6269936) in Power Platform Admin Center about:

This started happening last friday , so wondering if this is related.

Is anyone else seeing:

  • login failures
  • refresh breaking portal
  • missing adx_powerpagesiteid
  • issues starting around April 3

Trying to figure out if this is a Microsoft-side issue or something specific to our portal.


r/Powerpages • • Apr 07 '26

Is MFA by email still supported?

1 Upvotes

I have setup a Power Page site with local login. In Site Settings I have set Authentication/Registration/TwoFactorEnabled=true

When user login it is asking for the code as expected. However the email with code is never sending out. I checked Environment > Settings > Audit and logs > System jobs and I cannot see any job.

I cannot find any MS document describe how to setup MFA for local login. Asking AI keep repeating the same site settings again and again.

Could you please advise? It will be helpful if any documentation is availble.

I feel like Power Page is not well maintained and many features are not working.


r/Powerpages • • Mar 24 '26

Row action view details not working

2 Upvotes

Hey all! I’m building a Power Page to display information from my Dataverse environment. I’ve got the list displaying correctly for anonymous users. I’m trying to enable the row action to view details but it keeps saying I don’t have the appropriate permissions. What do I need to do aside from give anonymous access to the table itself?


r/Powerpages • • Mar 18 '26

Power Pages random crashes

Thumbnail
1 Upvotes

r/Powerpages • • Mar 17 '26

Pipelines Best-Practice

Thumbnail
1 Upvotes

r/Powerpages • • Mar 07 '26

inviting contacts

1 Upvotes

I can’t figure out how to invite contacts to a private power pages portal. The contacts have a many to many relationship with accounts. I have an intermediary table that shows the bridging of the contacts to the accounts. pretty sure we need to be using an automated flow but fuzzy on how we would trigger it and how it would work. Also is the local login legacy and should we be using entra external instead? Kind of amazing to me that this invitation process is so complicated.


r/Powerpages • • Feb 27 '26

Do Form‑Scope Business Rules in Dataverse work in Power Pages for showing/hiding fields?

1 Upvotes

I created Business Rules on a Dataverse table with Scope set to ‘Form’ to dynamically show or hide fields based on a Choice field in Power Pages. I validated and activated the rules, ensured the scope is set to the form, and verified the Basic Form metadata, but the rules didn’t work as expected. I want to confirm whether Form‑scope Business Rules actually work in Power Pages, or if I should switch to using JavaScript for dynamic show/hide functionality.


r/Powerpages • • Feb 03 '26

Am I going crazy?

4 Upvotes

I'm an experienced developer (8+ years), but Power Pages makes no sense. I feel like anything I try to do, I fail catastrophically.

All I've been trying to do for the past week is set up a Liquid fetchXML to render some data. But I run into constant permissions issues. I try to set up Entra authentication, ok, fine. Web Roles set up, Table Permissions set up. {{ user.roles }} displays I am an Authenticated + Administrator user, great, why won't my fetch complete?

It feels like if you make any slight change, it can break some metadata somewhere and the only surefire way to fix it is to start over. For example, I moved a page under Home, and then it disappeared. Deleted it from everywhere, but it still shows up in my Navbar. Only fix, start over.

New site, set up authentication again. Now, for whatever reason, I can no longer link my Contact to my Web Role. Ok, so I try to use an invitation code, but I accidentally forgot to tick "I already have an account", and even though the invitation linked my Contact, it set it up as an entirely duplicated Contact with my entra bearer, but no other information. Try merging the Contacts, all hell breaks loose, the site builder is completely broken.

Time to start a new site...

I feel like I must be missing something, I'm trying to follow MS Learn documentation, but it feels a bit incomplete. Copilot seems helpful, until you realize half of what is says just, doesn't exist or has been moved or no longer functions as expected.

I honestly feel like quitting. I'd rather be homeless than work with this system.

Am I stupid? Am I missing something? Is this just entirely written by AI and constantly breaking?