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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / What do I need to run ...
Power Automate
Answered

What do I need to run the on premise gatway?

(0) ShareShare
ReportReport
Posted on by 19

I'm evaluating Microsoft Flow for some business needs and would love to try some flows accessing ERP data on the internal network.

So I installed the Gateway on a testmachine (directly connected to the internet through a firewall to keep it easy)  and everything seemed to work at first, the gateway appears in my Flow test account.

However, when running the diagnosis it fails at one and the log tells me my Token has expired? Do I need to create an account somewhere else to get this working?

EnterpriseGatewayConfigurator.exe Error: 0 : Unable to Get ServiceBusRelaysInfo, ex: Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIHttpRequestException:  Status code: 'Forbidden',  ErrorCode: 'TokenExpired'

 

Regards

Categories:
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @elwis , 

     

    Are you creating the flow in the default environment with same credentials as you used to set up the On Prem Gateway. Please confirm this. Note: On Prem data gateway only works with flows and apps you create in the default environment of the subscription. 

     

    Also, you might want to refresh the connection or log out of the current session, close the browser and log in again, try reconnecting.

     

    Hope this helps. 

  • elwis Profile Picture
    19 on at

    Hello and thanks for answering,

    Yes I used the same Microsoft/Bizspark account for both of them. I will try to reinstall the gateway though to verify everything, but as said, the gatway is there when trying to create my flow.

    Will try some more, thanks again.

     

    Regards

  • Verified answer
    elwis Profile Picture
    19 on at

    I'm getting closer I think, reinstall and windows logout/login helped getting the Diagnosis to report success.

    Now I just need to figure out why my Filecopy node throws an error in my face (error executing the api 'datasets/default/folders/xxxx') when I try to pick a folder to upload files from.

    But I'm getting there...

     

     

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @elwis 

     

    Can you share some details on what you are trying to do? If you are trying to access structured data from the onprem, i would suggest using sharepoint connection on the onprem data gateway. 

     

    If there is something you need assistance with, please feel free to post here. 

     

    Thanks, 

  • elwis Profile Picture
    19 on at

    Hello,

    I'm just trying different scenarios for evaluating some real business cases where we will use it for accesing ERP logic.

     

    It seem that the Gateway is up and running finally, even If I can't get it to use the template for copying files to sharepoint (as a test). It doesn't like when I'm trying to pick source folder on my GW server, it gives me the api error.

     

    Anyway, this is just for testing and the GW seem to be working, I'll just pick some other template for further evaluation.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard