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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
stb628
New Member

Power Query Unexpected Error

Beginning with Windows Update 8/16/25, all of my data queries do not function.  They now give splash screen "Unexpected Error" with detail showing 'access denied'.  This is true for api requests as well as local json files.  Also, Windows refuses to restore backwards before the update (screenshot).  Telephone and screen share rep could not resolve.  Thank you for any assistance.

 

stb628_0-1755871716980.png

 

Thank you.  

STB628

stb3883@gmail.com

media_for_seniors@outlook.com

 

1 ACCEPTED SOLUTION
Shahid12523
Community Champion
Community Champion

Root Cause: Windows Update (8/16/25) likely changed security settings, blocking Power Query from accessing APIs and local files.


Quick Fixes:


- Run Power BI/Excel as Administrator
- Disable Controlled Folder Access in Windows Defender
- Check file/folder permissions
- Try a Clean Boot to rule out third-party interference


System Restore Blocked: Use DISM /RestoreHealth and sfc /scannow to repair system files.
Want a PowerShell script to check all this in one go? I’ve got you.

Shahed Shaikh

View solution in original post

8 REPLIES 8
V-yubandi-msft
Community Support
Community Support

Hi @stb628 ,

Has your issue been resolved, or are you still having any difficulties? If you need more information or help, please let us know. 

 

Thanks

V-yubandi-msft
Community Support
Community Support

Hi @stb628 ,

I wanted to check in regarding your issue. Has it been resolved, or do you need any further information. Let me know if you’d like more details.

 

Thanks.

V-yubandi-msft
Community Support
Community Support

Hi @stb628 ,
Could you let us know if your issue has been resolved or if you are still experiencing difficulties? Your feedback is valuable to the community and can help others facing similar problems.

Shahid12523
Community Champion
Community Champion

Root Cause: Windows Update (8/16/25) likely changed security settings, blocking Power Query from accessing APIs and local files.


Quick Fixes:


- Run Power BI/Excel as Administrator
- Disable Controlled Folder Access in Windows Defender
- Check file/folder permissions
- Try a Clean Boot to rule out third-party interference


System Restore Blocked: Use DISM /RestoreHealth and sfc /scannow to repair system files.
Want a PowerShell script to check all this in one go? I’ve got you.

Shahed Shaikh
V-yubandi-msft
Community Support
Community Support

Hi @stb628 ,

Thanks for reaching out to the Fabric Community.

The failed System Restore suggests restricted access to protected system directories. A few things you can try

  1. Right click the app or script and choose Run as administrator to bypass new restrictions.

  2. Right click the .Json file- Properties. If you see an Unblock checkbox, tick it and click Apply.

  3. Create a new local admin user and try your queries there. This can help rule out profile specific permission issues.

Regards,
Yugandhar.

GeraldGEmerick
Solution Supplier
Solution Supplier

@stb628 I've seen some other issues cropping up lately regarding similar access denied. Perhaps try adding the URLs into your Trusted Sites in Edge? 

Thanks GeraldGEmerick.  Worth a try, but the errors also occur when accessing local json files (no URL).

@stb628 That's really strange. Something must have gone wrong with that Windows update I guess?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors