Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing the Microsoft login dialog when connecting to AAS #1322

Closed
MartinNordestgaard opened this issue Jun 18, 2024 · 7 comments
Closed

Missing the Microsoft login dialog when connecting to AAS #1322

MartinNordestgaard opened this issue Jun 18, 2024 · 7 comments
Assignees
Labels
issue: bug Confirmed as a bug in TE3

Comments

@MartinNordestgaard
Copy link

Description

Before upgrading to 3.16 (persists in 3.16.1) I used to get a login dialog/promt/MFA for Azure/Microsoft account, where I could select the user, that I would use to login to the model. This does not show anymore after the upgrade.

I have two MS accounts which I use. One for Dev-systems (as a admin) and one "admin" for test and production environments, which I'am not longer promted to use/select.
Due to the fact, that my dev account does not have admin rights on test- and production environments I get an error (see picture).

Is this a bug?

Tabular Editor 3 Version

3.16/3.16.1

Screenshots

image

Steps to Reproduce

  1. Open Model from DB
  2. No dialog/promt box anymore
  3. Automatically loggin in with my current user (linked to my "normal" MS account/PC)

Expected behavior

Get login dialog where I can selected the right account for the seleced environment

Crash Report

No response

Windows Version

Windows 10 EE

@MartinNordestgaard MartinNordestgaard added the template: issue Issue report created by user, needs to be triaged label Jun 18, 2024
@otykier
Copy link
Collaborator

otykier commented Jun 18, 2024

Hi @MartinNordestgaard

Can you confirm that the error is not present if you roll back to 3.15.0 (or whichever version you had before upgrading to 3.16.0)?
I recommend downloading the portable version to test this: https://docs.tabulareditor.com/te3/other/release-notes/3_15_0.html?tabs=downloads

Thank you!

@MartinNordestgaard
Copy link
Author

Hi @otykier. It works if I reinstall 3.15.0

@otykier
Copy link
Collaborator

otykier commented Jun 18, 2024

Thanks for confirming.

We upgraded AMO/TOM to v. 19.80.0 in TE 3.16.0, and unfortunately we have been riddled with a lot of issues since :(
We're considering creating another hotfix (TE 3.16.2), which will go back to using AMO/TOM v. 19.79.1.1 for the time being.

@otykier
Copy link
Collaborator

otykier commented Jun 18, 2024

Hi @MartinNordestgaard

We have a new build ready where we've rolled back AMO/TOM to 19.79.1.1. This is the same version that we used in TE 3.15.0.

Could you give this new build a shot and see if this fixes the issue for you? Thanks!

Download options:

(Release notes identical to 3.16.1 with the addition that AMO/TOM has been downgraded to 19.79.1.1)

@MartinNordestgaard
Copy link
Author

@otykier works perfect! Thank you guys!

@mlonsk mlonsk added issue: bug Confirmed as a bug in TE3 and removed template: issue Issue report created by user, needs to be triaged labels Jun 19, 2024
@mlonsk mlonsk self-assigned this Jun 19, 2024
@mlonsk
Copy link
Collaborator

mlonsk commented Jun 19, 2024

Thank you for testing @MartinNordestgaard, it is much appreciated"

We have just released 3.16.2, and I am closing this issue.

@otykier
Copy link
Collaborator

otykier commented Aug 21, 2024

Just an update on this. It seems that this behavior is here to stay in newer versions of the AMO/TOM client libraries, meaning that future versions of TE3 will not show the MFA popup, in some situations when an AAD/Entra ID account is already tied to Windows. However, the good news is that there is an easy way to force the MFA dialog to appear, in case you want to sign in using a different account.

In the connect dialog, either set Authentication to Username and password and specify the e-mail address of the account you with to use when connecting:

image

alternatively, specify a connection string that includes User ID=<email> in the Server property:

image

For connections to AAS or Power BI / Fabric XMLA endpoints, the following is sufficient:

Data Source=<servername>;User ID=<email>

We'll make sure to document this once we release a new version of TE3 that includes the updated AMO/TOM client libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

3 participants