It sounds like you're encountering an issue with Azure Data Factory (ADF) after deleting unused items.
Please check below steps and confirm us
- As you mentioned, trying to overwrite the live mode using the master branch can help. This will sync the live environment with your Git repository, potentially resolving any discrepancies
- Sometimes, references to deleted items might still exist in hidden or less obvious places. Double-check all linked services, triggers, and parameters to ensure there are no lingering references.
- Clear the cache and restart the ADF service. This can sometimes resolve issues related to stale data.
- Go to the Git configuration page in ADF and re-sync the content. This can help resolve conflicts between the Data Factory mode and Git mode
- If the above steps don't work, you might need to manually clean up the ADF environment. This involves checking and removing any orphaned references in the JSON files and ensuring all dependencies are correctly updated.