web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting a customer acc...
Power Automate
Unanswered

Getting a customer account details from Fin Ops using a flow

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

First time posting so I'm hoping someone can help 🙂
I am setting up a Power Virtual Agent Chat Bot for internal use. I want to be able to request a customer account number and Power Automate to then go and search D365 Fin Ops to find that Account Number and give me back the Customer name.

I have two issues;

 

1) It throws out an error even if the account number is correct.

2) When typing in the account number it removes any leading zeros which effectively changes the account number

 

MonkeyAb_0-1669643057096.png

MonkeyAb_1-1669643147323.png

MonkeyAb_2-1669643231709.png

 

original account number that was being searched was 004001

Categories:
I have the same question (0)
  • Verified answer
    TaylorBecktold Profile Picture
    295 on at

    Hey @MonkeyAb -

     

    I believe I can assist with issue #2, but this might fix issue #1 as well.

     

    I recommend passing the account number as a string instead of a number. It is removing the leading numbers due to it assuming that is an integer value and integers typically do not have leading 0s. 

     

    Did my reply help? Please give it a thumbs up.
    Did my reply answer your question? Please mark it as a solution!
    If you liked my response, please consider giving it a thumbs up.

    Check out my blog: https://azwhizkid.com/

  • MonkeyAb Profile Picture
    5 on at

    Thanks Taylor.

     

    So I found out my issue for error 1 was simply having a space when it shouldn't (amateur I know)
    And you were right, I changed it to string and it maintained the format of the number without removing leading zero's.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard