# Automating MSAL login

**URL:** <https://discuss.appium.io/t/automating-msal-login/45927>\
**Category:** Support\
**Created:** [August 6, 2025, 10:43am UTC](https://discuss.appium.io/t/automating-msal-login/45927 "2025-08-06T10:43:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinayak\_amera](https://discuss.appium.io/user_avatar/discuss.appium.io/vinayak_amera/32/14269_2.png) [@vinayak\_amera](https://discuss.appium.io/u/vinayak_amera)\
**Post date:** [August 6, 2025, 10:43am UTC](https://discuss.appium.io/t/automating-msal-login/45927/1 "2025-08-06T10:43:19Z")

</div>

Hello, I am trying to automate Microsoft MFA login using appium for a desktop app and it cannot find the element.

Scenario is application is launched and then it opens a Microsoft login and I want to put in user id and password and click next, but appium is unable to find any element on this new Microsoft login.

Errors are like below : {“status”:7,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters.”}}

Thanks
