On-Premises Data Gateway In Power Automate

In this tutorial, we’ll discuss the usage of on-premises data gateway in Power Automate. This is essential when integrating UI flows to any other Power Automate flows.

On-premises data gateway allows Power Automate to access desktop applications when the user is away from the computer.

Table of Contents

Creating An Instant Flow

First, let’s create an instant flow with some UI concepts.

On-Premises Data Gateway In Power Automate

Set the name to “FlowWithUI” and choose the Manually trigger a flow option. Then, click Create.

On-Premises Data Gateway In Power Automate

After that, click New Step.

On-Premises Data Gateway In Power Automate

Search and select the UI flows connector.

On-Premises Data Gateway In Power Automate

This connector provides two actions. For this example, select the action that uses a Windows recorder.

On-Premises Data Gateway In Power Automate

As we can see, it requires a data gateway to connect to. This is because we’re now creating a UI flow that can be executed as part of a general flow.

On-Premises Data Gateway In Power Automate

Since Power Automate knows that it might need to access our desktop when we’re not around, it wants permission to automatically access our desktop apps. Let’s now set up an on-premises data gateway to our computer.

Setting Up An On-Premises Data Gateway

First, let’s click the Learn more link.

On-Premises Data Gateway In Power Automate

Then, we’ll be redirected to the documentation page for installing an on-premises data gateway.

On-Premises Data Gateway In Power Automate

We just need to follow the given instructions properly.

1. Downloading The On-Premises Data Gateway

First, we need to download the standard gateway application by clicking it.

On-Premises Data Gateway In Power Automate

Once clicked, it’ll download the executable file. Click the downloaded file to open it.

On-Premises Data Gateway In Power Automate

Then, it’ll ask us where we want to save the gateway. For now, we’ll just save it in the default location and accept the terms of use and privacy statement. After that, click the Install button.

On-Premises Data Gateway In Power Automate

Then the installation begins.

On-Premises Data Gateway In Power Automate

2. Signing Into Our Microsoft Account

Once the installation is successful, it’ll ask us to enter an email address to use with the gateway. Keep in mind that we need to use the same email address that we used when logging into Power Automate. For this example, I’ll be copying this email address that I used in my Power Automate account.

On-Premises Data Gateway In Power Automate

Then, paste the email address and click Sign in.

On-Premises Data Gateway In Power Automate

After that, we need to sign in to our Microsoft account.

On-Premises Data Gateway In Power Automate

Select the Register a new gateway on this computer option. Then click Next.

On-Premises Data Gateway In Power Automate

3. Configuring The On-Premises Data Gateway

We need to set a name for the on-premises data gateway. You may call it whatever you want, but for this example, I’ll just name it as MyComp. We also need to set a Recovery key which needs to be noted properly and remembered easily.

This is because it’s needed to restore the gateway and can’t be changed. Hence, we have to record or store it in a safe place and make sure that it’s something we can easily remember. After setting those up, click Configure.

On-Premises Data Gateway In Power Automate

Finally, it’ll prompt us that our on-premises data gateway is online and ready to be used. Just make sure that the two boxes are marked as Ready, then click Close.

On-Premises Data Gateway In Power Automate

Now, once we redo the UI flows step, we should be able to see the MyComp option from the Gateway name dropdown list.

On-Premises Data Gateway In Power Automate

Logging Into The Data Gateway

Let’s now log into our data gateway. For this example, I used my AzureVM1 instead of the sample gateway that we previously created. It doesn’t really matter what gateway we choose. In my case, I have two computers and I prefer to use my AzureVM1.

On-Premises Data Gateway In Power Automate

Then we need to enter our username and password to the Windows computer where we set the gateway up. Therefore, this isn’t our Power Automate account. It should be the actual Windows credentials (username and password) in the desktop/personal computer that we’re currently using. After entering those two, click the Create button.

On-Premises Data Gateway In Power Automate

Once we see this page, it means we’ve successfully logged in to the gateway and we can now proceed to the next steps.

On-Premises Data Gateway In Power Automate

Configuring The UI Flow step

After logging into the gateway, we need to choose a UI flow we’ve already created, or just create a new UI flow. For this example, let’s use a UI flow that we’ve previously created.

On-Premises Data Gateway In Power Automate

The UI flow that we’ve selected requires an input called Name. That’s why it automatically displayed the Name field for this step.

On-Premises Data Gateway In Power Automate

Let’s now add another Text input as we manually trigger this flow.

On-Premises Data Gateway In Power Automate

We’ll ask the user to enter their first name.

On-Premises Data Gateway In Power Automate

