Hi
Hi
I tried to use **"Connect-SPOService" in my Runbooks and it worked fine, but from 2 days ago it started failing.
Connect-SPOService -Url "https://xxxx-admin.sharepoint.com/" -Credential $ serviceAccountCred
It works fine when I try it in Windows Powershell.
I have installed:
Microsoft.Online.SharePoint.PowerShell 16.0.22315.12000
and MFA is disabled and my account is Global admin.
It does not fail when I use Connect-PnPOnline and Connect-AzureAD.




