Category Archives : Developer



Azure Toolkit for IntelliJ integrates with HDInsight Ambari and supports Spark 2.2

To provide more authentication options, Azure Toolkit for IntelliJ now supports integration with HDInsight clusters through Ambari for job submission, cluster resource browse and storage files navigate. You can easily link or unlink any cluster by using an Ambari-managed username and password, which is independent of your Azure sign-in credentials.  The Ambari connection applies to normal Spark and Hive hosted within HDInsight on Azure. These additions give you more flexibility in how you connect to your HDInsight clusters in addition to your Azure subscriptions while also simplifying your experiences in submitting Spark jobs.

With this release, you can benefit the new functionalities and consume the new libraries & APIs from Spark 2.2 in Azure Toolkit for IntelliJ. You can create, author and submit a Spark 2.2 project to Spark 2.2 cluster.  With the backward compatibility of Spark 2.2, you can also submit your existing Spark 2.0 and Spark 2.1 projects to a Spark 2.2 cluster.

How to link a cluster Click Link a cluster from Azure Explorer.

Enter Cluster Name, Storage Account, Storage Key, then select a container from Storage Container, at last, input Username and Password.

Please note that you can use either Ambari username, pwd or




Azure IoT Hub SDK officially provides native iOS support

We recently released a port of our Azure IoT Hub C SDK for iOS platform. Whether your iOS project is written in Swift or Objective-C, you can leverage our device SDK and service SDK directly and begin turning your iOS device into an IoT device! Our libraries are available on CocoaPod, a popular package manager for iOS, and the source code is available on GitHub.

iOS devices are traditionally not viewed as IoT devices, but recently, they are getting traction in the IoT space. Here are some of the interesting scenarios we gathered from our industry customers during the preview phase:

iOS device as the gateway for leaf devices or sensors on the factory floor. iOS device in a meeting room, which acts as an end IoT device to send and receive messages from Azure IoT Hub. iOS device to view the visualization of IoT telemetry. iOS device to manage IoT Hub operations.

So, what is in the box? If you have interacted with our Azure IoT Hub C SDK before, this would be familiar to you! Our C SDK is written in C99 for maximum portability to various platforms. The porting process involves writing a thin adoption layer for




Preview: programmatically create Azure enterprise subscriptions using ARM APIs

In the past, Azure customers on Enterprise Agreement (EA) have subscriptions that are centrally controlled by the company’s cloud operations or IT team. When a team or employee in the company wants to start using Azure, they need to get access to the EA enrollment so that it gets billed to the company EA. To do that, the employee or team makes a request to the central cloud operations team, go through approval, and have an Azure subscription provisioned as prescribed by the company’s cloud governance policies. During this process, an EA subscription must be manually created using the Azure Account Center. As these company’s Azure adoption increases, the manual step in creating subscriptions becomes a bottleneck in scalability in their cloud management.

To unblock these customers, we’ve created an API and a suite of SDK for Azure EA subscription creation.

Get started with Azure EA subscription creation API

To get started, see documentation at Programmatically create Azure enterprise subscriptions (preview) and our sample code. In this release, you can

Create an Azure EA subscription (regular or dev/test) as an Account Owner. Use Azure RBAC to give another user or service principal to create subscriptions on behalf of an Account




Enhanced capabilities to monitor, manage, and integrate SQL Data Warehouse in the Azure Portal

Azure SQL Data Warehouse (SQL DW) continues to introduce updates to the Azure portal to provide a seamless user experience when monitoring, managing, and integrating your data warehouse.

Support for Azure Monitor metrics

SQL DW now supports Azure Monitor which is a built-in monitoring service that consumes performance and health telemetry for your data warehouse. Azure monitor not only enables you to monitor your data warehouse within the Azure portal, but its tight integration between Azure services also enables you to monitor your entire data analytics solution within a single interface. For this release, data warehouse metrics have been enabled to enables you to identify performance bottlenecks and user activity:

Successful/Failed/Blocked by firewall connections CPU IO DWU Limit DWU Percentage DWU used

These metrics now have a one-minute frequency for near real-time visibility into resource bottlenecks of your data warehouse. There is a default retention period of 90 days for all data warehouse metrics with Azure Monitor.

Configure metric charts in the Azure monitor service through the Azure Portal or programmatically query for metrics via PowerShell or REST:

Pin configured charts for your data warehouse through Azure dashboards:

Safely manage costs by pausing

The pause feature for SQL




Fast and easy development with Azure Database for MySQL and PostgreSQL

This blog post was co-authored by James Ashley, MR and AI Architect, Microsoft MVP.

Developers sometimes get anxious when it comes to hooking up a database for their apps. However, with Azure Database for MySQL and Azure Database for PostgreSQL, quickly propping up and accessing a relational database is a piece of cake. These lightweight, open source database services provide a great way to get small apps and prototypes started with very little effort. Without any extra work on your part, you can automatically take advantage of built-in security, fault tolerance, and data protection. You also can use point-in-time restore to recover a server to an earlier state—as far back as 35 days.

Azure Database for MySQL and Azure Database for PostgreSQL will work with whatever kind of project you are creating, whether it is a Linux app running in a Docker container orchestrated by Kubernetes, a computer vision service using Python, or a simple ASP.NET website to display travel photos. If your app needs a relational database, you can easily plug one in and start writing to it with guidance from these connect & query quickstarts:

