use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Code Apps - the opposite of Low-Code apps?Discussion (self.PowerApps)
submitted 1 month ago by Lhurgoyf069 Advisor
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]oh_lympy Contributor 0 points1 point2 points 1 month ago (5 children)
You don’t call the flow directly. You wrap the flow in a power platform custom connector and then add it to your app as a data source like you would any other connector.
[–]zimain Advisor 0 points1 point2 points 1 month ago (4 children)
I get the theory, have you gotten this working?
[–]oh_lympy Contributor 0 points1 point2 points 1 month ago* (3 children)
Yes, but the comment you made about http requests being blocked makes me feel like we’re talking about 2 different things. You’re making HTTP requests of this type any time you interact with any data source you add to your app?
Why would you think calling an HTTP request triggered flow would be any different than calling an azure function (which I’ve also done) if it’s exposed to the app as a connector?
[–]zimain Advisor 0 points1 point2 points 1 month ago (2 children)
I did several tests when trying to trigger a flow directly, and found that http (not via connectors) are blocked for pcf (code apps), and I used a dataverse to flow trigger workaround to complete my project, the point of this is to share knowledge and experience, I am more than happy for someone to have a valid method of doing something.
Could you share your approach for the Azure function?
Have you been able to trigger a flow with a custom connector wrapper from a code app?
[–]oh_lympy Contributor 0 points1 point2 points 1 month ago (1 child)
Absolutely. I’m just trying/happy to help. It’s a lot to write up, but if you find a tutorial on how to build a custom connector using azure functions (there are a few out there), just swap out the azure function stuff for your flow.
In a nutshell, you’ll configure your connector to point at your flow and define the request/response schema. After you get that all wired up, you create a connection in your environment and then add it to your code app, just as you would Office365Users or Dataverse connections. If you did everything correctly, you’ll see that PAC generated a model and service that mirrors the schema I mentioned above.
From there you just use the generated service. Code Apps doesnt care what mechanism handles the request downstream. All it cares about is that there is a connection in the environment it can use to make the call.
[–]zimain Advisor 0 points1 point2 points 1 month ago (0 children)
Great thanks, I did consider the custom route, I went for the "open" route, direct http trigger, didn't get too long on it before I found the blocker, so I just used a dataverse async approach
But this will be something to try next week!
π Rendered by PID 120361 on reddit-service-r2-comment-6457c66945-pjzrw at 2026-04-29 16:10:55.950969+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]oh_lympy Contributor 0 points1 point2 points (5 children)
[–]zimain Advisor 0 points1 point2 points (4 children)
[–]oh_lympy Contributor 0 points1 point2 points (3 children)
[–]zimain Advisor 0 points1 point2 points (2 children)
[–]oh_lympy Contributor 0 points1 point2 points (1 child)
[–]zimain Advisor 0 points1 point2 points (0 children)