We have a Resource Manager service principal configured through VSTS settings to access an Azure subscription. Everything works wonderfully when we use the Powershell Resource Manager built in tasks. However, we have a build agent that is running on a Mac because it needs to build a Xamarin project.
After Xamarin builds the .ipa we need to upload it to blob storage. We would like to grab the storage access token from Azure using the service principal on every release instead of storing the token ourselves, but we don't have access to Powershell because we're running on a Mac. We can use the Azure CLI, but we need to access the same service principal information that the built in Powershell Azure RM tasks use.
Any ideas?