The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi everyone,
I have a question about how Power Query in Excel will handle multi-factor authentication (MFA) after the upcoming enforcement date of September 15, 2025.
Currently, when I refresh data using Power Query in Excel and the data source requires MFA, I understand that I’ll be prompted to re-authenticate interactively. I’d like to know if there will be any improvements or changes to this process. Will Excel be updated to handle MFA in a more streamlined way for Power Query refreshes, or should we expect to approve MFA each time we refresh data manually?
I’m particularly interested in understanding if there will be any recommended best practices or new features to help with this scenario.
Many thanks for considering my request.
Hi @VJoicic
Nothing new changes in Excel Power Query because of Sept 15, 2025. MFA is enforced by Entra ID (Azure AD) policies, Excel keeps using refresh tokens and only prompts when policy or token expiry requires it not on every Refresh.
Key points
Use Organizational account (OAuth) for all connectors, avoid Basic/legacy auth.
Prompts appear when: token expires, Conditional Access sign-in frequency triggers, you change device/network, or cookies are cleared.
To reduce prompts, ask IT to tune CA: reasonable sign-in frequency, Persistent browser session, trusted locations, and (if used) compliant-device rules.
Unattended refresh isn’t supported in desktop Excel. For no-touch updates, move queries to Power BI/Fabric (Dataflow/semantic model) and use scheduled refresh with a service principal/managed identity.
Connector tips:
SharePoint/OneDrive/Dataverse/Dynamics >> stay on OAuth (Organizational account).
Azure SQL/Synapse >> use Entra ID (Azure AD) authentication, not SQL username/password.
Hi rohit1991,
Thanks for the detailed explanation — that clears up a lot.
So, if I understand correctly, the September 15, 2025 MFA enforcement doesn’t introduce any new prompt behaviour for Excel Power Query itself, because MFA challenges are handled by Entra ID policies and Excel is already using refresh tokens.
Prompts will still only appear when the token expires, Conditional Access sign-in frequency kicks in, or something like a device/network change or cookie clear happens.
I’ll discuss with our IT team about tuning Conditional Access to reduce prompts where possible — like longer sign-in frequency and trusted locations — so day-to-day manual refreshes in Excel stay smooth.
Hi @VJoicic ,
@rohit1991, explanation has made things clear, and your understanding is correct. The September 15, 2025 MFA enforcement will not affect how Excel Power Query works; prompts will still follow Entra ID policies and token expiry.
To keep refreshes smooth, it’s best to work with your IT team on Conditional Access settings. For unattended, automated refreshes without prompts, using Power BI or Fabric workflows is a good option.
Thank you for the clear explanation, @rohit1991 .
Let us know if you see any unexpected MFA prompts after the policy changes.
Regards,
Yugandhar.
Hi @V-yubandi-msft ,
Thanks for the time and explanation.
With the Conditional Access settings after September 15th, would it be possible that my account is excluded from MFA, and it is up the our internal policies, or MFA will be strictly enforced for O365 accounts?