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

UI flow Gateway Connection "Test connection failed"

Hello everyone,

 

I ran into an error while setting up an on-prem Gateway to trigger my UI Flows.

 

When I try to setup a connection in the web portal I get the error message:
"Test connection failed. Details: There is a problem with your credentials. Verify your credentials or use other credentials to connect to the gateway."

Unbenannt.png

 

 

 

 

 

 

 

 

 








The local installation and configuration ran succesfully. I changed the service account to the domain user, which is logged in on the machine. The Gateway says it is "online and ready to be used". The network and port test also suceeds.

In the webportal I also see the status of the Gateway as online.

 

The I service user is the same as the one that I put in when setting up the connection. It´s a domain user but not AAD. The device is joined to a local domain, not azure joined. I tried every variation of username that I could think of, domain\username, username@domain.com, mail, ...

 

The connection needs to use a proxy, but I did followed this guide: Configure proxy settings for the on-premises data gateway | Microsoft Docs

 

Anything else I can try?

Thanks and Regards

Janis

 

 

9 REPLIES 9
matow
Power Automate
Power Automate

@Janis_ It looks like you followed the right steps - typically the network connection test from the Gateway will show if something is blocked, and DOMAIN\username is the right format for the login. A few questions to help troubleshoot:

 

  1. Do you see the same error message if you try to create the connection from within the UI flows connector in an instant flow?
  2. Does creating the connection work with the format ~\Username rather than DOMAIN\Username?

Hi @matow ,

Thanks for the answer.

 

yes, its independend from the point where I try to set up the connection. It´s the same error inside a flow and under data -> connections.

 

Unfortunately ~\Username also doesn´t work.

 

Regards

Janis

Hi @Janis_,

 

In order to investigate what is happening here, we need some additional information.

 

To get this information, please follow these steps:

      1. Go back to the web portal where you tried to create your connection in the UI Flows connector and enter your credentials as you did before but without clicking on "Create" for now.

1st.png

 

       2. Press F12 (being on the connection creation page) to open the DevTools and go to the Network tab.

Screenshot 2020-11-02 145052.png

 

      3. In the Filter box, type "testconnection".

filter.png

 

      4. Keeping the DevTools opened, click on the Create button on the web portal.

1st - Copy.png

 

      5. Click on each "testconnection" entry on the DevTools and copy the value of the "x-ms-correlation-request-id" header if there is one.
correlationId.png

 

      6. Finally, provide us in a response to this thread, the value you copied.

 

Best Regards,

Andreas

Hi @antouly ,

 

I get the status code 401. The Request ID is fbd4237a-f7b4-4359-a372-ec6def3405b7.

In contrast to your screenshot, my referrer Policy is "origin".

 

Thanks

Janis

Hi @Janis_,

 

After investigating your problem, it appears that there is a problem with UI Flow Service (from the local installation) that cannot reach some required URLs: https://docs.microsoft.com/en-us/power-automate/limits-and-config#ui-flows-required-services

 

Can you check that your local user and the service account "NT Service\UIFlowService" (installed by the local installation on your machine) are allowed to reach these URLs?

 

Thanks,

Andreas

Hi Andreas,

 

Thanks, I will check with the network team and get back to you.

 

Regards

Janis

 @antouly I am experience the same issue. Can you help me interpret this Request ID: cd11adfc-db4a-49f3-9459-94b07f5ec7f5 . My on premis gateway is on a VM and I use my Azure AD credentials which is enabled to log in. Furthermore I use a fingerprint/pin to log in to VM instead of a password

Test connection failed. Details: There’s an issue with your credentials. Check your credentials or use different credentials to connect to the gateway. Correlation id: 57e4ec81-ccd6-40f2-b4f7-cc15bb9b03ed

 

Can someone help regarding this error?

@Dimeji, sorry for the late reply. Are you still experiencing the same issue? If so, can you please send me the last error message you got with the request/correlation id?

 

@suryapunjsharma the error message says that you are not using the right credentials to connect to your machine.

If you are using local account's credentials, can you double-check that the username is the correct one? To do so, you can go to C:/Users/[YourUsername]. Sometimes, the actual username can be a little bit different from the one you see in other Windows settings. Finally, if you have an Active Directory account, don't forget to add the domain before your username: DOMAIN\YourUsername

 

Thanks,

Andreas

Helpful resources

Announcements

Community will be READ ONLY July 16th, 5p PDT -July 22nd

Dear Community Members,   We'd like to let you know of an upcoming change to the community platform: starting July 16th, the platform will transition to a READ ONLY mode until July 22nd.   During this period, members will not be able to Kudo, Comment, or Reply to any posts.   On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities.   What to Expect in the New Community: A more unified experience where all products, including Power Apps, Power Automate, Copilot Studio, and Power Pages, will be accessible from one community.Community Blogs that you can syndicate and link to for automatic updates. We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead!

Summer of Solutions | Week 4 Results | Winners will be posted on July 24th