Azure Database for MySQL

Use PHP to connect and query data Use Java




Essential tools and services for building mobile apps
Essential tools and services for building mobile apps

This blog post was co-authored by Rajen Kishna, Senior Product Marketing Manager, Azure Marketing – App Development.

Azure, Visual Studio, Xamarin, and Visual Studio App Center give you the flexible, yet robust tools and services to build, test, deploy, and continuously improve Android and iOS apps that your users will love. Use your favorite language and tools, to tap into robust cloud services, and quickly scale to millions of users on demand.

Cloud services for mobile developers

Azure provides many services to help you build cloud-connected mobile apps, including Mobile Backend as a Service, Data, and Artificial Intelligence (outlined below), as well as services to support additional functionality, including Search, Identity, and Communication.

Mobile Backend as a Service

Azure Functions is a serverless backend for your mobile apps, where you just enter your code (whether C#, JavaScript, Python, or any other supported language) and it executes on demand, triggered by events you can define. It is a fast way to get backend code up and running.

If you need a more complete solution, the Mobile Apps feature of Azure App Service provides you with a backend that can be written in C# or Node.js, giving you features such as




Create Service Fabric Clusters from Visual Studio now available

We heard feedback that the current processes for creating secure clusters were complex and time-consuming. Based on your input, we’ve added the ability to create secure clusters directly from Visual Studio. This update shipped with the latest release of the Service Fabric tooling for Visual Studio 2015 and with Visual Studio 2017 as part of the Azure workload.

One of the main features of the latest release is the experience in Visual Studio for creating a cluster from the “Publish” dialog. This feature will allow you to modify the settings for the cluster, create required supporting resources, and generate the security certificate needed to create a secure cluster all from within Visual Studio. It will also import the security certificate to your local development machine so you can publish and troubleshoot your application in the cluster. This allows you to go directly from developing your service fabric application to testing it in the cloud without having to switch context. When the cluster has been created, Visual Studio will indicate this in the Output window.

You can try out this feature yourself by following the steps in the tutorial “Deploy Your Application to a Cluster“.

Below are screenshots of the new




How to get support for Azure IoT SDK
How to get support for Azure IoT SDK

Azure IoT SDKs make it easy for developers to begin coding and deploy applications for Azure IoT Hub and Azure IoT Hub Device Provisioning Service. The SDKs are production quality open-sourced project with support from Microsoft. If you need support for any step of your development phase, have issues during evaluation or production deployments, we are here to help! There are multiple channels where issues and requests are surfaced. We recommend the following channels for faster turnaround:

Have a feature request for SDKs? We have a User Voice for feature requests. Create new requests, upvote existing ones and help us prioritize! Have a technical question? Ask on Stack Overflow with tag “azure-iot-hub”. We monitor Stack Overflow for questions. Stack Overflow’s high standard for answers will ensure you will get a complete, detailed answer to help others in the community. Need support? If you have an Azure subscription, you can file support requests and get assistance to help you debug. Support requests also make it possible for you to communicate confidential information that would be insecure in a public GitHub issue, such as your hub name or subscription ID. When you file a support request, please make sure you specify




Learn from experts and play with emerging tech at Microsoft Build

Microsoft’s largest developer conference, Microsoft Build, is around the corner, and there’s still time to register. Programmers and Microsoft engineers will gather May 7–9 in Seattle, Washington, to discuss what’s next in cloud, AI, mixed reality, and more. The event will feature incredible technical sessions, inspiring speakers, and interactive workshops—as well as plenty of time to connect and celebrate.

Here’s a preview of what’s coming up at Microsoft Build:

Imagine tomorrow’s tech

Industry leaders—including many Microsoft execs and engineers—will discuss how software is transforming the world in remarkable ways. Devs at any level will learn from an incredible lineup of speakers discussing what’s new, what’s coming, and how technology is a force for good.

Discover the right solutions

Attendees will experience how the Microsoft tools and platforms they rely on can take them (and their code) even further. Microsoft Build will feature more than 350 inspiring technical sessions, workshops, and opportunities to get hands-on experience with the latest tech Microsoft has to offer. There will be ample opportunity to pick up best practices and new skills from sessions such as these:

Starting your IoT project in minutes with SaaS and preconfigured solutions. Implementing complete E2E IoT solutions from devices




Announcing Terraform availability in the Azure Marketplace

In addition to Terraform already being integrated to the Azure Cloud Shell, I’m pleased to announce the availability of the new Terraform solution in the Azure Marketplace. This solution will enable teams to use shared identity, using Managed Service Identity (MSI), and shared state using Azure Storage. These features will allow you to use a consistent hosted instance of Terraform for DevOps Automation and production scenarios.

The Terraform solution configures Terraform to use Azure Storage instead of the local file system for Terraform state. This remote state implementation will lock state when one user is changing it, to allow multiple users to consistently change the state of shared environments, such as production.

The template also configures a Managed Service Identity and provides a Role Based Access Control (RBAC) script that will allow this identity to provision resources in the Azure subscription using Terraform. This eliminates the need for managing Service Principal secrets for Terraform separately in automation scenarios such as continuous deployment with Jenkins.

Azure Terraform Provider updates

Development on the Terraform Azure Provider also continues at a furious pace, we passed the 1.0 milestone last December, and version 1.3 has already shipped. As we near complete coverage of