Export2Dataflow icon indicating copy to clipboard operation
Export2Dataflow copied to clipboard

Authentication Error

Open FrankFromGermany opened this issue 3 years ago • 5 comments

Publishing2Dataflow works fine on my desktop. However, on my laptop the login fails.

Request Id: some GUID Correlation Id: another GUID Timestamp: 2022-02-24T15:17:31Z
Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'GUID [= ApplicationID of the Power BI Gateway]'.

Any idea what's going on? In general, login does work for me on the laptop including PowerShell.

FrankFromGermany avatar Feb 24 '22 15:02 FrankFromGermany

Hi Frank, can you please check which versions of MicrosoftPowerBIMgmt are installed on the desktop and the laptop. PowerShell: Get-Module -ListAvailable -Verbose:$false | Where-Object { $_.Name -eq "MicrosoftPowerBIMgmt" }

You can also try to install the latest version on the laptop. PowerShell: Install-Module MicrosoftPowerBIMgmt -SkipPublisherCheck -AllowClobber -Force -Scope CurrentUser

MarcusWegener avatar Feb 25 '22 10:02 MarcusWegener

Hi Marcus, thanks for your kind and prompt reply. I have updated MicrosoftPowerBIMgmt on my laptop to 1.2.1077 (same as desktop). Unfortunately, this doesn't help.

image

Starting from the bottom: • login azure (desktop) • login powershell (laptop) • login in your app (laptop) - Why is it Gateway? • login in your app (desktop) - Here it is Powershell!

Error message in Azure: image

FrankFromGermany avatar Feb 25 '22 10:02 FrankFromGermany

Hi Frank, just to be sure, you can run the following PowerShell command on desktop and laptop without error, but when running my app it comes to an error on laptop, with reference to the gateway? Connect-PowerBIServiceAccount

MarcusWegener avatar Mar 01 '22 18:03 MarcusWegener

Hi Marcus,

that is exactly the case.

Both, my desktop and laptop have its own enterprise gateway on the respective machine. Both gateways are online (status). I call your app from a shared .pbix file. Only on the laptop I get the following error message when authenticating:

Request Id: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx [always different] Correlation Id: xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx [always different] Timestamp: 2022-03-02T10:04:55Z

Message: AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: 'xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx [Gateway-GUID]'.

Do you have any idea what's going on or why the gateway might be involved?

FrankFromGermany avatar Mar 02 '22 10:03 FrankFromGermany

Hi Frank,

I have no idea why the gateway is involved. Only the PowerShell script is executed, whose commands work for you in the manual execution.

MarcusWegener avatar Mar 02 '22 20:03 MarcusWegener