We are excited to announce the Summer of Solutions Challenge!    This challenge is kicking off on Monday, June 17th and will run for (4) weeks.  The challenge is open to all Power Platform (Power Apps, Power Automate, Copilot Studio & Power Pages) community members. We invite you to participate in a quest to provide solutions to as many questions as you can. Answers can be provided in all the communities.    Entry Period: This Challenge will consist of four weekly Entry Periods as follows (each an “Entry Period”)   - 12:00 a.m. PT on June 17, 2024 – 11:59 p.m. PT on June 23, 2024 - 12:00 a.m. PT on June 24, 2024 – 11:59 p.m. PT on June 30, 2024 - 12:00 a.m. PT on July 1, 2024 – 11:59 p.m. PT on July 7, 2024 - 12:00 a.m. PT on July 8, 2024 – 11:59 p.m. PT on July 14, 2024   Entries will be eligible for the Entry Period in which they are received and will not carryover to subsequent weekly entry periods.  You must enter into each weekly Entry Period separately.   How to Enter: We invite you to participate in a quest to provide "Accepted Solutions" to as many questions as you can. Answers can be provided in all the communities. Users must provide a solution which can be an “Accepted Solution” in the Forums in all of the communities and there are no limits to the number of “Accepted Solutions” that a member can provide for entries in this challenge, but each entry must be substantially unique and different.    Winner Selection and Prizes: At the end of each week, we will list the top ten (10) Community users which will consist of: 5 Community Members & 5 Super Users and they will advance to the final drawing. We will post each week in the News & Announcements the top 10 Solution providers.  At the end of the challenge, we will add all of the top 10 weekly names and enter them into a random drawing.  Then we will randomly select ten (10) winners (5 Community Members & 5 Super Users) from among all eligible entrants received across all weekly Entry Periods to receive the prize listed below. If a winner declines, we will draw again at random for the next winner.  A user will only be able to win once overall. If they are drawn multiple times, another user will be drawn at random.  Individuals will be contacted before the announcement with the opportunity to claim or deny the prize.  Once all of the winners have been notified, we will post in the News & Announcements of each community with the list of winners.   Each winner will receive one (1) Pass to the Power Platform Conference in Las Vegas, Sep. 18-20, 2024 ($1800 value). NOTE: Prize is for conference attendance only and any other costs such as airfare, lodging, transportation, and food are the sole responsibility of the winner. Tickets are not transferable to any other party or to next year’s event.   ** PLEASE SEE THE ATTACHED RULES for this CHALLENGE**   Week 1 Results: Congratulations to the Week 1 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge.   Community MembersNumber SolutionsSuper UsersNumber Solutions Deenuji 9 @NathanAlvares24  17 @Anil_g  7 @ManishSolanki  13 @eetuRobo  5 @David_MA  10 @VishnuReddy1997  5 @SpongYe  9JhonatanOB19932 (tie) @Nived_Nambiar  8 @maltie  2 (tie)   @PA-Noob  2 (tie)   @LukeMcG  2 (tie)   @tgut03  2 (tie)       Week 2 Results: Congratulations to the Week 2 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 2: Community MembersSolutionsSuper UsersSolutionsPower Automate  @Deenuji  12@ManishSolanki 19 @Anil_g  10 @NathanAlvares24  17 @VishnuReddy1997  6 @Expiscornovus  10 @Tjan  5 @Nived_Nambiar  10 @eetuRobo  3 @SudeepGhatakNZ 8     Week 3 Results: Congratulations to the Week 3 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 3:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji32ManishSolanki55VishnuReddy199724NathanAlvares2444Anil_g22SudeepGhatakNZ40eetuRobo18Nived_Nambiar28Tjan8David_MA22   Week 4 Results: Congratulations to the Week 4 qualifiers, you are being entered in the random drawing that will take place at the end of the challenge. Week 4:Community MembersSolutionsSuper UsersSolutionsPower Automate Deenuji11FLMike31Sayan11ManishSolanki16VishnuReddy199710creativeopinion14Akshansh-Sharma3SudeepGhatakNZ7claudiovc2CFernandes5 misc2Nived_Nambiar5 Usernametwice232rzaneti5 eetuRobo2   Anil_g2   SharonS2  

Check Out | 2024 Release Wave 2 Plans for Microsoft Dynamics 365 and Microsoft Power Platform

On July 16, 2024, we published the 2024 release wave 2 plans for Microsoft Dynamics 365 and Microsoft Power Platform. These plans are a compilation of the new capabilities planned to be released between October 2024 to March 2025. This release introduces a wealth of new features designed to enhance customer understanding and improve overall user experience, showcasing our dedication to driving digital transformation for our customers and partners.    The upcoming wave is centered around utilizing advanced AI and Microsoft Copilot technologies to enhance user productivity and streamline operations across diverse business applications. These enhancements include intelligent automation, AI-powered insights, and immersive user experiences that are designed to break down barriers between data, insights, and individuals. Watch a summary of the release highlights.    Discover the latest features that empower organizations to operate more efficiently and adaptively. From AI-driven sales insights and customer service enhancements to predictive analytics in supply chain management and autonomous financial processes, the new capabilities enable businesses to proactively address challenges and capitalize on opportunities.    

Updates to Transitions in the Power Platform Communities

We're embarking on a journey to enhance your experience by transitioning to a new community platform. Our team has been diligently working to create a fresh community site, leveraging the very Dynamics 365 and Power Platform tools our community advocates for.  We started this journey with transitioning Copilot Studio forums and blogs in June. The move marks the beginning of a new chapter, and we're eager for you to be a part of it. The rest of the Power Platform product sites will be moving over this summer.   Stay tuned for more updates as we get closer to the launch. We can't wait to welcome you to our new community space, designed with you in mind. Let's connect, learn, and grow together.   Here's to new beginnings and endless possibilities!   If you have any questions, observations or concerns throughout this process please go to https://aka.ms/PPCommSupport.   To stay up to date on the latest details of this migration and other important Community updates subscribe to our News and Announcements forums: Copilot Studio, Power Apps, Power Automate, Power Pages