---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/sendgrid/for-developers/partners/microsoft-azure#article
headline: Microsoft Azure
description: Integrate SendGrid with Microsoft's Azure platform. Learn to send emails, add attachments and use filters in our comprehensive guide.
url: https://www.twilio.com/docs/sendgrid/for-developers/partners/microsoft-azure
inLanguage: en
dateModified: 2026-07-17T03:36:59.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Microsoft Azure

If you are using Microsoft's cloud platform, you can integrate with SendGrid. Navigate to the [Azure Marketplace](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/sendgrid.tsg-saas-offer?tab=Overview), locate the [SendGrid add-on](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/sendgrid.tsg-saas-offer?tab=Overview), select the appropriate plan, and get ready to start sending.

The following documentation covers signing up, sending an email, adding an attachment, and using filters. The following code examples show how Azure and SendGrid can solve your email deliverability problems.

## Code examples

These examples show how to send email with SendGrid from an Azure-hosted application in each supported language:

1. [PHP](https://docs.microsoft.com/en-us/azure/store-sendgrid-php-how-to-send-email)
2. [Node.js](https://docs.microsoft.com/en-us/azure/store-sendgrid-nodejs-how-to-send-email)
3. [.NET](https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email)
4. [Java](https://docs.microsoft.com/en-us/azure/store-sendgrid-java-how-to-send-email)
5. [Java via an Azure webpage](/docs/sendgrid/for-developers/partners/azure/)
6. [Mobile Services](https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email)

## More resources

For more on making the most of your SendGrid and Azure integration, see the [SendGrid Azure blog posts](https://sendgrid.com/?s=Azure).

You are limited to 1 SendGrid account per Azure subscription. This limit exists for security and compliance reasons to prevent abuse.

Customers that integrate through the [Azure Marketplace](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/sendgrid.tsg-saas-offer?tab=Overview), do not have access to SendGrid's Marketing Campaigns.

If you try to create a second account, you will encounter this error on your dashboard:

![Azure error: maximum number of allowed SendGrid accounts reached during account creation.](https://docs-resources.prod.twilio.com/dc71fab80d148a99df26a9f57797f514f43dce76bac43e7928865263c4178daf.png)
