question

JoshiAnubha-2563 avatar image
0 Votes"
JoshiAnubha-2563 asked SaurabhSharma-msft commented

Synapse Devops Deployment when using user managed identity configured for different environments

Hi All,

we are facing a challenge as to how to handle the User-Assigned-Managed-Identity with the CICD pipelines in Azure DevOps when the UAMI are not the same across environments?
Dev,Test and Prod have different subscriptions therefore each synapse implementation can have its own Azure subscription and possibly different UAMI configured.
When we publish the templates from synapse it generates a separate credential.json file and it is not part of the parameterization template.
The question is how can we override the parameters when there is a separate credential file.

azure-synapse-analytics
· 3
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 @joshianubha-2563,

Thanks for using Microsoft Q&A !!
If my understanding is correct you want to configure your CI/CD pipelines to use different user assigned managed identities available across Dev/Test/Prod environments.

You can try to expose the UAMI credential parameters by adding the following code to your template-parameters-definition.json file.

   "Microsoft.Synapse/workspaces/credentials": {
          "properties": {
                 "typeProperties": {
                     "*": "="                   
                 }
             }                
          }

Please let me know if this resolves your issue or if you have any other questions.

Thanks
Saurabh

0 Votes 0 ·

Hi @joshianubha-2563,
I have not heard back from you. Did my answer solve your issue? If so, please mark as accepted answer. If not, please let me know how I may better assist.

Thanks
Saurabh

0 Votes 0 ·

Hi @joshianubha-2563,
I have not heard back from you. Did my answer solve your issue? If so, please mark as accepted answer. If not, please let me know how I may better assist.

Thanks
Saurabh

0 Votes 0 ·

0 Answers