cancel
Showing results for 
Search instead for 
Did you mean: 
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
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors