Skip to main content

Posts

Timeout for Power Automate Desktop Flows

In Power Automate Desktop (PAD) there’s no built-in “auto-kill after X minutes” setting, so you have to enforce the 10-minute limit yourself. Here are the three reliable ways , from best practice to more advanced. Best practice: Control it from a Cloud Flow (recommended) This is the cleanest and safest approach. How it works A Cloud flow starts the Desktop flow You set a timeout of 10 minutes If the desktop flow runs longer → it gets terminated automatically Steps Create a Cloud flow Add action: Run a flow built with Power Automate for desktop Click … (three dots) on the action → Settings Set Timeout to: PT10M Enable Run in unattended mode if needed Save If the desktop flow exceeds 10 minutes, Power Automate will force stop it Pros Official, supported No hacks Best for production Option 2: Build a timeout watchdog inside the Desktop Flow Use this if you must run PAD standalone. Basic logic At the start of the flow , store the cur...
Recent posts

Get Search Crawl Log using PowerShell in SharePoint Online

At times, you may have to check the search crawl logs if search results don’t return results from specific content. Search crawl logs can be obtained from the search service application in the SharePoint on-premises environment. However, to inspect the search crawl log in SharePoint Online, you must use  Get-PnPSearchCrawlLog  cmdlet. Make sure you have access to the Crawl Log before you execute any of these PowerShell scripts! Login to SharePoint Online Admin Center  https://tenant-admin.sharepoint.com Click on “More Features” from the left navigation >> Click on the “Open” button under the Search. On the Search Service Application page, click on the “Crawl Log Permissions” link at the bottom >> Enter the user names whom you want to grant search crawl log permissions and click on “OK” to save your changes. Register an App in Entra ID (Azure AD) Step 1: Register an App in Entra ID (Azure AD) Go to: https://entra.microsoft.com Navigate to:  Home ...

Key Limitations of Microsoft Power Automate (as of August 2025)

Microsoft Power Automate is a powerful tool for automating business processes, but like any platform, it comes with a set of limitations. Understanding these constraints is essential to designing efficient, scalable, and compliant workflows—especially as your automation strategy grows in complexity.  Here are the most important limits you need to know:  1. Switch Cases Each Switch action supports a maximum of 25 cases. If you need more, consider using nested Switches or alternate logic like parallel branches or conditionals.  2. Actions per Workflow A single flow can contain up to 500 actions. For complex workflows, you may need to split logic into separate flows or use child flows to stay within this limit.  3. Nesting Depth You can nest actions (e.g., conditionals or loops) up to 8 levels deep. Going beyond this will result in a design error.  4. Variables per Flow Each flow can define up to 250 variables. This includes all variable types (string, inte...

๐Ÿ’ก Must-Know PowerApps Functions for Building Powerful Apps

Microsoft PowerApps enables users to build custom business apps with minimal code. One of its core strengths is the rich set of built-in functions that can handle logic, data, user input, and more. Whether you’re a beginner or an experienced app maker, these functions are essential for building flexible, user-friendly applications. In this post, we’ve grouped the most useful PowerApps functions into categories, so you can quickly find what you need for any scenario. ๐Ÿ” Logic & Conditional Functions These functions control decision-making within your app. If(condition, trueResult, falseResult) – Basic IF logic. Switch(expression, case1, result1, ..., defaultResult) – Simplifies multiple conditional paths. IsBlank(value) – Checks if a field or variable is empty. Coalesce(value1, value2, ...) – Returns the first non-blank value in a list. Not(condition) – Inverts a Boolean value (true → false and vice versa). ๐Ÿ”ค Text Functions Work with strings, user input, and formatted data. Concate...

๐Ÿš€ Essential SPFx (SharePoint Framework) Commands for Every Developer

Whether you're new to SharePoint Framework (SPFx) or a seasoned pro, having a go-to list of core commands can significantly improve your development workflow. In this post, we'll walk through the most important SPFx CLI commands—from setting up your environment to packaging and deploying your solution. ๐Ÿ› ️ Setting Up Your SPFx Project Start by scaffolding a new project using the Yeoman generator provided by Microsoft. Make sure Node.js and npm are installed before you proceed. yo @microsoft/sharepoint After scaffolding the project, install all dependencies: npm install To update dependencies later: npm update ๐Ÿ” Trusting the Development Certificate If you're using the local workbench, you need to trust the developer certificate for HTTPS support: gulp trust-dev-cert ๐Ÿงช Running the Local Workbench To build and serve your project locally, use: gulp serve This command starts a local server at: https://localhost:4321/temp/workbench.html You can also test your solution in ShareP...

๐Ÿš€ Mastering Pagination in Power Apps: Handle Large Data Efficiently!

๐Ÿ“Œ What is Pagination in Power Apps? Pagination in Power Apps is a method used to display large datasets in smaller, manageable chunks (pages) instead of loading everything at once. This improves app performance, avoids delegation issues, and enhances the user experience. ๐Ÿ”น Why is Pagination Needed in Power Apps? Power Apps has a delegation limit when working with data sources like SharePoint, SQL, and Dataverse. By default, it can retrieve only 500 records, and the maximum limit is 2000 records. If your dataset has thousands of records, trying to load everything at once will:  ❌ Slow down the app  ❌ Cause delegation warnings  ❌ Fail to retrieve all data ✅ Solution:  Use Pagination Instead of loading everything, fetch only a specific number of records at a time (e.g., 50 per page) and let the user navigate between pages. Example: Employee Directory App (SharePoint List) ๐Ÿ”น Suppose you are creating an Employee Directory App that fetches employee details from a ShareP...

How to List All SharePoint Lists with PowerShell Using PnP

When managing SharePoint Online, administrators often need to retrieve a list of all libraries and lists in a site. With the PowerShell PnP module, this process is quick and efficient. In this post, we’ll walk through a simple script that connects to a SharePoint site and retrieves the title and description of all lists. Prerequisites To follow along, make sure you have the PnP PowerShell module installed. You can install it using: Install-Module -Name PnP.PowerShell Script Overview Here's the script that connects to your SharePoint Online site and displays the title and description of each list: # Connect to SharePoint site Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/yoursite" -Interactive # Get all lists $lists = Get-PnPList # Select and display Title and Description $lists | Select-Object Title, Description | Format-Table -AutoSize Use Cases Auditing site contents Documenting SharePoint structure Identifying unused or unnamed lists