Hi @Azure Test
If you've enabled Multi-Factor Authentication (MFA) for the account, it cannot run in the background and requires interactive login. If you're trying to use this account in a non-interactive context (e.g., a service account), consider creating a separate account without MFA enabled for such scenarios.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.