cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Collonville
Level: Powered On

Connect Azure virtual machine using on-premises data gateway on Flow

I`m now installed on-premises data gateways on Azure Virtual Machine, and I want to make a power shell script(.ps1) using Flow File System.Flow System is like this(Flow button trigger --> Create File)
1.JPG

 

 

 

 

 

 

 

 

 

 

 

 

Now I have a several problems.

  1. I have made a same Flow and Data gateway using my laptop,It was able to run successfully. But using Azure Virtual Machine wodun`t  run successfully.
  2. Error from Flow is this.3.JPG

  3.  I have cheked that Azure NSG port and firewall(80, 443, 5671-5672, 9350-9354)is open, Gateway status from Flow setteings is Live, File System status from Flow setteings is Connected, I can see the folder inside the virtual machine from Flow File System folder path(Figure below) and On-premises data gateway Network status is Connected.4.JPG

     

Are there any sepecial setting when using data gateway on virtual machine?

Azure virtual machine
・OS : Windows 10 Pro 64 bit
・Version : 1709
・OS Build : 16299.192

 

On-premises data gateway
・Version : 14.16.6549.2

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Collonville
Level: Powered On

Re: Connect Azure virtual machine using on-premises data gateway on Flow

Hi @v-yamao-msft.


I set Destination Ports "5671-5672, 9350-9354" to '*' on Azure NSG Outbound security rule, It works well!

I have checked my data gateway log(GatewayConfigurator20180117.000000000.log), there was 1 error about email address but I think there is no problem.

 

EnterpriseGatewayConfigurator.exe Error: 0 : Exception: Microsoft.PowerBI.DataMovement.GatewayCommon.EmailAddressException: A valid email address must be specified.
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardSignInViewModel.StartSignIn(IServiceEnvironmentDetailsFactory serviceEnvironmentDetailsFactory)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardSignInViewModel.DoNext(Object param)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardViewModelBase.DoNextWorker(Object param)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.RelayCommand.<>c__DisplayClass19_0.<Execute>b__0()


Thanks for your help!

 

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Connect Azure virtual machine using on-premises data gateway on Flow

Hi @Collonville,

 

From the error message it seems that you are not able to connect to data gateway.


Could you please check the event logs on your side?


Please check this doc for more details about how to collect logs from the gateway configurator:
https://docs.microsoft.com/en-us/flow/gateway-reference

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Collonville
Level: Powered On

Re: Connect Azure virtual machine using on-premises data gateway on Flow

Hi @v-yamao-msft.


I set Destination Ports "5671-5672, 9350-9354" to '*' on Azure NSG Outbound security rule, It works well!

I have checked my data gateway log(GatewayConfigurator20180117.000000000.log), there was 1 error about email address but I think there is no problem.

 

EnterpriseGatewayConfigurator.exe Error: 0 : Exception: Microsoft.PowerBI.DataMovement.GatewayCommon.EmailAddressException: A valid email address must be specified.
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardSignInViewModel.StartSignIn(IServiceEnvironmentDetailsFactory serviceEnvironmentDetailsFactory)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardSignInViewModel.DoNext(Object param)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.WizardViewModelBase.DoNextWorker(Object param)
   at Microsoft.PowerBI.DataMovement.GatewayUXCommon.RelayCommand.<>c__DisplayClass19_0.<Execute>b__0()


Thanks for your help!

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 334 members 5,935 guests
Please welcome our newest community members: