Loading...

Automating M365 login with MFA in Playwright tests

Automating M365 login with MFA in Playwright tests
I have been using Playwright to automate my tests for a long time, but one thing I struggled with was automating the login flow for Microsoft 365 with a multi-factor authentication (MFA) account. When using an MFA-enabled account, you must provide an additional manual step to complete the login process.

Published on:

Learn more
Elio Struyf - Office Development MVP
Elio Struyf - Office Development MVP

Microsoft 365 / SharePoint / Search / Development / Branding / Speaker / Blogger

Share post:

Related posts

Microsoft Viva: Viva Glint – Zero downtime for Viva Glint releases

Viva Glint releases previously needed several hours of downtime. With this feature, future releases will be transparent to customers, requirin...

2 days ago

Microsoft 365 app: Microsoft Loop – Add a Loop Workspace to your Teams Channel

Channels in Microsoft Teams streamline collaboration by bringing people, content, and apps together and helping to organize them by project or...

2 days ago

Microsoft Copilot (Microsoft 365): Clipchamp Copilot video creator

Create a video draft on any topic by providing a prompt. Clipchamp will create a video using stock video and music with an AI-generated voiceo...

2 days ago

New deployments of Microsoft 365 desktop client apps to include new Outlook

Microsoft 365 desktop client apps’ new deployments will now include new Outlook. Rollout starts late February 2025, with completion by e...

2 days ago

Microsoft 365 (Office) apps: The “Tags” feature will retire

The “Tags” feature in Microsoft 365 apps will be retired between January 6 and January 10, 2025. Users can use the “Favorite...

2 days ago

Microsoft 365 admin center: Enhancements to Copilot administration page

The Microsoft 365 admin center’s Copilot page will be updated with an enhanced Overview section and a new Health section. Rollout starts...

2 days ago

The Confusing Renaming of Microsoft 365 Copilot

Microsoft loves branding exercise. At least, that can be the only reason why the Microsoft 365 Copilot rename is happening. I can think of no ...

2 days ago

Power Platform & M365 Dev Community Call – December 19th, 2024 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

2 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy