Forum Discussion

GarethParry's avatar
GarethParry
Icon for Helper I rankHelper I
1 year ago
Solved

Power Query in Excel issue

Hi,   We used to use the legacy microsoft query option in excel to pull data into a spreadsheet. we would then share this spreadsheet with colleagues who could also refrssh the data.   As MS are ...
  • Ilgar_Zarbali's avatar
    1 year ago

    In Power Query, credentials are stored "per user" and "not embedded" in the Excel file for security reasons. That’s why others are prompted to log in when refreshing the data.

    To work around this securely:

    1. "Use a gateway + Power BI service" if you're open to sharing via Power BI – it allows central credential management.
    2. Or, consider using a "shared Windows-authenticated SQL account" if your SQL Server allows it.
    3. Embedding SQL credentials in Excel is not supported for security reasons.

    Unfortunately, Power Query is designed to avoid sharing credentials directly for compliance and safety.