Can't use powershell to connect to Azure AD with a Google authentication account

Bruce Wang 0 Reputation points
2024-06-17T07:59:12.73+00:00

Hi there,

I'm trying to connect my Powershell to Azure AD. After inputting connect-azuread and inputting my account in the pop-up browser, there will be an error message from Google at last. I tried to use the credential from a successful command connect-azaccount but it's still the same.User's image

Could anyone please help to check about this? Any help will be appreciated!

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,990 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,257 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. akinbade abiola 6,575 Reputation points
    2024-06-17T08:10:25.6966667+00:00

    Hello Bruce Wang,

    Thanks for your question.

    The error message indicates an issue with JavaScript on the browser.

    I will recommend trying a different browser, place edge or chrome as default browser maybe?

    Please let me know if you have further questions**

    You can mark it 'Accept Answer' if this helped you