Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm currently having problems connecting to a sharepoint site using the Sharepoint.Contents command and ApiVersion 14.
PowerBI doesn't return any folders or files to connect to, although there are folders in the site and files in these folders.
The query window is simply empty.
Can anyone help me with this?
Best regards,
Martin
Hi @Anonymous
I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.
If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
I doubt it. If the credentials are wrong, you probably would get an error. But do you have access to the doc library with your credentials?
Yes, when I access via a browser, I can see and access the necessary folders and files
It's hard to say given you have blacked out the URL in the image. You could try clearing the credentials in Power Query. If they are right and the URL is right, I can't see any reason why it won't work.
You need to connect to the root site first. Something like
mydomain.SharePoint.com/sites/mysite/
Hi Matt,
I already connected to the root-site in the code, but it only returns an empty table.
Could the problem perhaps be due to missing credentials in sharepoint?
Br,
Martin
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |