Missing Override ARM Template paramater for secret name to connect to ADLS Stoarge

sachin gupta 376 Reputation points
2022-06-27T02:24:02.07+00:00

215165-armtemplate-linkedservice.png215125-linkedserviceconfig.png

Hi,
I have a linked service to connect to development environment of azure data lake storage account. the connection to the storage account is using Azure key vault. while doing the deployment from DEV to UAT, the ARMTemplate has the URL string for the data lake storage account to override with UAT data lake storage account URL, but does not have the property to override the secret name.
I need help to look into this issue ASAP as I am only a day left to do the final deployment in Production.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,485 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,843 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MartinJaffer-MSFT 26,096 Reputation points
    2022-06-27T18:25:43.367+00:00

    Hello @sachin gupta ,
    Thanks for the question and using MS Q&A platform.

    As I understand, you want to add the secretName to the ARM template parameters, for ALL linked services which use the Key Vault. Usually we keep secretName the same, and just change the Key Vaule. Below is how to make the change, with screenshots.

    Go to Management. Go to ARM Template.
    Under Arm Template Configuration, click the Edit parameter configuration. This should bring you to a JSON editor.
    215493-image.png

    Search for Microsoft.DataFactory/factories/linkedServices .
    Under typeProperties , insert a new property:

    "secretName": "-"  
    

    Don't forget to put a comma where needed!

    215501-image.png

    Then do an export arm template and check the parameters.

    Please do let me if you have any queries.

    Thanks
    Martin


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
      • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

  2. sachin gupta 376 Reputation points
    2022-06-28T17:42:07.947+00:00

    Hi @MartinJaffer-MSFT
    Thank you for the response.

    I tried your suggestion and edited the secret name in ARM template in Manage ADF section. then I exported it, I don't see those changes in Exported 'ARMTemplateForFactory.json'.
    Please guide me asap.
    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.