web
You’re offline. This is a read only version of the page.
close
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

Logic App - Get A Record (Multiple Values for Object ID)

(0) ShareShare
ReportReport
Posted on by

Hello,

This is to report one of the issue I start seeing. It is 'Get a record' for Dynamics 365 Finance & Operation. 

I am doing very simple action for now. Get a record for Customer Group of '90'. 

Unique Identifier : CustGroupId 

By using just CustGroupId , I was getting error related to keys. ( Only 1 of 2 keys provided for lookup, provide keys for dataAreaId,CustomerGroupId ) 

But then I started providing DataAreaId as well. I am doing it in the following way: usmf,90   ( I tried many combinations but no luck. i.e. Upper case, quotes, semi colon etc)

I know this used to work before but now I see this issue. Not sure if something got change in Data entity framework

pastedimage1587660290412v1.png

pastedimage1587660301037v2.png

Thanks in advanced.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Ronak,

    When you mentioned you used quotes, did you try single quotes?

    As workaround, you can also try to use variables and fill it with a string.

  • Community Member Profile Picture
    on at

    Hi Andre,

    Thanks for your quick reply.

    Yes, I tried single quotes ('usmf','90'). and also used variables approach ( variable1,variable2).

    I tried within bracket too.

    Thanks again.

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    It says not found. When you connect via flow it uses default user company. So check if it is usmf in user settings. 

  • Community Member Profile Picture
    on at

    It is a good point. I can try to change my default company and see if that resolves.

    FYI, I was able to get a record where there is only one Key. i.e. Workers, LegalEntities. The issue starts when you have more than one key combination. i.e. dataAreaId,CustGroupId together.

    I think something have got changed recently as I was able to work with this before.

    Thanks again for your reply.

  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Ronak,

    The workers and legal entities are not linked to a company. So, it could be indeed the default legal entity on your user settings like Ievgen mentioned.

  • Suggested answer
    Ronak Brahmbhatt Profile Picture
    70 on at

    Hello,

    I am reactivating this thread as I needed the help again as I was working on similar kind Power Automate / Flow.

    The issue is resolved now. All you have to do is: dataAreadId,CustomerGroupId  (Just comma between two values, No quotes, No semicolon).

    Hope this will help someone in future.

    Thanks everyone for your input.

    Best,

    Ronak

  • Nitin Rajan Profile Picture
    20 on at

    Hi Ronak,

    I am also in a similar situation. I didn't understand the difference from your initial question and the final solution. In the initial question you are using 'usmf,90' that is dataareaid, custgroupid in the solution also it says the same. Can you give some additional inputs.

  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Nitin,

    Note that Ronak was not the person who started the question. I'm not able to understand what exactly you are asking now. Can you elaborate on your question?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans