I created a azure data factory pipeline in collaboration branch, pipeline is succeeded and I'm trying to publish the pipeline getting one error. Invalid references or dependencies found. This is likely due to publishing outside of Git mode or editing and deleting linked services in other branches.
And publish errors: The document creation or update failed because of invalid references 'xyz'. Please ensure 'xyz' exists in data factory mode and recreate it in Git mode if already present.