Graph Api ile MFA Duvarını Aşmak

📰 Medium · DevOps

Learn how to bypass MFA walls using Graph API for test automation, improving pipeline reliability and reducing flaky fails

intermediate Published 19 Apr 2026
Action Steps
  1. Use Graph API to automate email verification and MFA flows
  2. Implement API-based testing instead of UI-based testing with tools like Playwright
  3. Configure Microsoft Graph API to interact with Outlook and Authenticator applications
  4. Test and debug API-based test automation to reduce flaky fails and improve pipeline reliability
  5. Apply this approach to other test automation scenarios to improve overall efficiency
Who Needs to Know This

DevOps and software engineering teams can benefit from this approach to improve test automation and reduce debugging time

Key Insight

💡 Using Graph API for test automation can significantly improve pipeline reliability and reduce debugging time by bypassing MFA walls

Share This
🚀 Bypass MFA walls with Graph API for test automation! 💻 Improve pipeline reliability and reduce flaky fails #DevOps #TestAutomation

Key Takeaways

Learn how to bypass MFA walls using Graph API for test automation, improving pipeline reliability and reducing flaky fails

Full Article

Title: Graph Api ile MFA Duvarını Aşmak

URL Source: https://medium.com/@suat_oruc/graph-api-ile-mfa-duvar%C4%B1n%C4%B1-a%C5%9Fmak-9c7cf1404f87?source=rss------devops-5

Published Time: 2026-04-19T21:44:13Z

Markdown Content:
# Graph Api ile MFA Duvarını Aşmak. Test otomasyonunda yazılı olmayan bir… | by Suat Oruç | Apr, 2026 | Medium

[Sitemap](https://medium.com/sitemap/sitemap.xml)

[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40suat_oruc%2Fgraph-api-ile-mfa-duvar%25C4%25B1n%25C4%25B1-a%25C5%259Fmak-9c7cf1404f87&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)

Get app

[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)

[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)

Sign up

[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40suat_oruc%2Fgraph-api-ile-mfa-duvar%25C4%25B1n%25C4%25B1-a%25C5%259Fmak-9c7cf1404f87&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

![Image 1](https://miro.medium.com/v2/resize:fill:64:64/1*dmbNkD5D-u45r44go_cf0g.png)

# Graph Api ile MFA Duvarını Aşmak

[![Image 2: Suat Oruç](https://miro.medium.com/v2/resize:fill:64:64/1*C1Swgnicl-JSLTQ9sJOyJg.jpeg)](https://medium.com/@suat_oruc?source=post_page---byline--9c7cf1404f87---------------------------------------)

[Suat Oruç](https://medium.com/@suat_oruc?source=post_page---byline--9c7cf1404f87---------------------------------------)

11 min read

·

Just now

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2F9c7cf1404f87&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40suat_oruc%2Fgraph-api-ile-mfa-duvar%25C4%25B1n%25C4%25B1-a%25C5%259Fmak-9c7cf1404f87&user=Suat+Oru%C3%A7&userId=f12296891291&source=---header_actions--9c7cf1404f87---------------------clap_footer------------------)

--

[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2F9c7cf1404f87&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40suat_oruc%2Fgraph-api-ile-mfa-duvar%25C4%25B1n%25C4%25B1-a%25C5%259Fmak-9c7cf1404f87&source=---header_actions--9c7cf1404f87---------------------bookmark_footer------------------)

Share

![Image 3](https://medium.com/@suat_oruc/graph-api-ile-mfa-duvar%C4%B1n%C4%B1-a%C5%9Fmak-9c7cf1404f87?source=rss------devops-5)

Test otomasyonunda yazılı olmayan bir kural vardır: “Son kullanıcı sistemi nasıl kullanıyorsa, testin de öyle davranmalıdır.” Bu kural uygulamalarımızın kendi arayüzlerinde harika çalışır. Ancak iş, uygulamalarımızın dışına çıkıp bir e-posta kutusuna girmeye veya Authenticator uygulamasından kod okumaya geldiğinde, bu “aşırı gerçekçilik” takıntısı pipeline’larımızı zehirleyici bir etki yapar.

Kısa süre önce büyük bir projede e-posta doğrulama ve MFA akışlarını otomatize etmem gerektiğinde tam olarak ben de bu tuzağa düştüm. İlk içgüdüm Playwright ile yeni bir sekme açıp, Outlook web arayüzüne login olmak ve maili UI üzerinden okumaktı. Testlerin otomasyon kodlarını yazıp execute etmeye başladık bir süre işler yolunda gitti ama ilk regression’da fail almaya başladık ve sonrasında karşımızdaki tablo şuydu: CI pipeline’ımız %30 flaky fail veriyordu, MFA ekranı testleri bloke ediyordu, debug süresi test yazmaktan uzun sürmeye başlamıştı. Bir sabah bakım yapılmayan 47 kırık selector’la karşılaştım.

**O günden sonra bu işi API katmanında çözüyorum.**

Bu yazı, Playwright projelerinde Microsoft Graph
Read full article → ← Back to Reads

Related Videos

AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AI Daily
Containers on Amazon ECS with Mama J
Containers on Amazon ECS with Mama J
AWS Developers
How to Open QTR Files (QuickTime Movie)
How to Open QTR Files (QuickTime Movie)
File Extension Geeks
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Improving DevOps Security and Efficiency at Cathay with AWS ProServe | Amazon Web Services
Amazon Web Services
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubernetes Observability 101: Metrics, Logs, Dashboards, and Traces
Kubesimplify
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Do Azure and AWS Have Too Much Power? The EU’s Answer: Maybe So. #cloud #aws #azure
Digital Transformation with Eric Kimberling