0

I have a database table created in Azure SQL Server. From SSMS, I use "Azure Active Directory - Universal with MFA" authentication to connect.

Universal with MFA

I've been informed that the server is configured with disabled public network access, so we

  1. Had the Power BI gateway vm "whitelisted" on the Azure SQL server
  2. In the dataflow, we use the gateway to connect.
  3. Created a database user account for the dataflow connection.

However, we still get "invalid" credential error. Do I miss anything? Thank you for the help.

5
  • Did you set the user as active directory admin in SQL server ? Commented Jun 28, 2023 at 17:18
  • @Bhavani The database user account is "test". You mean setting "test" user as active directory admin in Azure Portal? No, we didn't. Commented Jun 28, 2023 at 21:18
  • Are you having issue with PowerBI or SSMS ? Could you please add some more information? Commented Jun 29, 2023 at 7:39
  • @Bhavani No, I don't have issue in Power BI desktop or SSMS. The connection credential issue only occurs in creating a dataflow. Commented Jun 29, 2023 at 11:46
  • Did you check credentials which you are provided are correct? Commented Jun 30, 2023 at 13:54

1 Answer 1

0

I created User “test” in my database db from created login using below code:

CREATE USER [test] FOR LOGIN [testLogin];

I tried to create dataflow with Azure SQL server I got the same error:

enter image description here

Even though I have given correct credentials I am getting above error. In my case issue is with my database name when connecting to database I have given"[db]" as database name instead of “db” I resolved the issue by giving proper name of the database.

enter image description here

It connected successfully without any error:

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.