Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pragyamishra
Helper II
Helper II

data gateway

Hi All,

 

I am trying to add a Data Source to my gateway but I am getting an error that says the username needs to have a domain. 

Please find the screenshot attached.Data Gatewar Error.png

 

Does this mean I need to join a domain to be able to  use the Power BI Web Service?

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi pragyamishra,

 

Based on your description, your windows account are not included in a domain, right?

Please check which data source are you trying to configure in power bi service. The entered credential depends on the authentication used by data source.

If you are trying to connect to SSAS.

  1. If Data Gateway and SSAS instance are in different server, the username should be a domain account.
  2. If Data Gateway and SSAS instance are in same server, the username needn’t to be a domain account.

If you aren’t connecting to SSAS, in most of time, the username here needn’t to be a domain account. It can also be a local account. However, you can’t only enter your account name as the username because format of username should be like servername\user.

To achieve the correct format of username, please refer to steps below:

  1. Click WIN+R, enter cmd and open it.
  2. Input whoami in cmd to get username.

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi pragyamishra,

 

Based on your description, your windows account are not included in a domain, right?

Please check which data source are you trying to configure in power bi service. The entered credential depends on the authentication used by data source.

If you are trying to connect to SSAS.

  1. If Data Gateway and SSAS instance are in different server, the username should be a domain account.
  2. If Data Gateway and SSAS instance are in same server, the username needn’t to be a domain account.

If you aren’t connecting to SSAS, in most of time, the username here needn’t to be a domain account. It can also be a local account. However, you can’t only enter your account name as the username because format of username should be like servername\user.

To achieve the correct format of username, please refer to steps below:

  1. Click WIN+R, enter cmd and open it.
  2. Input whoami in cmd to get username.

 

Regards,

Jimmy Tao

Worked for me as well 🙂

Thanks a lot for your response.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors