Beta Testers Needed for Particle to Azure IoT Integration

Over the past couple of months, the Particle team and the Azure IoT team have been developing a integration between the two cloud services. Particle is an IoT company that launced on Kickstarter in 2013 and Azure IoT is a new IoT cloud service offering from Microsoft. IoT developers use Particle because their devices are inexpensive, easy to aquire and easy to connect to the cloud. I’ve been a fan of Particle for a long time and use the Particle Photon as the primary device in a workshop I teach at the Microsoft Garage.

I’ve been in regular contact with the folks at Particle and recently stirred up a conversation about the integration possibilities between the two clouds. While it is possible to configure the Particle device to send data to Azure today, it isn’t as intuitive as it could be. The proper way to implement the integration is via Particle’s webhook infrastructure that allows you to forward messages to other HTTPS endpoints after the Particle cloud has received them. After a few meetings with the Particle folks, we decided that cloud-to-cloud integration was the best way to go.

The Particle to Azure IoT integration is going to be useful in scenarios where you have a Particle device and want to take advantage of all the downstream Azure services, such as Azure Stream Analytics, Events Hubs and Power BI. If you are already using Particle and want your data in Azure IoT, this is for you.

In a recent call with Particle, we talked about how to best get feedback on the integration beta and decided to send out a quick tweet with more information and ask people to kick the tires and provide some feedback.

Particle to Azure IoT Setup

We’d love your help testing it. Here’s how to get started:

1. Go to your Particle console here: and click on “New Integration”.

2. Select Azure IoT Hub.

3. Sign up for Azure, Create an IoT Hub and Add a new Shared Access Policy for this integration.

4. Enter IoT Hub information, select your device and enable the integration.

5. You can optionally use the “Send Custom JSON” feature to format the JSON to suit your application needs. See the “Webhook Variables” page for available token replacements.

6. Then implement code for your Particle device to publish and subscribe to events.

It can be as simple as the following to publish an event named “temp”

void loop() {
  // Get some data
  String data = String(10);
  // Trigger the integration
  Particle.publish("temp", data, PRIVATE);
  // Wait 60 seconds

7. You will start to see messages flowing into Particle via the Particle Console log and Azure IoT Device Explorer

Provide Feedback

Now that you have it all setup let us know what you think. Was it easy to configure? Was anything missing from the integration or the docs?

Let us know what you think by posting to the Particle Community Forums

You can find Particle on Twitter here: and follow Azure IoT here: