Export2Dataflow
Export2Dataflow copied to clipboard
Authentication Error
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.
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
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.
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:
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
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?
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.