
Software Development Redmond, Washington
Microsoft published a YouTube demo that highlights a practical update to Power Apps: the Confirm() function. The video, presented by Shiv Sharma during a Power Platform community call on May 20, shows how this built-in dialog can replace many custom popup patterns. Consequently, the demo focuses on simplifying confirmation flows for common actions like deleting records, while also showing how to reduce UI complexity and maintenance overhead.
The YouTube demo opens by framing a common developer problem: custom popups require extra screens, overlays, and state handling. Then, the presenter shows how Confirm() provides a native, modal confirmation dialog that returns a simple boolean result so logic can continue immediately. As a result, the video frames Confirm() as a means to keep canvas apps and model-driven apps cleaner and easier to maintain.
Moreover, the demo emphasizes developer productivity and user experience consistency. The presenter walks through a live delete scenario to show the function in action, and he highlights how success and error notifications integrate with the flow. This hands-on approach helps viewers quickly gauge the practical value of replacing custom components with a native call.
At its core, Confirm() displays a modal dialog with two buttons and pauses execution until the user chooses an option. Then, the function returns true or false, which developers can use directly in an If() statement to control subsequent actions. For example, a single formula can both ask for confirmation and remove a record only when the user agrees.
Additionally, the dialog supports configurable text such as title, subtitle, and message, and it allows custom labels for the confirmation and cancel buttons. However, the video shows that the flow remains deliberately simple: the UI choices follow a fixed two-button pattern and styling options are limited compared with fully custom popups. Therefore, developers must weigh convenience against the need for bespoke interfaces.
The main benefits are straightforward: less UI code, clearer logic, and faster implementation of common confirmation flows. Consequently, teams can avoid building overlays, visibility toggles, and separate dialog containers, which reduces bugs and makes maintenance easier. Furthermore, native dialogs promote consistent user experiences across the platform.
On the other hand, the tradeoffs include reduced styling control and limited button patterns. While native dialogs boost speed and consistency, they may not suit apps that require custom branding, multiple choices, or complex interactive content in confirmations. Thus, organizations must balance rapid development against specific UX needs and decide when a custom component remains justified.
Official documentation still notes that Confirm() is documented for model-driven Power Fx commands, but the community demo demonstrates practical use in newer canvas experiences. Accordingly, the video suggests the capability is expanding across authoring and runtime environments, though availability may vary by platform and version. Therefore, authors should verify their Power Apps authoring environment before relying on the function for production scenarios.
Moreover, the community has reported a few constraints: the dialog supports only two buttons, styling control is constrained, and some options behave differently across devices. As a result, app makers must test the dialog in their specific runtime and on targeted platforms to confirm exact behavior. In this context, careful testing helps avoid surprise user experiences after deployment.
The presenter offers straightforward patterns that developers can copy, such as wrapping the action in an If() that calls Confirm(), then running Remove() only when confirmation returns true. This keeps confirmation logic and action handling together, which improves readability and reduces scattered state variables. Consequently, teams can implement common scenarios in minutes while keeping formulas compact.
Nevertheless, some challenges remain when migrating existing apps: converting complex custom dialogs to native calls can require redesigning flows that include animation, multi-step confirmations, or custom visuals. Therefore, developers should inventory use cases, prioritize where native dialogs deliver clear benefits, and preserve custom components where they add necessary functionality. Testing and incremental migration usually offer the safest path forward.
Overall, the YouTube demo positions Confirm() as a useful built-in tool for many confirmation needs, especially for destructive actions like delete or submit. Thus, teams focused on fast, consistent development will likely adopt the function to reduce UI complexity and simplify logic. At the same time, designers and developers should weigh the tradeoffs around styling and interaction patterns before fully replacing custom dialogs.
In conclusion, the video provides a clear, practical case for using Confirm() where it fits, while cautioning that not every scenario should switch immediately. Therefore, app makers should test the feature in their app types, consider user experience requirements, and plan migrations carefully. By doing so, they can capture the benefits of native confirmation dialogs without losing the control they need for specialized interfaces.
Power Apps Confirm function, Power Apps confirmation dialog, Confirm() Power Apps tutorial, Build confirmation dialogs Power Apps, Modern confirmation dialogs Power Apps, Power Apps without custom popups, Power Apps confirmation UX, Power Apps built-in confirm dialog