Hi Qiuyun Yu,
I tried it 'run as administrator' but still no success and have the same error. Please see the error log below.
Please note, it doesn't prompt me to provide my PowerBi service credentials - is there a way I can force that?
Cheers
Log Name: PowerBIPersonalGateway
Source: Power BI Gateway – Personal
Date: 21/12/2016 11:05:51 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: SMS07786.in.smsmt.com
Description:
Error from PersonalGatewayConfigurator, exception: Microsoft.DataTransfer.PowerBIGatewayAgent.RestApiException: Encountered an exception while communicating with Power BI Service. See InnerException for details. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.DataTransfer.PowerBIGatewayAgent.ConfiguratorWorkflowSteps.CallRestAPI(String address, String method, AuthenticationResult authenticatedUser, Object requestJsonPayLoad, String httpAccept)
--- End of inner exception stack trace ---
at Microsoft.DataTransfer.PowerBIGatewayAgent.DmmServiceHandler.CallRootRestAPI[T](HttpMethod method, Object argument, String[] pathSegments)
at Microsoft.DataTransfer.PowerBIGatewayAgent.DmmServiceHandler.DiscoverGateway(String gatewayName)
at Microsoft.DataProxy.PowerBIPersonalGatewayConfigurator.MainViewModel.<GetGatewayStateFromService>b__1()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- 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.DataProxy.PowerBIPersonalGatewayConfigurator.MainViewModel.<GetGatewayStateFromService>d__3.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.DataProxy.PowerBIPersonalGatewayConfigurator.NotifyTaskCompletion`1.<WatchTaskAsync>d__0.MoveNext().
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Power BI Gateway – Personal" />
<EventID Qualifiers="0">0</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2016-12-21T00:05:51.000000000Z" />
<EventRecordID>17</EventRecordID>
<Channel>PowerBIPersonalGateway</Channel>
<Computer>SMS07786.in.smsmt.com</Computer>
<Security />
</System>
<EventData>
<Data>Error from PersonalGatewayConfigurator, exception: Microsoft.DataTransfer.PowerBIGatewayAgent.RestApiException: Encountered an exception while communicating with Power BI Service. See InnerException for details. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.DataTransfer.PowerBIGatewayAgent.ConfiguratorWorkflowSteps.CallRestAPI(String address, String method, AuthenticationResult authenticatedUser, Object requestJsonPayLoad, String httpAccept)
--- End of inner exception stack trace ---
at Microsoft.DataTransfer.PowerBIGatewayAgent.DmmServiceHandler.CallRootRestAPI[T](HttpMethod method, Object argument, String[] pathSegments)
at Microsoft.DataTransfer.PowerBIGatewayAgent.DmmServiceHandler.DiscoverGateway(String gatewayName)
at Microsoft.DataProxy.PowerBIPersonalGatewayConfigurator.MainViewModel.<GetGatewayStateFromService>b__1()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- 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.DataProxy.PowerBIPersonalGatewayConfigurator.MainViewModel.<GetGatewayStateFromService>d__3.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.DataProxy.PowerBIPersonalGatewayConfigurator.NotifyTaskCompletion`1.<WatchTaskAsync>d__0.MoveNext().</Data>
</EventData>
</Event>