Unable to save pipeline to azure github

Srinivas Mehenderker Nath 86 Reputation points
2023-09-05T07:00:04.77+00:00

Hi,

I am trying to test saving of pipeline with a simple one step using 'Wait' activity. The git setting is pointing to a repo in Azure Git.

ADF-Git-Config

When I attempt to test saving the pipeline which is just a simple Wait which shows valid, it shows the error as below :
ADF-Git-Save

And it also shows Loading resources looping endlessly..
ADF-Git-Loading-Resources

I have included the below json in the file 'publish-config.json' file placed in the root folder in the branch FxRate_ADF.

{
    "publishBranch": "adf_publish"
}

Please advise, if any step missing here to fix the error when saving.

Thanks,

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,444 questions
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,422 Reputation points Microsoft Employee
    2023-09-07T22:23:47.09+00:00

    @Srinivas Mehenderker Nath I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Issue:

    • While attempting to test saving the ADF pipeline (Git repository associated) which just has a simple Wait activity, it shows the error as below:
      ADF-Git-Save

    Solution:

    • The root cause of the issue was because of the resource group selected was not correct and did not have the Data Factory contributor role. So, after selecting the right resource group and assigning the role of Data factory and then repeating the Git configuration the Save operation worked properly.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.


1 additional answer

Sort by: Most helpful
  1. Srinivas Mehenderker Nath 86 Reputation points
    2023-09-07T13:58:24.1466667+00:00

    I did further investigation and as per my finding, the root cause of the issue was because of the resource group selected was not correct and did not have the Data Factory contributor role. So, after selecting the right resource group and assigning the role of Data factory and then repeating the Git configuration the Save operation worked properly.

    Regards,

    Srinivas

    1 person found this answer helpful.
    0 comments No comments