cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
kmcquaid Frequent Visitor
Frequent Visitor

Problems connecting to Visual Studio Team services

I seem to not be alone in this issue but I cannot find the answer to my problem.

 

I am trying to connect PowerBI to Visual Studio Team Services. I use the same account for both and do not have any problems logging in to either application.

 

When in PowerBI I can follow the connection instructions up to the point where it tries to authourize the application. At this point I get the message: 'Failed to update source credentials'. 

 

I have tried the various suggestions such as using an incognito window but I cannot get any further.

1 ACCEPTED SOLUTION

Accepted Solutions
v-haibl-msft Super Contributor
Super Contributor

Re: Problems connecting to Visual Studio Team services

@kmcquaid

 

To use Power BI and VSTS together, I think you can register both of these two services with your work email account. It should work well once there is no personal email account related.

 

Best Regards,

Herbert

8 REPLIES 8
v-haibl-msft Super Contributor
Super Contributor

Re: Problems connecting to Visual Studio Team services

@kmcquaid

 

Please check that if you allow Third-party application access via OAuth in https://account.visualstudio.com/_admin/_home/settings. I just try to login PBI Service and get data from Visual Studio Team Services with same work account and everything works well.

Please also check the contents under Troubleshooting in this document.

 

Problems connecting to Visual Studio Team services_2.jpgProblems connecting to Visual Studio Team services_3.jpg

 

Best Regards,

Herbert

kmcquaid Frequent Visitor
Frequent Visitor

Re: Problems connecting to Visual Studio Team services

Thanks for the input but I have checked that third-party application access via OAuth is allowed. I have also read through the documentation you linked to. That basically says log in and it will work but it doesn't work and I can't see what else I can try.

 

I note that there are differences depending on which type of account is used. Are there any ways I can double check. I believe I am using a Microsoft Personal account for both logins ( I am certainly using the same account for both logins).

v-haibl-msft Super Contributor
Super Contributor

Re: Problems connecting to Visual Studio Team services

@kmcquaid

 

According to this document, we need to sign in with work or school account instead of your Microsoft personal account.

I used to get data from my Azure Data Lake, and published to Service. When I tried to edit the data source credentials in Service with my Microsoft personal account (***@live.cn) which was different from my Power BI Service account (***@company.com), I got the message “Failed to update data source credentials”.

 

Power BI also requires that you use a work, or school, email address to sign up. Power BI does not support email addresses provided by consumer email services or telecommunication providers. This includes outlook.com, hotmail.com, gmail.com and others.

 

Best Regards,

Herbert

kmcquaid Frequent Visitor
Frequent Visitor

Re: Problems connecting to Visual Studio Team services

It seems that somehow I have 2 accounts attached to the same email; one for personal and one for work. I guess that is where the problem lies.

 

I did try following the instructions on Microsoft to create a new address for the personal account but then I couldn't access anything with my work account and I ended up temporarily losing all access to VSTS. So I have put everything back the way it was and Iguess I just can't use PowerBI and VSTS together.

v-haibl-msft Super Contributor
Super Contributor

Re: Problems connecting to Visual Studio Team services

@kmcquaid

 

To use Power BI and VSTS together, I think you can register both of these two services with your work email account. It should work well once there is no personal email account related.

 

Best Regards,

Herbert

naomim Frequent Visitor
Frequent Visitor

Re: Problems connecting to Visual Studio Team services

I'm running into the same problem, and using my work login for both VSTS and PowerBI.  Error message is "We couldn't authenticate with the credentials provided." 

 

 

lferdinand Frequent Visitor
Frequent Visitor

Re: Problems connecting to Visual Studio Team services

Hello, 

I didn't see this issue answered anywhere.  Did you ever get this working?  I'm getting the exact same issue.

Claudette Occasional Visitor
Occasional Visitor

Re: Problems connecting to Visual Studio Team services

I cannot find where to solve this issue when trying to connect to VSTS using Power BI desktop. Please help.VSTSAuthError.JPG