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 :
Power Platform Community / Forums / Power Apps / Custom Connector to Bu...
Power Apps
Answered

Custom Connector to Business Central returns no data in a canvas app but does for Power Automate? 🤷‍♂️

(0) ShareShare
ReportReport
Posted on by 17

Created a custom connector for a Business Central API page. All is good at the point of testing the connector:

JAngle_0-1599732482280.png

When I add this connector to a canvas app I get no data but I do get the structure of the JSON:

JAngle_1-1599732542877.pngJAngle_2-1599732566495.png

If I use the custom connector in Power Automate I get a valid response with a full payload of JSON:

JAngle_3-1599732715642.png

What am I missing here?

 

I've played around with the CompanyID parameter as that is fundamental like passing it into the PowerApp formula as {CompanyID: "<string>"} but then the formula won't accept the value and it errors....

Categories:
I have the same question (0)
  • JAngle Profile Picture
    17 on at

    I have since this suggestion from a previous post: https://powerusers.microsoft.com/t5/Building-Power-Apps/Custom-Connector-works-in-Flow-Power-Automate-but-not-in-my/m-p/397617

     

    upon trying this I get an invalid response in PowerApps when no parameter is passed?

    JAngle_0-1599733680346.png

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @JAngle 

     

    Can you confirm if you have defined the output schema in the custom connector action definition? Also, are you getting any error when you click the button control in the canvas app after passing the required parameter? If you can share more details, we might be able to help you better.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • JAngle Profile Picture
    17 on at

    Yes I have an output schema defined. Can be seen in the test screen grab I have. No error if I pass the required parameter in the defined format (text).

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    @JAngle 

     

    Thank you for sharing the details. If the parameter value that you are passing is going to be same, can you try to set it as default in the action definition and then trigger the custom connector? 

    I came across a thread which can be helpful in this: https://powerusers.microsoft.com/t5/Building-Power-Apps/Custom-Connector-works-in-Flow-Power-Automate-but-not-in-my/td-p/397617

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    JAngle Profile Picture
    17 on at

    Resolved this by adding the full URL to the GET command that is setup in the connector. This goes against explanations I’d seen on videos and read on blogs, however it seems like the done thing on none business central custom connectors. Done it a bunch of times since so it’s certainly the way to go.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard