Azure Data Factory allows connecting to a Git repository for source control, partial saves, better collaboration among data engineers and better CI/CD. As of this writing, Azure Repos and GitHub are ...
@OlgaMolocenco I'm trying to setup GitHub Actions to deploy from ADF Dev environment to our ADF UAT environment. I've followed all the steps as perfect as I possibly can. I was able to get most of it to work but I'm stuck at the very last section in the "release" job running the section "data-factory-deploy". I keep getting the same error over and over. The error I keep getting is "Error: Resource Group const-rg-edw-01 could not be found." and I can't get past this. Please can you help me understand what I'm doing wrong.
Below is a screenshot of the YAML code that up to the last step is working.
Here's a screenshot of where it is failing in the "release" job at the "data-factory-deploy" section:
What is really strange is the section titled "Login via Az module" shows that the Azure Login was successful. See this next screenshot:
Even the "Pre Login via Az module" is working.
I believe I set up the ADF Managed Identity just as prescribed in the instructions. I provided "Data Factory Contributor" role to both Data Factories "const-edw-dev-01" and "const-edw-uat-01". See the screenshot below:
So what could I be doing wrong? Why does the "Azure Data Factory Deploy Action" not work and keep giving me this error "Error: Resource Group const-rg-edw-01 could not be found."?
It makes no sense that it continues to fail considering the subscription and resource group are correct in the YAML code. Note, I also tried this by simply hard-coding it and that did not work. So I went back to using secrets.
I've double and triple checked that the Resource Group name is correct and the subscription id is correct and the Data Factory name is correct.
@OlgaMolocenco or anyone who has seen this issue, please help.