Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

(1) ShareShare
ReportReport
Posted on by 64

I currently have a really basic flow right now to call an OData action method in x++. This method is called correctly, but for some reason, when I walk through the code, a table I created to a model (also a new var model) and fields I've added to table extensions are not recognized. To test, I tried just looping through one of my custom tables as part of my first method that's called in the OData action, but the debugger doesn't recognize the table (i.e., doesn't go through the while loop). Anyone have suggestions on why this is happening? I've done a similar implementation, so I'm wondering if I'm missing something in my model? This var model has references to Application Suite, Application Platform, and Application Foundation. 

If I just run the method itself (without triggering it through Flow), the tables/extension fields are all recognized. This just seems to be happening when started through Flow for some reason. I'm also trying to trigger this through a custom entity (maybe I'm missing a config here?). I've tried building my model, syncing my database, and doing an iisreset, but haven't had luck getting this to work.

pastedimage1593643589875v1.png

OData action

pastedimage1593643854301v2.png

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

    Hi,

    I see.

    Can you test the following:

    Create an electronic report that pumps out the data from the table you need to SharePoint.

    You can define an txt output format if you like and don't need any other conversion.

    Once the data are on SharePoint in the txt format you can use Flow and move the file to whatever destination you need.

    Best regards,

    Ludwig

  • j999888777 Profile Picture
    64 on at
    RE: Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

    Thanks - I run into the same issue through Logic Apps

  • j999888777 Profile Picture
    64 on at
    RE: Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

    I'm trying to get the contents of a table, and format its content in a format defined by an integrating system to a .txt file. I'm using Flow to execute this process through an OData action through a schedule

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

    Hi j99988877,

    What is it that you try to achieve with this flow?

    Would be great if you could elaborate on that.

    Many thanks,

    Ludwig

  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at
    RE: Using OData action via Microsoft Flow doesn't recognize tables or extension fields in a new model?

    Hi j999888777,

    I have an open support request at Microsoft as odata actions will not work in Power Automates. Also with D365 standard actions I receive errors.

    Please try to do the same with Logic Apps. In my case everything is working as expected without an error in Logic Apps. So you can find out if it is a problem in your modification or in Power Automate.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,312 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,025 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans