Showing results for 
Search instead for 
Did you mean: 
Not applicable

Patch function with Dynamics 365 in shared app

My app which helps with record creation in Dynamics 365 uses multiple patch functions to create a record and add notes to it. The problem I am getting is that I have shared my app with other users in my organization, and the records they create using the app are appearing to have been created by me. Is there a way to fix this that I am not seeing?

Community Support
Community Support

Hi @Anonymous ,

Do the end users have access permission to your D365 Entity?

Which app permission do you assign to your end users? Users permission or Co-Owner poermission?

Further, could you please share a bit more about the Patch formula used in your app?


Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.


Please check if the end users have appropriate permission to your D365 Entity.

When the end users to run the shared app, it would be prompt to provide their credentials to create a connection to the data source (e.g. D365 Entity) you added within this app. Please check if the end users provide their credentials rather than yours to connect to the data source you added within this shared app.

Note: Actually, the D365 CRM Entity is based on the CDS Entities within the corresponding PowerApps Environment (your D365 instance related to). Also please make sure the end users have enough permission to access the CDS Entities within the corrsponding PowerApps environment.


If the issue still exists, please consisder re-share your app to your end users, then ask them to provide their credentials to connect to the data source used in your app, then run the Patch function again, check if the issue is solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,196)