cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Flexera beginner

O365 Inventory Gathering Failed

We recently connected to Office 365 using an Azure Registered App (as outlined in the FNMSInvAdaptersAndConnectorsReference guide (page 271)). 

However, there does not appear to be any data coming into the Flexnet Manager Suite. From what I can gather, this is being interrupted during the Import step, based on the logs below:

2020-02-19 22:00:50,692 [INFO ]       Failed to execute Reader 'Get Users from Office 365' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\microsoft 365\User.xml, at step line 1
Error: The remote server returned an error: (400) Bad Request.
2020-02-19 22:00:50,692 [INFO ]       All retries have been attempted for Reader 'Get Users from Office 365'
2020-02-19 22:00:50,692 [INFO ]       Completed with error in 1 second.
2020-02-19 22:00:50,692 [ERROR]     System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at ManageSoft.Compliance.Importer.Logic.PowerShellDataReader.CheckForPowerShellError()
   at ManageSoft.Compliance.Importer.Logic.PowerShellDataReader.Read()
   at ManageSoft.Compliance.Importer.Serialization.IntermediateWriter.WriteData(XmlWriter xmlWriter)
   at ManageSoft.Compliance.Importer.Serialization.IntermediateWriter.WriteData()
   at ManageSoft.Compliance.Importer.Logic.XML.SourceToTarget.ExecuteReader(IExecutionContext context, ISourceConnection sourceConn, IDataReader reader)
   at ManageSoft.Compliance.Importer.Logic.PublicObjectModel.SourceToImportedTableObject.ExecuteReader(IValidatingDataReader reader, SourceToObject STOObject)
   at ManageSoft.Compliance.Importer.Logic.PublicObjectModel.SourceToObjectImplementation.ExecuteImplementationSQL(IExecutionContext context, SourceToObject sourceToObject)
   at ManageSoft.Compliance.Importer.Logic.XML.Reader.Execute(IExecutionContext context)
   at ManageSoft.Compliance.Importer.Logic.ActionExecuter.ReaderExecuter.ExecuteSingleReader(Reader reader, Int32 procedureOrder, Version sourceDatabaseVersion)
   at ManageSoft.Compliance.Importer.Logic.ActionExecuter.ReaderExecuter.Execute()
   at ManageSoft.Compliance.Importer.Logic.ComplianceImporter.ProcessExecution(ComplianceReader p_ComplianceReader, Tenant p_Tenant, IExecutionContext p_Context)
2020-02-19 22:00:50,864 [INFO ]     Created intermediate package at C:\ProgramData\Flexera Software\Beacon\IntermediateData\I[T=24K9FTSESVP9PW2E][S=Office 365 Connection]_20200220030050.zip

 Does anyone know where the error lies here? 

Thanks

 

0 Kudos
2 Replies
Highlighted
Flexera
Flexera

Re: O365 Inventory Gathering Failed

Hi there,

Do you know if you are running an FNMS 2019 R2 or FNMS 2019 R2.1 beacon? We had some instances of such errors, where upgrading to the latest beacon helped address the error. Hence, it may be worth trying out this approach.

I hope this helps.

Thanks!

0 Kudos
Highlighted
Flexera beginner

Re: O365 Inventory Gathering Failed

Hi Alpesh,

We're running FNMS 2019 R2. However, I would like to do some more troubleshooting before resorting to upgrading the Beacon.

I'll update this thread once we find a fix.

Thanks,.

0 Kudos