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 / Patch record not worki...
Power Apps
Unanswered

Patch record not working in Dynamics 365

(0) ShareShare
ReportReport
Posted on by 66

I am running a powerapp from Dynamics 365 and noticed that it will not let me save changes to the datasource using the Patch function.  Running the app within Power Apps updates the datasource no problem, but when running it in Dynamics 365, user is unable to save these changes.  Also, the datasource cannot be refreshed when running on Dynamics 365.

 

Datasource is an Excel file held on OneDrive.  Can anyone advise as to why this may be happening.  

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi ianrimmer67,

     

    Do you mean on Dynamics 365 portal, the Patch function cannot save data to data source?


    When clicking the Patch button, do you get any error messages?

     

    To test this issue, I crate an app based on Excel table. I try with both OneDrive and Dropbox connections.


    On both PowerApps studio and Dynamics 365, it seems that when clicking the Patch button, I get the error “an error occurred on the server”, while when clicking the Submit button, data can be saved to Excel table as expected.

     

    Best regards,
    Mabel Mao

  • CU11011415-0 Profile Picture
    472 on at

    I'm seeing the exact same issue as described by ianrimmer67 with Patch function.

    Works within the web studio but will not work when you launch the app within the Dynamics 365 portal.

    No errors are shown. 

    Fails in both Chrome and IE11

  • ianrimmer67 Profile Picture
    66 on at

    Hi

     

    Not sure whether this is related but users are now unable to connect on the datasource on OneDrive at all.  Error message "Failed to load [Datasource] - An unknown error occured" appears when opening any app.

     
     
     
     
     

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard