Does the Enterprise service account need to be a Global Administrator account in order to discover One Drive resources? I am receiving a "Please ensure your credentials are valid" for One Drive discovery. I see the below commands need to be executed on the discovery node:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Import-Module -Name Microsoft.Online.SharePoint.PowerShell
Connect-SPOService -Url "https://<tenant>-admin.sharepoint.com"
Set-SPOTenant -LegacyAuthProtocolsEnabled $True
Do I need to execute with the service account?
What are the requrements for the One Drive discovery account?