The problem is that for Microsoft Login we are using the microsoft-authentication-library-for-android (GitHub - AzureAD/microsoft-authentication-library-for-android: Microsoft Authentication Library (MSAL) for Android) and we don’t have any access to the webview properties like making it debugabble or not.
I also opened the discussion on their side as well - Not able to inspect the UI elements from the Microsoft login webview · Issue #1476 · AzureAD/microsoft-authentication-library-for-android · GitHub