[Solved] use Azure Batch as Jenkins’ node

As your requirement is to send a command line to Azure so I would suggest you to have a simple Jenkins job (either freestyle job or pipeline job) which would accomplish the requirement. Pre-requisites: Have an Azure Batch account Have an Azure Batch pool Have an Azure Batch job Azure CLI installed in the Jenkins … Read more

[Solved] give acess to users in directory StorageV2 (general purpose v2)

You can do this with the Azure CLI which can be run in Powershell. You should be able to do this as a contributor with the az role assignment create command. Keep in mind that permissions with this command are granted at the container scope. Data Lake storage could be used to give folder level … Read more

[Solved] Can not ping to Azure VM

The remote computer refused the network connection. According to the error, you need check whether your app is running firstly.Based on my experience, if Azure NSG or Firewall block the port 80, you should get error Request timed out. You could use netstat -ant|grep 80 Please ensure port 80 is listening like below: tcp 0 … Read more

[Solved] How to create an azure blob storage using Arm template?

Create an Azure Storage Account and Blob Container on Azure How to create a new storage account. { “name”: “[parameters(‘storageAccountName’)]”, “type”: “Microsoft.Storage/storageAccounts”, “apiVersion”: “2018-02-01”, “location”: “[resourceGroup().location]”, “kind”: “StorageV2”, “sku”: { “name”: “Standard_LRS”, “tier”: “Standard” }, “properties”: { “accessTier”: “Hot” } } Adding JSON to your ARM template will make sure a new storage account is … Read more

[Solved] Create Registration Notification Hub Azure PHP

# build uri $uri = $this->endpoint . $this->hubPath . “/registrations” . NotificationHub::API_NEW_VERSION; $ch = curl_init(); $token = $this->generateSasToken($uri); $headers = [ ‘Authorization: ‘. $token, ‘Content-Type: application/xml’, ‘x-ms-version: 2015-01’ ]; $request_body = self::requestBodyRegistration($device_type, $tagsOrTagExpression, $device_code ); if( is_null( $request_body ) ) { return null; } curl_setopt_array($ch, array( CURLOPT_URL => $uri, CURLOPT_POST => TRUE, CURLOPT_RETURNTRANSFER => TRUE, … Read more

[Solved] How can upload files to Azure Blob Storage from web site images?

It’s actually pretty simple and you can ask Azure Storage to do the work for you :). Essentially what you have to do is invoke Copy Blob operation. With this operation, you can specify any publicly accessible URL and Azure Storage Service will create a blob for you in Azure Storage by copying the contents … Read more

[Solved] Created Two DNS in two different Provider

What is the solution for me to point www.domain.com to my web app domain.azurewebsites.net and without affect mail.domain.com? We can add CNAME record to your web app service like this: Host type value www CNAME xxx.domain.azurewebsites.net how about if I set cname * and point to domain.azurewebsites.net, will it affect mail.domain.com? If you set CNAME … Read more

[Solved] Deploy NodeJS app to Azure from VS Code

Local Git deployment from command line (or VS Code terminal): git remote add azure https://<username>@<app_name>.scm.azurewebsites.net/<app_name>.git git push azure master If empty application already there use force flag: git push azure master -f Useful links deploying Bot Framework To Azure On Linux: https://code.visualstudio.com/tutorials/nodejs-deployment/deploy-website https://blog.botframework.com/2017/04/27/Deploying-Botframework-To-Azure-On-Linux/ P.S. Could be outdated since 2017. solved Deploy NodeJS app to Azure … Read more

[Solved] azure.datalake.store.AdlFileSystem not found in Spark

Presently HDInsight-Spark Clusters are not available with Azure Data Lake Storage. Once we have the support it would work seamlessly. In the mean time you can try and use ADL Analytics to the same job on ADLS using U-SQL queries. For reference please visit the link: https://azure.microsoft.com/en-us/documentation/articles/data-lake-analytics-get-started-portal/ We are working for the support and it … Read more