Then we’ll pass the dynamic content of the FirstName variable into the Name field.

On-Premises Data Gateway In Power Automate

After that, we need to choose between running the flow while signed in or in the background. Let’s choose the Unattended option so the flow can run in the background without signing in.

On-Premises Data Gateway In Power Automate

And now we’ve integrated a UI flow into a simple and more general Power Automate instant flow. Let’s see how this works.

Testing The Flow

First, click Save.

On-Premises Data Gateway In Power Automate

Then click Test.

On-Premises Data Gateway In Power Automate

Select the I’ll perform the trigger action option then click Test.

On-Premises Data Gateway In Power Automate

Click Continue.

On-Premises Data Gateway In Power Automate

I know it only requires a first name, but let’s just use Steve Jobs. Then click the Run flow button.

On-Premises Data Gateway In Power Automate

Lastly, click Done.

On-Premises Data Gateway In Power Automate

Once that’s done, the UI flow automatically opens up the notepad and displays “Hey my name is Steve Jobs“.

On-Premises Data Gateway In Power Automate

This means our flow was able to run successfully.


UI Flow Inputs In Microsoft Power Automate
UI Flow Outputs In Power Automate
PowerApps Integration In Microsoft Power Automate

Conclusion

Generally, we’re able to integrate a UI flow into another Power Automate flow. We can do even more complex steps or actions with this technique, but for now, I’d just like to go over the sequential steps that are essential for the integration.

Again, our computer still needs to be turned on all the time and connected to the internet in order for this to run. But now that we have the gateway, it allows Power Automate to access our desktop whenever we’re not around or if we’re logged in on a different desktop user account.

All the best,

Henry

Leave a Comment

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel Hücrelerini Metne Sığdırma: 4 Kolay Çözüm

Excel hücrelerini metne sığdırmak için güncel bilgileri ve 4 kolay çözümü keşfedin.

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutu Nasıl Küçültülür – 6 Etkili Yöntem

Bir Excel Dosyasının Boyutunu Küçültmek için 6 Etkili Yöntem. Hızlı ve kolay yöntemler ile verilerinizi kaybetmeden yer açın.

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Pythonda Self Nedir: Gerçek Dünyadan Örnekler

Python'da Self Nedir: Gerçek Dünyadan Örnekler

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

Rde Bir RDS Dosyası Nasıl Kaydedilir ve Yüklenir

R'de bir .rds dosyasındaki nesneleri nasıl kaydedeceğinizi ve yükleyeceğinizi öğreneceksiniz. Bu blog aynı zamanda R'den LuckyTemplates'a nesnelerin nasıl içe aktarılacağını da ele alacaktır.

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

İlk N İş Günü Tekrar Ziyaret Edildi – Bir DAX Kodlama Dili Çözümü

Bu DAX kodlama dili eğitiminde, GENERATE işlevinin nasıl kullanılacağını ve bir ölçü başlığının dinamik olarak nasıl değiştirileceğini öğrenin.

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

LuckyTemplatesda Çok İş Parçacıklı Dinamik Görsel Tekniği Kullanarak Öngörüleri Sergileyin

Bu eğitici, raporlarınızdaki dinamik veri görselleştirmelerinden içgörüler oluşturmak için Çok Kanallı Dinamik Görseller tekniğinin nasıl kullanılacağını kapsayacaktır.

LuckyTemplatesda İçeriği Filtrelemeye Giriş

LuckyTemplatesda İçeriği Filtrelemeye Giriş

Bu yazıda, filtre bağlamından geçeceğim. Filtre bağlamı, herhangi bir LuckyTemplates kullanıcısının başlangıçta öğrenmesi gereken en önemli konulardan biridir.

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Çevrimiçi Hizmetindeki Uygulamaları Kullanmak İçin En İyi İpuçları

LuckyTemplates Apps çevrimiçi hizmetinin çeşitli kaynaklardan oluşturulan farklı raporların ve içgörülerin yönetilmesine nasıl yardımcı olabileceğini göstermek istiyorum.

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

Fazla Mesai Kâr Marjı Değişikliklerini Analiz Edin - LuckyTemplates ve DAX ile Analitik

LuckyTemplates'da ölçü dallandırma ve DAX formüllerini birleştirme gibi teknikleri kullanarak kâr marjı değişikliklerinizi nasıl hesaplayacağınızı öğrenin.

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

DAX Studioda Veri Önbellekleri İçin Materyalleştirme Fikirleri

Bu öğreticide, veri önbelleklerini gerçekleştirme fikirleri ve bunların DAX'ın sonuç sağlama performansını nasıl etkilediği tartışılacaktır.