If you have this error in Power BI, there is a simple solution that might solve it. Before trying this make sure you use the latest version of Power Bi, as accepted by your organization and your Power BI tenant administrator. It will also help if you reboot your computer. If any of these do not solve your problem, follow the steps below.
Step 1. Go to the File Menu – Options and Settings, and click on Data Source Settings
Step 2. Select the Data Source causing you the error and Click on Clear Permissions
Step 3. Go back to the File Menu – Options and Settings, and click on Options
Step 4. In the Security Tab, Find the Section “Authentication Browser” and check the setting “Use my default browser”
Step 5. Try connecting to your data source again.