Hi Pradeep Vaishya,
Based on the information you posted the image with, I think this is due to a network issue or a configuration issue, I suggest you follow the steps below to check the cause of the issue:
- Make sure your PowerShell environment is updated to the latest version.
- Ensure that you are using an Exchange Online PowerShell module that supports MFA, such as using the
Connect-ExchangeOnline
command. - Check your network connection to ensure that there are no firewalls or network policies blocking the connection.
- Try clearing old PowerShell sessions or restarting PowerShell.
- Check your authentication policy and permissions to ensure that your account is authorized to perform these actions.
- If the problem persists, try connecting using the
-Verbose
parameter in PowerShell, which may provide additional error messages.