Log off user action in Desktop flow using Microsoft Power Automate

Introduction

Microsoft Power Automate is a software by Microsoft for the automation of recurring tasks. It is part of the Microsoft Power Platform line of products together with products such as Power Apps and Power BI. More Details https://powerautomate.microsoft.com/en-us/

Desktop flows are the existing robotic process automation (RPA) capabilities in Power Automate and enable to automate of all repetitive desktop processes.

The workstation group of actions provides a collection of actions that automate some essential functionalities of your workstation. To log off the current user, we can use the Log off user action. When you run the Log off user action through the flow designer, the action prompts you to verify that you want to log off the current user. However, the action doesn't require confirmation when the flow runs through the console or cloud flows. In all cases, the action will terminate the flow.

Reading this article, you can learn how to log off the current user; we can use the Log off user action in a workstation group of actions with Desktop flow using Microsoft Power Automate.

The following important tools are required for developing Microsoft Power Automate,

  1. Windows 10/11 (Recommended)
  2. Power Automate Desktop - Download the Power Automate installer

Now we can discuss step-by-step App development.

Step 1. Open Microsoft Power Automate ->  New Flow

Next, Give the Flow name as PADLogoff, Click the Create button,

Log off user action in Desktop flow

After that, we can see the Desktop flow,                                           

Log off user action in Desktop flow

Step 2. For Testing Log off user action in the Workstation group of actions,

Add the Log off user action, and Click the Save Button.

Log off user action in Desktop flow

Now, Save the PADLogoff Desktop Flow,

Log off user action in Desktop flow

Step 3. Now we can run your PADLogoff Desktop Flow in Microsoft Power Automate, 

The output of the PADLogoff, Notify the user for signing out.

Log off user action in Desktop flow

Summary

Now, you are successfully tested Log off user action in Desktop flow – PADLogoff in Microsoft Power Automate.


Similar Articles