Yes, it is possible to influence the behavior when uploading files to SharePoint, but SharePoint does not provide a native setting to change the default overwrite behavior (i.e., from "Yes" to "No") directly in the user interface. However, you can manage this through custom solutions or using Power Automate or SharePoint API calls, where you have control over whether to overwrite existing files or not.
For example, if you're using PowerShell or Power Automate to upload files, you can explicitly set the "overwrite" parameter to false
to prevent existing files from being replaced.
For more details and potential workarounds, you can explore solutions and guides available here
Unfortunately, it is not possible to change the default option from "Yes" to "No" for the "Overwrite existing files" setting when uploading documents to SharePoint through the Dynamics 365 documents area using the out-of-the-box functionality.
This behavior is hard-coded into the Dynamics 365 platform. The default setting is always "Yes," meaning that if a file with the same name already exists in the SharePoint folder connected to the Dynamics 365 record, it will be overwritten without further prompting beyond this initial dialog.
Why it's likely designed this way:
Possible Workarounds (with limitations and varying levels of complexity):
While you can't change the default, here are some potential workarounds or strategies to mitigate the risk of accidental overwrites:
In conclusion, while a direct setting to change the default "Overwrite existing files" option in Dynamics 365 is not available, the most practical and recommended approach to manage file versions and prevent accidental data loss is to configure and utilize SharePoint's built-in versioning capabilities. This provides a reliable way to track and restore previous versions of documents regardless of the "Overwrite" setting in Dynamics 365.
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Vahid Ghafarpour
136
Super User 2025 Season 1
Eugen Podkorytov
106