cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

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

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.

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (8,065)