AnsweredAssumed Answered

Office 365 Connector failing when importing users

Question asked by mark.potts Employee on Jul 24, 2017
Latest reply on Oct 12, 2017 by mark.potts

I am having an issue with our Office 365 connector, I have managed to configure it OK, the test options works just fine.  however when I actualy run the import I am getting an error in the logs.  Looks like it gets through around 3000 accounts before it fails.

 

2017-07-24 15:37:37,836 [1] DEBUG SnowSoftware.ExternalDataProvider.Providers.Office365.O365Import [(null)] [(null)] - Retrieved #3000 of 16202
2017-07-24 15:37:39,133 [1] ERROR SnowSoftware.ExternalDataProvider.Aggregator [(null)] [(null)] - Unhandled exception occurred:
System.Management.Automation.IncompleteParseException: The string is missing the terminator: '.
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
   at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
   at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.Invoke[T]()
   at SnowSoftware.ExternalDataProvider.Providers.Office365.PsRunner.RunScript(String script, Boolean sessionNeeded)
   at SnowSoftware.ExternalDataProvider.Providers.Office365.PsRunner.GetLastExchangeActivity(String[] userPrincipalNames)
   at SnowSoftware.ExternalDataProvider.Providers.Office365.O365Import.AddExchangeOnlineActivitiesForUsers(List`1 userPrinciplenameCollection, ICollection`1 activitCollection)
   at SnowSoftware.ExternalDataProvider.Providers.Office365.O365Import.ImportUsers(Boolean includeExchangeOnline, Boolean includeSkypeActivity)
   at SnowSoftware.ExternalDataProvider.Providers.Office365.O365Import.StartImport(Boolean includeExchangeOnline, Boolean includeSkypeActivity)
   at SnowSoftware.ExternalDataProvider.Providers.Office365.Office365InventoryProvider.RetrieveClientsToProcess(DateTime fromDate)
   at SnowSoftware.ExternalDataProvider.Aggregator.Aggregate(Type type, String instanceName)

 

Does anyone have any idea what the issue is and how to resolve it?

Outcomes