cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

on-premises data gateway request error "unauthorized" during Sign in phase of installation

Error when configuring on-premises gateway.

 

The service cannot reach the gateway.
Request error: Id: 'b90411ff-1ec7-4cfa-b831-b8468f890b71', Status code: 'BadRequest', Timestamp: '12/07/2016 21:04:46 +00:00', ErrorCode: 'DM_GWPipeline_Gateway_CancellationOrTimeoutError', Detail: ''
at Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<EnsureSuccessfulDMMSRequest>d__0.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 Microsoft.PowerBI.DataMovement.ExternalClient.PowerBIDataMovementClientExtensions.<DiscoverUnifiedGatewayStatusAsync>d__13.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 Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.ConfiguratorClientExtensions.<DiscoverUnifiedGatewayStatusAsyncRetry>d__a.MoveNext()

 

Please help

5 REPLIES 5
Community Support Team
Community Support Team

Re: on-premises data gateway request error "unauthorized" during Sign in phase of installa

Hi PraveenRamesh,

 

Did you install the Gateway according to this article? I tried to install a gateway according to this article, I don’t get any error message. Below is the gateway I have installed successfully.

The article link is:
https://powerapps.microsoft.com/en-us/tutorials/gateway-reference/

gateway.PNG

 

Please make sure you sign in with the correct account. You should sign in with either a work or school account.
Please also check the firewall settings. You may also be blocked by the firewall.

 

Please try again with this and feel free reply if you need more help.


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.
Anonymous
Not applicable

Re: on-premises data gateway request error "unauthorized" during Sign in phase of installa

Thanks for your Reply. What Permissions are required on tenant for the account that i'm using to install the gateway and also what port\URL needs to be enabled on the firewall. Please advise. Thanks

Anonymous
Not applicable

Re: on-premises data gateway request error "unauthorized" during Sign in phase of installa

Capture.PNG

 

This is the error that i see. Please help. Thanks

Dual Super User
Dual Super User

Re: on-premises data gateway request error "unauthorized" during Sign in phase of installa

Hi Praveen,

I did run into a similar issue when I was installing and configuring my Gateway. The cause of this issue was the date and time of my server. The time set on my server was a few hours behind my actual time. Gateway didn't like this and hence my connection was cancelled. In my scenario my VM host itself had to have it's time updated.

I have also written an article about this SharePoint Gateway: PowerApps and Flow

Hope this helps!

Community Support Team
Community Support Team

Re: on-premises data gateway request error "unauthorized" during Sign in phase of installa

Hi PraveenRamesh,

 

About the requirements to install a gateway, please see this article for a reference:
https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-onprem/

 

According to the screenshot of the error message, seems that it’s a problem with network connectivity. Please try to uninstall an old version, and install the latest version, make sure that remove all the files&folders associated to the gateway when you uninstall. Please try if this works.

 

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.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,111)