question

AmarendraParab-7000 avatar image
0 Votes"
AmarendraParab-7000 asked AnnuKumari-MSFT commented

Azure Data factory: After Publish All , 'adf_publish' branch doesn't have 'ARMTemplateForFactory.json' file.

I have setup a CD Release Pipeline to deploy Dev ADF resources to QA ADF. The release pipeline has a Pre & Post deployment Power Shell script steps. These scripts expects the ARM Template file "ARMTemplateForFactory.json". This file doesn't get created after initiating "Publish All" button inside DEV ADF. What could be stopping the Publish from creating this file. Since, while generating ARM Template, the size of Exceeds 20 MB, it created "linkedTemplates".

azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AnnuKumari-MSFT avatar image
0 Votes"
AnnuKumari-MSFT answered AnnuKumari-MSFT commented

Hi @AmarendraParab-7000 ,

Welcome to Microsoft Q&A platform and thankyou for posting your query here.

As I understand your query, it looks like ARM template is not getting generated after you publish your changes in ADF . Could you please make sure GIT is configured properly in your ADF workspace and also kindly make sure after switching to live mode that your changes in the master branch is getting reflected in the live mode as well.

It's pretty unclear by the given details to guess which step might have went wrong in your case. But I would like to suggest you to go through this video and check if you followed the same steps to set up your CICD release pipeline or something is missed at your end.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AmarendraParab-7000 ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help

0 Votes 0 ·

The Git configuration in ADF is as required (as per the guidance in Microsoft documentations).
The following has been tried
.

  1. When the repo was given for configuring CI / CD, the "ARMTemplateForFactory.json" was not updating after several Publishes from ADF. So, I deleted the file with the hope that the next Publish from ADF would re-create it. It was not re-created after a Publish from ADF.

  2. We chose to use the "Overwrite live mode" and "Disconnect" option. We created another Repo1 (example). Then clicked "Overwrite live mode", After that we clicked " Disconnect", Then we configured GIT in ADF to connect with "Repo1". That didn't create the file.



0 Votes 0 ·
AnnuKumari-MSFT avatar image AnnuKumari-MSFT AmarendraParab-2164 ·

In that case, it looks like an access issue to me. Could you please make sure you have Data Factory Contributor role in your resource-group level. Check Roles and permissions for Azure Data Factory for more details.


0 Votes 0 ·

Hi @AmarendraParab-7000 ,
Just checking in to see if the above answer helped. Please do consider clicking Accept Answer and Up-Vote for the same as accepted answers help community as well. If you have any further query do let us know.

0 Votes 0 ·