azure-batch

How to authenticate with Key Vault from Azure Batch

∥☆過路亽.° 提交于 2019-12-08 04:44:50
问题 I've been following this guide to use a certificate to authenticate with key vault from azure batch. Every certificate I generate causes errors on import into azure batch, some examples are listed below: code : InvalidPropertyValue message : The value provided for one of the properties in the request body is invalid. PropertyName: data Reason: The specified data and the password do not match or Unable to get property 'tbsCertificate' of undefined or null reference or Unable to decrypt PKCS#8

How to authenticate with Key Vault from Azure Batch

狂风中的少年 提交于 2019-12-06 21:00:30
I've been following this guide to use a certificate to authenticate with key vault from azure batch. Every certificate I generate causes errors on import into azure batch, some examples are listed below: code : InvalidPropertyValue message : The value provided for one of the properties in the request body is invalid. PropertyName: data Reason: The specified data and the password do not match or Unable to get property 'tbsCertificate' of undefined or null reference or Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password? Are there any requirements for the certificate that I'm not aware of?

How to authenticate with Azure Analysis Services from Azure batch and data factory

梦想的初衷 提交于 2019-12-04 17:51:38
I have a c sharp class library that connects to Azure Analysis Services using the AMO library. I'd like to use this as part of my data factory pipeline to refresh cube partitions. This is done through Azure batch as a custom .net activity. var server = new Server(); server.Connect("Provider=MSOLAP;Data Source=asazure://uksouth.asazure.windows.net/abcd;Initial Catalog=xyz"); Running this locally works fine, however this will not run in the cloud. It currently errors out as it is not being run under my user account. I know that I can add a username and password to the connection string, but I

Azure Batch Pool: How do I use a custom VM Image via Python?

☆樱花仙子☆ 提交于 2019-11-28 03:57:07
问题 I want to create my Pool using Python. I can do this when using an image (Ubuntu Server 16.04) from the marketplace, but I want to use a custom image (but also Ubuntu Server 16.04) -- one which I have prepared with the desired libraries and setup. This is how I am creating my pool: new_pool = batch.models.PoolAddParameter( id=pool_id, virtual_machine_configuration=batchmodels.VirtualMachineConfiguration( image_reference=image_ref_to_use, # ?? node_agent_sku_id=sku_to_use), vm_size=_POOL_VM