web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Engage with the Community
Answered

Has anyone achieved 100% programmatic Canvas App creation without GUI interaction?

(1) ShareShare
ReportReport
Posted on by 1,424 Super User 2026 Season 2
Hello everyone
I'm trying to create Canvas Apps entirely through code without touching Power Apps Studio. So far, with Claude Code, I can get about 80% there with Power Apps CLI, but the holdup for me is the GUI requirements for control positioning, visual properties, and screen layouts.
 
From what I have tried or researched, Playwright quickly seemed like it would be too brittle, and manipulating .msapp files might be too risky.
 
Anyone already realizing what is just a goal for me? If so, how did you achieve this for creating solutions that can be deployed to production environments?
 
I'm open to any workarounds, undocumented APIs, or creative solutions to eliminate the GUI requirement completely. My goal is natural language in, working app out, zero manual steps.
 
Anyone cracked this?
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at
    Hi,
     
    Partly the issue here is that the complexity of what you want also plays a huge part. You are talking about building Apps, but how do you know your app won't need 10 screens 3 PCF controls, and 2 Canvas App Controls.
     
    I am not even saying its not possible to do it, but the app itself isn't going to be some super complicated thing. If you are talking some simple crud apps, you can pretty do that now, so yeah its been done because the pattern exists and doesn't really require natural language per se.
     
    You would have better luck, using Power Automate Desktop, creating play books etc and having it all done that one and have it then spit it out, versus trying to generalize every possible variation of a Canvas App, regardless of complexity into a description...
  • CU18061035-1 Profile Picture
    Microsoft Employee on at

    Your feedback helped me refocus on Model-Driven Apps with Custom Pages as the main automation target instead of spending too much effort on Canvas Apps. That change made the approach more code-driven, ALM friendly, and portable, which is exactly what I was aiming for in a fully governed, end-to-end automation setup.

    I really appreciate you taking the time to share your perspective. It helped me move the project in a more sustainable direction.

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at
     
    Love it a much better approach, you will be way happier in the long run :-)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Engage with the Community

#1
Mohsin Ali Profile Picture

Mohsin Ali 28

#2
11manish Profile Picture

11manish 17 Super User 2026 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 8

Last 30 days Overall leaderboard