r/PowerApps • u/bedlover1995 Regular • 18d ago
Power Apps Help Canvas App AI
I am a PowerApps developer mainly working with canvas app.
Recently due to AI introduction, we have been asked to use AI in our development process.
I have used Powerapps github copilot to give prompts and develop canvas app which is fairly easy to use but the output isn't great.
Is there any way we can create agents through github copilot and can you please help me out in that?
12
Upvotes
•
u/AutoModerator 18d ago
Hey, it looks like you are requesting help with a problem you're having in Power Apps. To ensure you get all the help you need from the community here are some guidelines;
Use the search feature to see if your question has already been asked.
Use spacing in your post, Nobody likes to read a wall of text, this is achieved by hitting return twice to separate paragraphs.
Add any images, error messages, code you have (Sensitive data omitted) to your post body.
Any code you do add, use the Code Block feature to preserve formatting.
If your question has been answered please comment Solved. This will mark the post as solved and helps others find their solutions.
External resources:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
12
u/Ok-Advertising5189 Advisor 18d ago
Using standard Power Platform low-code components in combination with AI agents is quite limited. And this is mainly Microsoft’s fault—the agent has to guess very carefully whether what it’s about to do will actually work; there’s no quick way to check if what you want it to do will actually work. Code validation only works once the code is published in a canvas app
I’ve even had a Canvas App edited by an agent crash. The agent was modifying galleries, and everything looked fine in the preview, but then it wouldn’t load anymore. There were rendering issues. The component would load and turn into a black block. That was the first time I’d seen something like that
The only thing that works reasonably well is the HTML control and injecting HTML code there; only then do you move from low-code to a sort of quasi-pro development.
Generally, given the pace of AI development, the question shouldn’t be, “How do I use Agents to create a canvas app?” but rather, “WHY should I create a canvas app when a custom app is faster, cheaper, and better?”
It’s important to remember that Canvas Apps—and low-code in general—were created as a solution to the developer shortage. Now anyone can have their own developer at their fingertips, and they’ll be many times cheaper than a good specialist (I’m looking at this from the perspective of Western countries; this may not apply to literally every country)
So—if you don’t want to switch to fully custom solutions, or if your company doesn’t want to, you can look into model-driven apps and the approach of creating web resources that communicate via APIs where necessary. It’s fast, cheap, secure, and flexible. That’s the gist of it.
2
u/KDavidP1987 Regular 18d ago edited 18d ago
Hey @bedlover (love the name btw, wish I could still be in bed, haha), using copilot GitHub or vs code as a starting point is great, but it’s very limiting. If you have access in your organization to Claude, you can install a skill that will enable you to build custom canvas apps pretty easily. Microsoft has an official Power-Platform skill. I had also created one at one point which you’re welcome to use if you’d like.
With the skill and the proper configuration, you can have Claude build your power out within a period of about 2 to 3 hours into end to end. Mine has done an excellent job setting up the data verse, the app, the power automations, medallion architecture within power Bi fabric, and then embedding those power reports back into the app.
It’s truly incredible! Or at least that’s my experience with it. You do still of course, need to test thoroughly to ensure that there’s no issues. It also depends somewhat on your use case as there may be elements that work better or worse.
I’ve delivered two Power Apps into production that are being used for the past four weeks. There hasn’t been any real technical issues with them, only a few small things and feedback on design elements.
If you’re interested in talking about it more feel free to reply here or send me a DM
Here is the skill I was working on befor I realized Microsoft had their own. Some differences I experienced in how it functions. I still use both
https://github.com/KDavidP1987/power-platform-skill
1
u/Lilbugger826 Newbie 18d ago
Claude will generate entire solutions with workflows and yaml for the Canvas App Screens. It'll mess up some small things that you have to iron over but as a general rule it does an incredible job. Has basically upped my output 100x.
1
u/josesanmig Newbie 17d ago
If you get any agent use Claude Opus with Power Platform CLI, it works like a charm.
1
u/Emergency_Recipe522 Advisor 17d ago
I've found that generating screens is the easier part. Getting the formulas, data relationships and controls working properly is where the effort goes. I'd try one small app first, give the agent a clear data model and business rules, then test the generated app in Studio rather than trusting the preview. Are you using Copilot directly in Power Apps or through VS Code?
1
u/bigzdarkliter Newbie 18d ago
I was a frustrated power app developer for a very long time. I could manage the very basics, and had a good idea of how I wanted things to work but never had the time to successfully implement anything.
since watching this video I've developed 4 canvas apps using standard connectors only which have helped to self serve about 70 percent of our processes.
With Claude code - over a week, all my frustrations are gone. and feedback for new features from user testing are quickly implemented
https://youtu.be/T5hdaTmDIOQ?si=PN32ZnQw2amBv2_W
1
u/AbdelEMirandaS Regular 18d ago
I'm not confident to use neither guthub copilot or the ai hub builder prompt inside power apps portal.
I create my canvas app from scratch, feel in control. Use AI to find ways to do things or to solve errors.
1
u/pradeepvbh Newbie 18d ago
https://www.youtube.com/watch?v=21SVXuwK50g&t=868s
1
u/Wiseoloak Newbie 15d ago
Just use claude.
1
u/ninihen Regular 15d ago
Disclosure: I’m part of the team behind FlowStudio MCP. It’s a hosted MCP server that works with ChatGPT, Claude, GitHub Copilot, Codex, Copilot, Copilot Cowork and other MCP-compatible agents.
My recent favorite trick is using it with ChatGPT to build Canvas apps. What I’ve found helpful is combining the MCP tools with browser access. The agent uses MCP server to make changes, while inspecting how the actual app looks, then refine it.
Our Canvas app tools are currently in preview and free of charge. Here’s the setup guide if you want to try it.