Showing results for 
Search instead for 
Did you mean: 

Installing gateway: Network request returned unexpected error

Hi - I need some help here:

Gateway installed successfully. I then try to configure it, I enter a corp account email and then get the following error:

Note - as this is an enterprise gateway we're trying to configure, it doesn't have internet access due to security. We've allowed all the ports/URLs as specified here in the firewalls:


Network request returned unexpected error.
No MediaTypeFormatter is available to read an object of type 'PowerBIApiErrorResponse' from content with media type 'text/html'.
at System.Net.Http.HttpContentExtensions.ReadAsAsync[T](HttpContent content, Type type, IEnumerable`1 formatters, IFormatterLogger formatterLogger, CancellationToken cancellationToken)
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIHttpRequestException.<CreatePowerBIHttpRequestException>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.PowerBI.DataMovement.GatewayCommon.ConfiguratorClientExtensions.<DiscoverEmailProperties>d__7.MoveNext()


Helpful resources

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.


New Year’s Resolution - Build Conversational Bots!

Access all of the Power Virtual Agents learning resources and join the January learning challenge.

Users online (2,567)