Unlocking Seamless Communication: Integrating Azure Communication Services with Power Platform
Published Jul 10 2023 12:25 AM 2,219 Views
Iron Contributor

Welcome to our blog, where we dive into the world of seamless communication by exploring the integration of Azure Communication Services with Power Platform. In today's digital age, effective communication is paramount for businesses and individuals alike. Azure Communication Services provides a cloud-based solution, equipped with REST APIs and client library SDKs, that allows you to effortlessly incorporate communication features into your applications. Whether it's voice and video calling, rich text chat, SMS, or email functionalities, Azure Communication Services simplifies the integration process, eliminating the need for in-depth knowledge of underlying technologies. In this blog, we'll guide you through the steps of integrating Azure Communication Services with Power Platform, leveraging the power of Power Apps and Power Automate for low-code and no-code development. Get ready to unlock the true potential of seamless communication and enhance your application's capabilities with Azure Communication Services.

What are Azure communication services 

Azure Communication Services are cloud-based services with REST APIs and client library SDKs available to help you integrate communication into your applications. You can add communication to your applications without being an expert in underlying technologies such as media encoding or telephony. 

Azure Communication Services supports various communication formats, such as:

  • Voice and video calling
  • Rich text chat
  • SMS
  • Email

 Scenario 

In this scenario we are going to integrate Azure Communication Services with Power Platform to add mail capabilities to your applications. We will use Power Apps and Power Automate as solution for low code no code development. 

1. Create Azure communication services

Create and manage Email Communication Service resource in Azure Communication Service

  1. Navigate to the Azure portal to create a new resource.
  2. Search for Email Communication Services and hit enter. Select Email Communication Services and press Create.

Picture1.png

 

Complete the required information on the basics tab:

 

Picture2.png

 

Click Next: Review + create.
Wait for the Deployment to complete. Click Go to Resource will land on Email Communication Service Overview Page.

Picture3.png

 

2. Provision domain

Go to provision domain to add a custom domain, that will be used for mail addresses :

Picture4.png

 

Once configured, you can click on the with green status, to setup the from mail address.

Picture5.png

3. Create a flow on Power Automate

After all these steps have been done, now you Integrated into Power Platform:

Go on Power Automate
Create an Instant flow

PascalBurume_5-1688812552168.png

 

Choose Power Apps button :

 

PascalBurume_6-1688812552181.png

 

You can create the flow :

Picture6.png

4. Create app on Power Apps

Once done, you can Integrate your solution into Power Apps :

Picture7.png

 

 

We enter this function to sendind bution :
PowerAppsMail.Run(TextInput2.Text,TextInput2_1.Text,TextInput2_2.Text);

Reset(TextInput2);          

Reset(TextInput2_1);

Reset(TextInput2_2)

Picture8.png

 

Let run our apps

Picture9.png

 

Here the mail we receive:

Picture10.png

In conclusion, the integration of Azure Communication Services with Power Platform opens up a world of possibilities for seamless communication within your applications. By leveraging the power of REST APIs and client library SDKs, you can effortlessly add voice and video calling, rich text chat, SMS, and email functionalities without needing to be an expert in underlying technologies. The combination of Power Apps and Power Automate further enhances the development process with low-code and no-code solutions, making it accessible to a wider range of users.


By following the steps outlined in this blog, you can create and manage an Email Communication Service resource, provision a custom domain, set up email addresses, create flows on Power Automate, and integrate the solution into Power Apps. The result? A powerful and user-friendly application that provides seamless communication capabilities to your users.


To further deepen your understanding and explore additional resources, consider referring to the following:

1. Azure Communication Services Documentation: Official documentation by Microsoft providing detailed information on Azure Communication Services, including APIs, SDKs, and best practices. [Link: https://docs.microsoft.com/azure/communication-services/]

2. Power Platform Documentation: Comprehensive documentation by Microsoft on Power Platform, covering Power Apps, Power Automate, and other related services. [Link: https://docs.microsoft.com/power-platform/]

3. Microsoft Learn: Online learning platform offering interactive modules, tutorials, and hands-on labs for Azure Communication Services and Power Platform. [Link: https://docs.microsoft.com/learn/]

4. Community Forums: Engage with the community, ask questions, and learn from experts on Power Platform forums. Power Platform Community - [Link: https://powerusers.microsoft.com/]]


By utilizing these resources, you can continue exploring and expanding your knowledge to create even more powerful and innovative applications with seamless communication capabilities.


We hope this blog has provided valuable insights into integrating Azure Communication Services with Power Platform. Embrace the potential of seamless communication and unlock new opportunities for your applications. Happy coding!

 

Co-Authors
Version history
Last update:
‎Jul 10 2023 12:31 AM
Updated by: