Courseiva
Demonstrate the capabilities of Power AutomatehardMultiple ChoiceObjective-mapped

Troubleshooting On-Premises Data Gateway in Power Automate

Contoso Ltd. has a Power Automate flow that runs daily at 8:00 AM to synchronize customer data from an on-premises SQL Server database to Dataverse. The flow uses an on-premises data gateway to connect to the SQL Server. Recently, the flow started failing with the error: 'Unable to connect to the gateway. The gateway is offline.' The IT administrator confirms that the gateway service is running on the on-premises server, and the server has internet connectivity. You need to resolve the issue. What should you do?

Quick Answer

When a gateway service is confirmed running and the server has internet connectivity, yet the Power Platform admin center still reports it offline, the mismatch points to a registration or authentication problem between the gateway and the cloud service rather than a networking or service-availability issue. Reinstalling the gateway forces it to re-register and re-authenticate with the cloud, which resets whatever inconsistent state was causing the admin center to show it as offline despite the local service running fine. This is why simply restarting the service isn't enough here, since restarting affects the local process, not the cloud-side registration record that the admin center is actually reading from. It also rules out switching to a direct connection, since on-premises data sources like SQL Server require the gateway as their bridge to Dataverse and cannot connect directly, and it rules out a firewall fix, since the scenario already states outbound internet connectivity is working, which is what the gateway needs to reach the cloud. The general pattern to recognize is that when a local service is healthy but the cloud portal disagrees about its status, think registration and re-authentication first, and only look at the network or the service process itself when the symptoms actually point that way.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Reinstall the on-premises data gateway and verify it appears online in the Power Platform admin center

The gateway is showing as offline in the Power Platform admin center despite the service running. Reinstalling the gateway updates its registration and re-authenticates it with the cloud, which resolves the inconsistent connection state. Option A is incorrect because the service is already running; simply restarting may not fix a registration or certificate issue. Option B is incorrect because the on-premises SQL Server requires the gateway for Dataverse connectivity; a direct connection is not supported for on-premises data sources. Option C is incorrect because the firewall already allows outbound traffic (the server has internet connectivity), and the error indicates a gateway status issue, not a network block.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Restart the on-premises data gateway service on the server

    Why it's wrong here

    The service is already running; restarting may not resolve the issue if the gateway is not registered.

  • Remove the gateway from the flow and use a direct connection

    Why it's wrong here

    Direct connection is not possible for on-premises data sources without a gateway.

  • Configure the firewall on the on-premises server to allow outbound traffic to Azure

    Why it's wrong here

    The server has internet connectivity, so firewall is not the issue.

  • Reinstall the on-premises data gateway and verify it appears online in the Power Platform admin center

    Why this is correct

    Reinstalling can fix registration issues and ensure the gateway is recognized.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

Courseiva writes every PL-900 question from scratch — 904 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more way this is tested on PL-900

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A company wants to automate the process of moving files from a local network drive to SharePoint Online. Which Power Automate feature should they use?

easy
  • A.On-premises data gateway with cloud flow
  • B.Cloud flow with SharePoint connector
  • C.UI flow
  • D.Business process flow

Why A: The on-premises data gateway is required to connect to a local network drive from a cloud flow. Power Automate cloud flows run in the cloud and cannot directly access on-premises file systems without a gateway. Option B is wrong because cloud flows with a SharePoint connector can only connect to SharePoint Online, not to a local drive. Option C is wrong because UI flows are for automating user interface interactions, not file transfers. Option D is wrong because business process flows provide guided step-by-step processes and are not for file automation.

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PL-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PL-900 exam.