In this post, I will provide a workaround for a problem I recently faced with an Azure DevOps pipeline. In this pipeline, I used the Generate Release Notes (Crossplatform) task, and I received the error message below:
remote: TF401019: The Git repository with name or identifier #########.wiki does not exist or you do not have permissions for the operation you are attempting.
fatal: repository ‘https://dev.azure.com/########/###########/_git/########.wiki/’ not found
Solution
To solve the problem I added to the Contributors group two accounts: Agent Pool Service and [your project name] Build Service [your azure devops organization name].
Go to Project Settings – Permissions – Contributors
I hope that this workaround will solve your issue.