Unlocking Snowflake Data Integration in Power Platform: Out of the box Snowflake connector – Part 3
In both Part 1 and Part 2 of this blog series, we explored integration techniques using the Snowflake REST API through a custom connector. There is a Snowflake connector in Preview for an extended period, featuring actions for submitting, monitoring status, and cancelling SQL statements. In this post, we’ll delve into how you can leverage this connector within a Power Automate flow to execute… Continue Reading Mohamed...
Unlocking Snowflake Data Integration in Power Platform: Manipulating Snowflake REST API response in Custom Connector – Part 2
In Part 1 of the blog series, we covered the setup and configuration necessary for Snowflake integration using the Snowflake REST API with a custom connector. The API response isn’t directly usable in Power Apps if the action is directly called within Power Apps instead of Power Automate flow leveraging Data operations (Select) connector. In this blog post, let’s explore how to manipulate the… Continue Reading...
Unlocking Snowflake Data Integration in Power Platform: Using Custom Connector with Snowflake REST API – Part 1
In today’s data-driven world, businesses rely on integration between their data sources and analysis platforms to derive insights and make informed decisions. One such powerful combination is leveraging Snowflake, a leading cloud-based data warehousing platform, alongside Microsoft Power Platform. In this blog series, we’ll delve into the options of integrating Snowflake data sources into… Continue Reading Mohamed...
Text-to-Speech and Audio Playback in Power Apps using Azure and Power Automate
Capabilities like text-to-speech (TTS) and audio playback can take your applications to new heights of user engagement and accessibility. In this blog post, we’ll look at integrating text-to-speech and audio playback functionalities into Power Apps using Power Automate and Azure Speech Services. Whether you’re looking to provide dynamic narration, streamline communication, or enhance… Continue Reading Mohamed Ashiq...
Automate the assignment of Capacity Add-ons in Power Platform Environment using Power Automate Flow
In Power Platform, capacity add-ons such as AI Builder Credits, Per-App plan, Power Pages Capacity, Power Automate Per Flow, Power Automate Process, Copilot Studio messages are allocated at an environment level and are not tied to individual users, unlike the Power Apps/Power Automate Premium plan. These add-ons are assigned to an environment through the Power Platform Admin Center. However,… Continue Reading Mohamed Ashiq...
Streamlining Integration: Using Azure Managed identities in Power Apps and Power Automate to access Microsoft Graph API – Part 3
In both Part 1 and Part 2 of the blog series, I’ve covered the utilization of Managed Identities in Power Apps and Power Automate for secure access to Microsoft Graph API. This included a deep dive into setting up and configuring the Azure API Management service with the Microsoft Graph permissions for the managed identity. In Part 2, I’ve explored the process of exporting the API as a… Continue Reading Mohamed Ashiq...
Streamlining Integration: Using Azure Managed identities in Power Apps and Power Automate to access Microsoft Graph API – Part 2
In Part 1 of the blog series on using Managed identities in Power Apps and Power Automate to access Microsoft Graph API securely, I have delved into the setup and configuration of the Azure API management service with the necessary Microsoft Graph permissions for the managed identity. Building upon that foundation, Part 2 aims to take it further your integration journey in making the API’s… Continue Reading Mohamed Ashiq...
Streamlining Integration: Using Azure Managed identities in Power Apps and Power Automate to access Microsoft Graph API – Part 1
Using Microsoft Graph in Power Apps and Power Automate offers several advantages for streamlining integration with various Microsoft 365 services and applications. Additionally, securing these integrations with Azure Managed Identities significantly enhances the overall security of the solution. Azure Managed Identities enable applications and services to authenticate with Azure services… Continue Reading Mohamed Ashiq...
Streamlining Integration: Leveraging Service Principal Authentication for SQL Connector in Power Apps and Power Automate
In the ever-evolving landscape of business processes and data management, efficient integration is the key to success. Securing and managing connections in Power Apps and Power Automate is a critical aspect of integration. This blog post delves into how to use Service Principal authentication to create a connection for Azure SQL Server database with the SQL Server connector in Power Apps and… Continue Reading Mohamed Ashiq...
Streamlining Integration: Using Service Principal authentication on Custom connectors with Microsoft Graph Application Permissions
Microsoft recently announced a long awaited feature: support for Service Principals in Custom connectors which is currently in Public Preview. This empowers you to authenticate as a service principal instead of relying on user accounts. It’s a game-changer that paves the way for a multitude of scenarios, especially those requiring seamless, uninterrupted access for automated processes, free… Continue Reading Mohamed Ashiq...
Convert Speech to Text using OpenAI Whisper in Power Apps
OpenAI has released a new neural network called Whisper, which is an open-source model that can convert speech to text with impressive accuracy. This model is specifically designed to transcribe spoken language into text with high precision and speed, making it an ideal tool for a variety of applications, such as virtual assistants and video captioning. Whisper relies on advanced machine… Continue Reading Mohamed Ashiq...
How to copy an existing DLP Policy in Power Platform
DLP policies are essential in ensuring that data is managed uniformly across an organization, thereby preventing critical business data from being accidentally published to social media or other connectors. These policies can be created at both the tenant and environment levels, with management handled through the Power Platform admin center. However, it is currently not possible to copy an… Continue Reading Mohamed Ashiq...
Uploading Files Made Easy: A Guide to Using the Attachment Control in Power Apps
The Attachment control in Power Apps is a useful feature that allows users to upload and delete files, but it can only be used with data sources such as SharePoint List or Dataverse table. However, if you need to upload and delete files without using these data sources, you can create a custom component using the Attachment control or you can directly use this control in the app. I have… Continue Reading Mohamed Ashiq...
Changing Connections in Connection References on a Managed Solution
A connection reference is a component in a solution that holds information about a connector. It can be used by both a Canvas app and Power Automate flows. When importing a managed solution to an environment, the user is asked to either select an existing connection or create a new one. However, once a managed solution is imported, it cannot be edited as shown below The solution to this… Continue Reading Mohamed Ashiq...
How to send an Adaptive card to a Microsoft Teams Private channel using Power Automate flow
Within Microsoft Teams, private channels create focused spaces for collaboration where only the owners or members of the private channel can access the channel. The Microsoft Teams connector in Power Automate has an action to Post an Adaptive card in a chat or channel, which posts an adaptive card as a flow bot to a specific Teams channel. The following error will appear if this action is used… Continue Reading Mohamed Ashiq...
Send Teams Activity Feed notification from Power Automate using custom Teams Bot
Activity feed notifications appears in the Teams activity feed panel with link to various locations thus enabling developers to build actionable content. These notifications are sent as push notifications in the Teams client. In this blogpost, let us see how to send Teams activity feed notification using < ol type=”1″>Custom Teams App with a BotPower Automate standard action: Post a feed… Continue Reading Mohamed...
Call SharePoint REST API in a custom connector (Power Apps/Power Automate)
The Power Automate action Send an HTTP request to SharePoint could come handy in many scenarios to execute SharePoint REST API queries but you will not able to use this action directly in Power Apps. In this blogpost, let us see how to call the SharePoint REST API in a custom connector which can be used either in Power Automate or Power Apps. There are many REST API endpoints available within… Continue Reading Mohamed Ashiq...
Send Teams channel message aka proactive message using custom Teams bot and Power Automate – Part 2
In the last post, we have seen till the installation of the Teams App with the Bot on a Microsoft Team. Let us now continue to send a proactive message, be it an Adaptive card or a simple Text message on a Teams channel using Bot Framework REST API from a Power Automate Cloud Flow. A proactive message is any message sent by a bot that isn’t in response to a request from a user. Ex: Welcome… Continue Reading Mohamed Ashiq...
Send Teams channel message aka proactive message using custom Teams bot and Power Automate – Part 1
Microsoft Teams connector in Power Automate has actions which can send a simple text message or Adaptive card as a flow bot in a Teams channel. Messages or cards are posted as the user who’s signed into the connector in the flow or by using the flow bot. Post adaptive card in a chat or channelPost message in a chat or channel Messages can be posted on a Teams channel only if the signed… Continue Reading Mohamed Ashiq...
Deep Link SharePoint News post in Teams using Adaptive card and Power Automate
Microsoft Teams helps us bring together content from different Microsoft 365 services for easier collaboration. In Microsoft Teams connected SharePoint site, SharePoint News connector would help receive news updates from the site. In this post let us see how to create Notifications about new News post with deep link to the post from a communication site in an Adaptive card on a Teams channel… Continue Reading Mohamed Ashiq...
Share Power Apps with Microsoft Teams Users
You can share an app with Microsoft Teams users since each Microsoft team also creates a Microsoft 365 group in Azure AD. The only pre-requisite is the associated Microsoft 365 group of the Microsoft Team should be securityEnabled. By default, the Microsoft team group is not security enabled. If you are trying to share a Power Apps with a Microsoft team which is not security enabled, you will… Continue Reading Mohamed Ashiq...
Get deleted SharePoint site details using Microsoft Graph API
The deleted sites are retained for 93 days and an Admin can restore them. In this blog post let us see how to get the deleted SharePoint site details using Microsoft Graph API application permission. Step 1: Register an application in Azure AD and obtain the client id, client secret & tenant id for the registered application. Add Sites.Read.All Microsoft Graph application permission <img...
Handling nonexistent, null and multi value type properties in Parse JSON action
In Power Automate cloud flow, Parse JSON action is used to access properties in JSON content enabling you to select those properties from the dynamic content list on your subsequent actions. Typically the JSON content will be from a response to an API call. The first step after adding the action is to select the source of the JSON content and to add the schema, you can either provide a JSON… Continue Reading Mohamed Ashiq...
Parse an array without using Parse JSON action in Power Automate cloud flow
In this blog post let us see how to access the property of an array object without using Parse JSON action. Find below the sample array which has been initialized in an array variable [ { “Name”: “Mohamed Ashiq Faleel”, “Location”: “Stockholm” }, { “Name”: “Megan Bowen”, “Location”: “New York” } ] Add a Apply to each control with...
Effective Audience Targeting for SharePoint online NEWS Post using Term Store and Power Automate
In SharePoint Online sites, Audience targeting feature enables you to target relevant content to specific audiences enabling personalization through Microsoft 365 group, Azure AD Security group, Mail Enabled Security group or any combinations of these. The Membership type of the groups can be both Assigned and Dynamic. Target audience(s) can be defined on modern SharePoint pages, News post,… Continue Reading Mohamed Ashiq...
Conditional Power Automate flow triggers for SharePoint Online Pages and NEWS Post
SharePoint Online Pages library is a container for different type of pages (News post, Page, Space, News Link) created in a Communication or Team site. There can be various scenarios to have a Power Automate Flow associated to a SharePoint Site pages library to handle additional processes after a Page or a News post is published. In this blog post, let us see how to Trigger the flow if a… Continue Reading Mohamed Ashiq...
How to use form-urlencoded content type in Power Automate Custom Connector
Content type x-www-form-urlencoded is used generally to send text data in a query string in the form of name value pairs separated by ampersand. In this blog post, let us see how to use the content-type x-www-form-urlencoded in a Power Automate custom connector. Refer to this post, if you would like to find out how to use it in a HTTP connector. Find below the screenshot from postman… Continue Reading Mohamed Ashiq...
Create a Power Automate custom connector from Postman V2 Collection
Postman collections makes the creation of custom connectors in Power Automate easier & quicker. As of time I am writing this article, to create a custom connector using Postman collection in Power Automate the version of Postman collection has to be V1. The current version of collections exported from Postman is V2. There is a NPM package by the name Postman Collection Transformer to rescue… Continue Reading Mohamed Ashiq...
How to use form-data and form-urlencoded content type in Power Automate or Logic Apps HTTP action
Content type multipart/form-data is used to send both text and binary data to the server and x-www-form-urlencoded is used more generally used to send text data in a query string in the form of name value pairs separated by ampersand. In this blog post, let us see how to use the content-type multipart/form-datax-www-form-urlencoded in a Power Automate or Logic apps HTTP action to post… Continue Reading Mohamed Ashiq...
Call a SharePoint REST API as an Application in Power Automate HTTP Connector
SharePoint connector in Power Automate is very rich with various actions that can make the developers or makers life simple when it comes to interacting with SharePoint data. There might be some actions like Breaking permission to a list itemCreating a siteAdding user to a SharePoint group etc which is not possible through the SharePoint standard connector or MS Graph API as of the time… Continue Reading Mohamed Ashiq...
Azure Key Vault in Power Automate cloud flow – Could not retrieve values
Recently I was trying to connect Azure key vault to retrieve certificate details using the action called Get Secret in a cloud flow, as of the time writing this article I am not able to successfully establish the connection. It gave me an error Could no retrieve values as shown below instead of prompting me to enter the credentials to create the connection successfully. To create a… Continue Reading Mohamed Ashiq Faleel’s...
Call Microsoft Graph API using a certificate in a Power Automate HTTP connector
In this blog post, let us see how to call a Microsoft Graph API as an application in a Power Automate HTTP connector using a self-signed certificate instead of a secret from the Azure Active directory application. Find below the list of actions to enable calling the Graph API Creation of Self-Signed certificateApplication Registration in Azure AD PortalCreation of Power Automate cloud flow… Continue Reading Mohamed Ashiq...
Handle SharePoint site creation response – The site address is unavailable
There is a possibility to change the SharePoint online site address of an existing site by a SharePoint admin or Global admin. There are different options to change the site URL from SharePoint Admin centerSharePoint online management shell I’ve recently faced a scenario recently, after renaming a site URL https://tenant.sharepoint.com/sites/site1 to
Control your Philips Hue Lights from Microsoft Power Platform and .NET
Philips Hue is a smart lighting solution provider with range of smart lights that can be controlled with your smart devices like your mobile phone, Google Home, Alexa etc through the applications developed by Philips. On top of applications from Philips, the Hue system also enables OAuth 2.0 to allow third party integrations to connect to Hue system resources. In this blog post, let us see how… Continue Reading Mohamed Ashiq...
Handle HTTP request failures in Power Automate
If the HTTP request you make in Power Automate gets a 200 OK response, all is good but if the HTTP response has the status codes like 408 – Request Timeout, 429 – Too many requests, 522 – Connection Timeout, 404 – Not found, 400 – Bad request etc there is a problem which needs attention. This post will show you how to handle HTTP request failures using Retry PolicyCustom Retry for requests… Continue...
How to invite external users to a SharePoint site or Microsoft Team using Power Automate and Graph API
SharePoint and Microsoft teams services in Microsoft 365 makes it easier to share content or collaborate with external users who is outside your organization. A guest or external user is someone who do not have a school or work account with your organization, they can be your partner, vendor, customer etc. In this article let us see how to build a self-registration experience for external… Continue Reading Mohamed Ashiq...
Cancel all your running Power Automate flow runs using M365 CLI and REST API
This blog post is in continuation to my previous one Resubmit your failed Power Automate flow runs automatically using M365 CLI and REST API, in this blog post let us see how to cancel all your running flow runs using CLI for Microsoft 365Power Automate REST API CLI for Microsoft 365: Microsoft 365 CLI helps you manage configuration settings of Microsoft 365 tenant and its various… Continue Reading Mohamed Ashiq Faleel’s...
Resubmit your failed Power Automate flow runs automatically using M365 CLI and REST API
Have you ever been forced to resubmit lot of failed Power Automate flow runs manually, if so this blog post will help you to automatically resubmit the flow runs using CLI for Microsoft 365Power Automate REST API CLI for Microsoft 365: Microsoft 365 CLI helps you manage configuration settings of Microsoft 365 tenant and its various services like SharePoint, Power Automate, Power Apps,… Continue Reading Mohamed Ashiq...
Everything to know about Power Automate REST API to manage and administer your flows
Power Automate Management connector enables interaction with Power Automate management service to manage your flows with different actions to create, edit and update flows. If you want to do more but you were not able to find an action with this connector for e.g. get details on the Runs the flow has made, as of now there is no action which gets the run details of a flow with the Power… Continue Reading Mohamed Ashiq...
What is GraphQL and how to consume a GraphQL Query based API in Power Automate
I had a recent requirement to call a GraphQL based API secured with OAuth2 in Power Automate, this blog post is to share my learnings on GraphQL & how to call them in Power Automate. Let us quickly see some introduction to GraphQL GraphQL is an open-source query language for your APIs with a service-side runtime for executing the queries based on pre-defined schema. It is not tied to any… Continue Reading Mohamed Ashiq...
Call Microsoft Graph API as a daemon application with application permission from Power Automate using HTTP connector
With the assumption that you know about Microsoft Graph and its capabilities I will directly jump in with the steps and instructions to call Microsoft graph Endpoints as a daemon app or using Application permissions with the help of HTTP connector. Calling graph from a flow opens a wide range of possibilities which are not available with the prebuilt connectors. As of now you will not be able… Continue Reading Mohamed Ashiq...
Call Microsoft Graph API as a signed in user with delegated permission in Power Automate or Azure Logic apps using HTTP Connector
If you have a requirement to access graph endpoint as a signed in user/account on an instant/automated/scheduled flow, this blog post will help you with instructions and steps to access the Microsoft graph API with delegated permissions using the HTTP connectorInvoke an HTTP request connector There are resources (Presence information, Planner etc) in Microsoft graph which is available… Continue Reading Mohamed Ashiq...
Call Microsoft Graph API in Power Apps and Power Automate using a Custom connector
Microsoft graph is a gateway to data and intelligence in Microsoft 365 which connect multiple services like SharePoint, Teams, Planner etc and devices. Microsoft graph has one common endpoint that is RESTful Web API enabling you to access Microsoft Cloud service resources. With that said if you want to communicate with Microsoft Graph Services or any API services, custom connectors can be used… Continue Reading Mohamed Ashiq...
How to use Microsoft graph SharePoint Sites.Selected application permission in a Azure AD application for more granular control
As per this announcement made on Feb 2021, Microsoft graph now provides option to have granular permissions level using Sites.Selected application permission for the AD application instead of granting permission to the application for all the sites in the tenant. The permission Sites.Selected does not provide access to any SharePoint site collections for the application unless the application… Continue Reading Mohamed Ashiq...
Send email from a common mailbox in Power Automate using Microsoft Team or Shared Mailbox
Power Automate is widely used to automate many business processes and Email is one of most widely used action to send out notifications. Having said that, there will be definitely request to send the email from a generic address instead of the flow creator email address or the email action’s connection owner email address as shown below: By default, the from Address of the mail… Continue Reading Mohamed Ashiq Faleel’s...
Azure IoT with Arduino UNO board to turn on/off LED using a .NET core console application connected to Power Apps
This post is in continuation to my journey with IoT leveraging Microsoft cloud services & it’s technology and based out of few questions I have been asked in few of the events I’ve spoken on the Topic Controlling Devices using Power Apps. In this post let us see how to turn on/off a LED connected to an Arduino UNO board by sending a message from Azure IoT hub or Power Apps with the help of a… Continue Reading Mohamed...
How to create & setup Dynamic Microsoft 365 Group or Distribution list based on the user’s domain for Teams, Yammer and Exchange
There are many organizations maintaining multiple domains on a single Microsoft 365 or Azure AD tenant, in those cases there might be a need to create dynamic Microsoft 365 groups, security groups & distributions list based on the user’s domain. On this blogpost, let us see how to Create Dynamic Microsoft 365 group based on the user’s domain for Teams & YammerCreate a Dynamic… Continue Reading Mohamed Ashiq...
Find the Microsoft 365 account license and service details for a user using Microsoft Graph API
Is there a need to find the type of Microsoft 365 license and the different services assigned for a user to troubleshoot an issue related to the service they have been assigned? You have come to the right place, this post will help you find the details using the Microsoft Graph API endpoints. In Microsoft 365, licenses from licensing plans also known as SKUs give users access to the Microsoft… Continue Reading Mohamed Ashiq...
Trigger an Azure Webjob from Power Automate
On this post let us see how to trigger or run a WebJob from Power Automate. WebJob is a powerful service in Azure keeping in mind the supported file types or programs it can run. Before proceeding with the instructions to call a WebJob in Power Automate, let us see some basics of an Azure WebJob. WebJobs is a feature of Azure App Service that enables you to run a program or script in the same… Continue Reading Mohamed Ashiq...
How to use your MS Teams as an email distribution list
When you create a Microsoft Team, a Microsoft 365 group is created to manage the team membership like Owners, members, guests. I would rather say the Microsoft 365 group is a backbone of a Team. Through the group you also get an email address for the MS team. Find the other Microsoft 365 services which gets created per this documentation whenever there is a Team provisioned On this… Continue Reading Mohamed Ashiq Faleel’s...