web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to use Power Autom...
Power Automate
Unanswered

How to use Power Automate to initiate a VPN connection

(0) ShareShare
ReportReport
Posted on by 3

Hello guys, how are you?

 

Sorry for the naive question, I'm a simple computer user and I would just like to automate a task.

Every day at 08:00 I need to connect to the VPN at work, and at 17:00 I disconnect. Can you tell me how this flow would look in Power Automate?

 

I swear I tried several ways but none of them could even open the Settings window. It would help a lot to count on your expertise, hugs!

 

PS: VPN is configured within Windows settings, under Settings > Network & Internet > VPN.

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    In the SendKeys Action use {LWin}{I} which will open up the Settings screen  (Windows key and alphabet I).

    Then use the Windows recorder to click on "Network & Internet" and then "VPN".

     

    Just tried all of the above steps and it has worked till there.

     

  • Jerry4 Profile Picture
    3 on at

    Thanks, I wasn't getting along with the tool but I got it now and it worked fine. About running this task on time, can you tell me how I can create this condition?

  • VJR Profile Picture
    7,635 on at

    Right now scheduling is not available in Desktop Flows.

    But you can call a Desktop flow from a Cloud flow and have your cloud flow run on a specific schedule.

  • Community Power Platform Member Profile Picture
    on at

    Thanks @Jerry4 for posting this question, I'm facing a similar question on scheduling an auto-connection with VPN.

     

    Hi @VJR , are there any prerequisites on the Power Automate license for calling a Desktop flow from a Cloud flow? Is the license come with Microsoft 365 Business Basic sufficient for this task?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard