cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Frequent Visitor

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
Highlighted
Community Support
Community Support

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.
Frequent Visitor

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (4,151)