When running a read that is reading a cloud environment the workflow cancels and within the logs you see the following error
CDS.Library.AbandonedException: Could not find any available CDS PowerShell users in elapsed:00:10:02.8253406
at CDS.AzureLibrary.CDSPowerShellPool.GetPowerShell(Boolean useTeams, Boolean useAzureAd, Boolean importExchange)
at CDS.AzureLibrary.AzureAD.<GetChangedIds>d__36.MoveNext()
at CDS.Model.Office365.<GetDeltaObjectsByType>d__72.MoveNext()
at CDS.Model.Office365.<GetDeltaObjects>d__68.MoveNext()
at CDS.Model.PushJob.Run(IWebServiceFactory webServiceFactory, CancellationToken cancellationToken)
at CDS.Model.Job.Execute(IWebServiceFactory webServiceFactory, CancellationToken cancellationToken)
at CDS.Model.Agent.ExecuteJobs(CancellationToken cancellationToken)
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Check that there is no MFA on the PowerShell account
NOTE: Make sure to the check the 'Non-Interactive' sign-in logs under Azure AD for the 'BinaryTree' account.
Check that there are no CFA preventing the PowerShell account accessing the tenant
Check the legacy authentication is not blocked for the PowerShell account.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center