Hello Bill Winder,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you are having issue with the Azure API ARM template error: Link already exists between specified Tag and Operation.
To solve this issue, endeavor to do the follosings:
- You will need to check thoroughly and update the template syntax in the "Microsoft.ApiManagement/service/tags/operationLinks" check that the section of your JSON template is correct and does not contain any redundant or conflicting entries. Also, for duplicate Tags and Links.
- Then, to make sure the changes are applied without affecting existing resources use incremental deployment mode instead of complete mode - https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/quickstart-troubleshoot-arm-deployment
- You can perform manual check on the Azure portal for any existing links between tags and operations and remove them if necessary.
- Use tools like Visual Studio Code with the Azure Resource Manager Tools extension to validate your template before deployment - https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.