RE: Delete Contacts Using an Excel Sheet / CSV of GUIDS?
There are a few different ways to delete entities in Dynamics 365 using a CSV file of GUIDs. Here are a couple of options to consider:
Option 1: Use a third-party tool
One option is to use a third-party tool, such as the XRM Toolbox. This tool includes a plugin called the "Bulk Data Updater" that allows you to delete entities in bulk using a CSV file of GUIDs. To use this plugin, you'll first need to install the XRM Toolbox and then follow the instructions to connect it to your Dynamics 365 environment. Once you're set up, you can use the Bulk Data Updater plugin to select the entity you want to delete and upload your CSV file of GUIDs. The tool will then delete the specified entities.
Option 2: Use a custom code or script
Another option is to write custom code or a script to delete the entities using the Dynamics 365 Web API. You can use a programming language like C# or JavaScript to write a program that reads in the CSV file of GUIDs and uses the Web API to delete each entity. This option requires more technical expertise, but it gives you more control over the process and can be tailored to your specific needs.
Whichever option you choose, be sure to test the process thoroughly before running it on your production environment to ensure that it works as expected and that you are deleting the correct entities. Additionally, be sure to have a backup of your data in case anything goes wrong during the deletion process.