A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi @Jane Appleby,
Based on your sharing, in Power Query, protected error means that Excel is blocking the query from accessing/refreshing the data source because of security/trust/credentials/policy.
So, to trace exactly which step and which security gate is causing it, you can try these steps:
- Open the workbook > Data tab > Click Queries & Connections
- In the pane, refresh the specific query (right‑click > Refresh) or Refresh All
- Note which query fails (and whether it fails only on the recipient’s machine)
- Right‑click the failing query > Edit > in Power Query Editor, look at Applied Steps
- The step that errors will show a yellow warning / red error indicator > Click that step > the preview will show an error > click “Details” (or something similar) to see the exact cause.
For further assistance, could you provide more detailed information about this situation? I appreciate your understanding and cooperation.
- Please share the full error message in the Details
- What is the data source type: SharePoint / Web / SQL / Folder / Excel workbook / ODBC?
- Does it fail for you or only for recipients?
- How did you share the file (email attachment or OneDrive/SharePoint link, etc.)?
Please understand that my initial response may not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.
Thank you for your understanding and cooperation. I look forward to hearing from you.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.