Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Canvas App - Dynamics 365 FinOps - Couldn't update a record in Dynamics 365 Finance and Operations from a canvas app with the Dynamics 365 FinOps Connector

Posted on by 3,962

Hello PowerApps Community

 

I suspect an issue with the D365 F&O Connector in PowerApps and Power Automate.

 

I have a canvas app that retrieves various data directly from D365 F&O. Work with this data in the app (edit and update) and store it back into the D365 F&O. This has always worked well so far. But since a while I get the error.

 

"The specified record was not found... 404 File or directory not found. The resource you are looking for might have been removed, had its name changed or is temporarily unavailable."

 

I've created a small showcase to demonstrate the behaviour.

SaveQualityOrder.jpg

 

After sending it to Dynamics 365, I get the following error...

ServerErrorQualityOrder.jpg

 

We have already tried everything in the D365 F&O. The Data Enity rebuilt, the Entity List refreshed. From the D365's point of view, everything looks good.
We also used an Azure Function to address the specific entity and writing back to D365 F&O works in that case.

But as soon as I try to do it with the PowerApps/Power Automate Connector I always get error message above.

 

Does anyone of you have an idea how I can solve this problem?

 

Thanks & Br
Jürgen

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Canvas App - Dynamics 365 FinOps - Couldn't update a record in Dynamics 365 Finance and Operations from a canvas app with the Dynamics 365 FinOps Connector

    Hi Jürgen,

    Did you find your answer already? I just came across your question.

    If not, continue reading. If the default company of the user does not match with the company used in the Power App, you might get this error.

  • RE: Canvas App - Dynamics 365 FinOps - Couldn't update a record in Dynamics 365 Finance and Operations from a canvas app with the Dynamics 365 FinOps Connector

    Good morning!

     

    I doubt it's an issue with the coding of the connector itself. We could use more information on the problem you're having; for example, is the connector retrieving the records ok in your app, but just not updating when you hit the "Send to Dynamics" button? That would point to a problem in your call to the write function of the connector; maybe the name of the database isn't entered/retrieved quite right, or the record ID isn't entered/referenced properly in your call. There's a lot that could cause this issue.

     

    But off the cuff there are a couple things you can try:

    1. Refresh the connection inside your PowerApp; probably the most obvious but I mention it anyway.

    2. Check for "Red Flags" from the doctor inside PowerApps and follow up on the suggestions. 

    3. If you recently had a server update, then this problem occurred just after and the refresh above didn't work, you can try re-creating your connection inside your PowerApp. Yes this sucks and is tedious, but it has solved problems for me before that were created by updates to servers or the Power Platform programs.

     

    Good luck!

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans