Forum Discussion
Zoom logs into Sentinel
it looks like you're encountering a PowerShell error related to the command Connect-ArAccount.
Cause
This error typically means:
- PowerShell found the Connect-ArAccount command.
- But it couldn't load the Az.Accounts module, likely due to:
- Corrupt installation
- Missing dependencies
- Using the wrong version of PowerShell
- Not having Az module installed correctly
Try below Steps
1.Open PowerShell as Administrator
Right-click PowerShell → Run as Administrator
2.Ensure PowerShellGet and NuGet Are Updated
Install-PackageProvider -Name NuGet -Force -Scope CurrentUser
Update-Module -Name PowerShellGet
3.Uninstall and Reinstall the Az.Accounts Module
Uninstall-Module Az.Accounts -AllVersions -Force
Install-Module Az.Accounts -Force -AllowClobber
If you're using the full Az module:
Uninstall-Module Az -AllVersions -Force
Install-Module Az -Force -AllowClobber
4.Import the Module Manually and Retry
Import-Module Az.Accounts
Connect-AzAccount
If using Connect-ArAccount was a typo or a custom alias, use the correct command:
Connect-AzAccount
Tips:
- Connect-ArAccount is not a standard PowerShell or Azure command — were you trying to use Connect-AzAccount?
- If it's a custom function or alias, make sure the script/module that defines it is correctly sourced.