The Goal
The goal is to use a Release Pipeline inside Azure DevOps to copy the contents of a DEV ADF environment to a PROD ADF environment. This should work by monitoring the adf_publish branch for changes and publishing the ARM template files to the PROD ADF environment.
The Issue
Although the pipeline reports a success, when I check the PROD environment it's empty still.
Environment Structure
The two ADF environments, DEV and PROD, are in the same resource group in the Azure Portal and are backed up to seperate repos: ADFV2-DEV and ADFV2-PRD respectively. Each has a master branch.
What I've Tried
When I removed PROD from source control, meaning all changes are saved inside ADF with no branching/git/etc. then the release pipeline works as expected. As such, I thought maybe the issue was permissions inside Azure DevOps.
I tried giving blanket "Allow" permissions to every group/user for every permission to see if that was where the issue lay, however there was no change in result.
As such, I think the issue lies with the fact that the PROD ADF environment is in an Azure Git Repo, however I can't narrow down what's causing the issue.
Any help with this would be greatly appreciated. There's somewhat of a need to have both ADF environments backed up in source control.
Note
This is my first stackoverflow question so I apologize in advance for any glaring errors or misteps. Please let me know if I've crossed any lines and I'll gladly fix/expand/etc.