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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
abmate
Employee
Employee

OAuth2 credentials become invalid after successful update (Data Source Settings)

Hi, folks!

Credentials for one of the Data Sources that connects to Kusto become invalid after about an hour or so showing this message:

abmate_0-1646947695940.png

 

Then, I go ahead to Authentication Method, click on "Edit Credentials", select OAuth2 again, click on "Sign in", select my account from the pop up window, and then hit "Apply". After that, the Data Source Settings show connection successful.  My reports refresh correctly either on demand or scheduled.

abmate_2-1646947907212.png

However, after some time, reports start failing to refresh again because the credentials are no longer valid in which case, I have to repeat the above steps again. This started to happen on March 7th, where all of our reports that depend on this data source started to fail during scheduled refresh. 

 

Why my credentials become invalid?  Any help is greatly appreciated.

Abe.

 

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @abmate 

 

What I find when using Kusto is to rather use the other authentication methods with keys.


It appears that the accounts token is expiring every hour.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks, @GilbertQ !

 

Unfortunatelly, given my organization security policies it seems I cannot use the other authentication methods (i.e. Basic or Windows fail to connect for me). OAuth2 goes through two factor authentication first and that seems to work until credentials become invalid again 😞 

 

This used to work fine until a few days ago. 😞

Hi @abmate 

 

I would chat to your network/2FA admin to see if they have made any changes to your account that could be causing this issue?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Thanks, Gilbert!

 

So, while I was ready to figure out who my network Admin was, the issue went away. So I have no idea what went wrong and how it got fixed. It lasted 3 days.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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