Just last week while returning to work on a Power BI report I get this message when trying to refresh the data:
What the heck? In Data Source Settings everything looked fine. My report used a couple of OneDrive connections that looked OK, for example:
After a while of double-checking folder locations, file names, permissions, etc., I thought I would just try removing and reentering the credentials in the dialog above and voilà, problem solved.