We have on-premises gateway installed on an Azure VM. Somehow we can't SSO in the gateway with the following error. However PBI SSO on the same VM worked fine.
Failed to sign in. Please verify your credentials and try again.
The browser based authentication dialog failed to complete. Reason: The requested resource requires user authentication.
at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.RunAsyncTask[T](Task`1 task)
at Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.AuthenticationManager.AuthenticateWithSelectedUser(String authorityAddress, String resource, String clientId, String redirectAddress)
The email registration took me to the usual ABB domain login as expected: