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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Memorable Member
Memorable Member

@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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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 Solution Authors