Azure-Player / azure.datafactory.tools

Tools for deploying Data Factory (v2) in Microsoft Azure
https://azureplayer.net/adftools
MIT License
207 stars 69 forks source link

Authentication via Workload Identity federation #376

Closed aj4314 closed 8 months ago

aj4314 commented 8 months ago

Hi Kamil,

I recently implemented the publish tool for a CICD pipeline running in Azure Devops and it was very smooth. Thanks for your hard work!

I have a quick question in regards to authentication methods when implementing through Azure Devops. Currently it seems that only the service principle approach works - I tried setting up a service connection using Workload Identity federation and encountered this error: image (6)

Is this a limitation of the Azure endpoint or a limitation of how the tool connect with it via powershell script? Since Azure is now recommending workload identity federation are there any plans to make different authentication approaches viable? My company is trying to move away from managing service principles and having to recycle secrets.

Kind regards!

aj4314 commented 8 months ago

Going to move this to appropriate repo apologies.