Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all
I am trying to set up a PowerBi report to automatically refresh. I think I have worked out that it is not working because of credentials. However, when I try to save the credentials, literally nothing happens. I click on 'save' and it looks like the system registers the click but then nothing happens and when I click 'close' it asks me if I want to discard changes.
Pic below. Any ideas?
(I am extremely new to PBI so will need things explained very simply please).
Solved! Go to Solution.
Open the Excel file in OneDrive for Business in the browser.
Click "..." - Details to view the document location.
Copy the full SharePoint URL up to the site root.
Example: https://yourorg.sharepoint.com/sites/YourTeamSite
In Power BI Desktop, go to Home →
Get Data →
More →
SharePoint Folder.
Enter the root SharePoint URL (like above).
When prompted for credentials:
Choose Organizational account (OAuth2).
Sign in with your work credentials.
Power BI will return all files in the site. Filter by your file name to select your Excel file.
Transform the data using Power Query as needed.
Save and publish the report to Power BI Service.
Go to Power BI Service → Workspace → Dataset Settings.
Under Data source credentials, choose OAuth2 / Organizational account and sign in.
Click Save - it should now work properly since SharePoint Folder supports this flow.
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it
Best Regards,
Sreeteja.
Community Support Team
The Excel connector often restricts auth options. The Web connector supports OAuth2 and is more flexible with OneDrive/SharePoint Online files.
?e=... with ?download=1 or use the OneDrive "Embed" option to extract a direct download URL.
Example-
https://onedrive.live.com/download?resid=FILEID&authkey=AUTHKEY
Step 3: Clean Old Data Source Permissions
Use SharePoint URL instead of OneDrive URL if you’re using OneDrive for Business:
OneDrive for Business files are stored in SharePoint. Use the SharePoint site URL and folder path to connect via SharePoint Folder connector or Web connector.
Update Power BI Desktop to the latest version to ensure all authentication features are available.
Check with your IT admin if tenant policies restrict authentication flows.
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it
Best Regards,
Sreeteja.
Community Support Team
Hi
Thanks for your response. Unfortunately its still not working.
When I copy the link I can grant access but only to people in my organisation. I can't grant access to anyone who has the link. Could this be the issue?
I also can't find the onedrive embed option in my work onedrive online - I can see it on my personal onedrive files.
Open the Excel file in OneDrive for Business in the browser.
Click "..." - Details to view the document location.
Copy the full SharePoint URL up to the site root.
Example: https://yourorg.sharepoint.com/sites/YourTeamSite
In Power BI Desktop, go to Home →
Get Data →
More →
SharePoint Folder.
Enter the root SharePoint URL (like above).
When prompted for credentials:
Choose Organizational account (OAuth2).
Sign in with your work credentials.
Power BI will return all files in the site. Filter by your file name to select your Excel file.
Transform the data using Power Query as needed.
Save and publish the report to Power BI Service.
Go to Power BI Service → Workspace → Dataset Settings.
Under Data source credentials, choose OAuth2 / Organizational account and sign in.
Click Save - it should now work properly since SharePoint Folder supports this flow.
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it
Best Regards,
Sreeteja.
Community Support Team
Thank you!!
For others - i had /:x/r/ in the site root URL - no idea why. I just deleted them so that the root site reflected the format of the example provided and it appeared to work up until loading to the desktop version where the connection broke down (so the connection was working in power query but then the data wouldnt load in Power Bi desktop view).
After some googling, turning off Internet Protocol Version 6 (TCP/IPv6) in the wifi settings seemed to fix the issue and I now have the connection and can set up an automatic refresh in Power Bi Service.
Hi @Alex0106 ,
Just wanted to check if you had the opportunity to review the suggestion provided?
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @Alex0106 ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and Accept it as the solutionand give a 'Kudos'. This will be helpful for other community members who have similar problems to solve it faster.
Hi @Alex0106 ,
Can you try changing the authentication method to OAuth2. This should allow you to login with your credentials.
If this helped, please mark it as the solution so others can benefit too. And if you found it useful, kudos are always appreciated.
Thanks,
Samson
Hi Samson
Unfortunately I have no other options for the Authentication method other than the one selected.
Thanks
Alex
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
48 | |
31 | |
27 | |
27 | |
26 |
User | Count |
---|---|
61 | |
56 | |
35 | |
31 | |
28 |