A new Flexera Community experience is coming on November 25th. Click here for more information.
This article is useful for resolving errors seen during the 'usage' step of the O365 import
We have configured the O365 adapter, but when we try and run an import we see a failure related to the 'Usage' step. What is wrong with our set up?
This issue is related to the 'Usage.xml' step of our O365 adapter. This is a known issue caused by throttling on Microsoft's servers.
After discussing this with Microsoft's engineering team, our engineering team learned that the "LastLoginDate" for Exchange and Skype are not actually the last logon dates but rather they are the last sync dates with AD. This amounts to the last time a password was reset.
Currently, there is no way to get the usage data using Powershell, however, our engineering team is working on developing this so that the adapter can collect usage info.
This issue was fixed with a new Microsoft 365 connector, released in FNMS 2019 R1.
Due to the returned 'usage' not being usage but instead, a last login date - the Usage.xml part of the reader can be safely disabled as it doesn't add any value to the imports at present.
Customers seeing this issue can try resolving it by using the following workaround.
Rename the Microsoft Office 365 to Cloud Microsoft Office 365
\---ObjectAdapters | Importer.xml \---Reader | \---Cloud Microsoft Office 365 InstallerEvidence.xml License.xml Logic.ps1 readerV2.config Usage.xml User.xml
<Readers> <Reader FileName="User.xml" ProcedureName="Computer" /> <Reader FileName="InstallerEvidence.xml" ProcedureName="Evidence" /> <Reader FileName="License.xml" ProcedureName="LicenseCreateUpdate" /> <Reader FileName="Usage.xml" ProcedureName="Usage" /> </Readers>
<Readers> <Reader FileName="User.xml" ProcedureName="Computer" /> <Reader FileName="InstallerEvidence.xml" ProcedureName="Evidence" /> <Reader FileName="License.xml" ProcedureName="LicenseCreateUpdate" /> </Readers>
This must be performed at a top level, from the Batch Server to prevent the reader from being reverted by the parent connection.
<Readers> <Reader FileName="User.xml" ProcedureName="Computer" /> <Reader FileName="InstallerEvidence.xml" ProcedureName="Evidence" /> <Reader FileName="License.xml" ProcedureName="LicenseCreateUpdate" /> <Reader FileName="Usage.xml" ProcedureName="Usage" /> </Readers>
<Readers> <Reader FileName="User.xml" ProcedureName="Computer" /> <Reader FileName="InstallerEvidence.xml" ProcedureName="Evidence" /> <Reader FileName="License.xml" ProcedureName="LicenseCreateUpdate" /> </Readers>
on Dec 12, 2018 05:01 PM - edited on Feb 07, 2020 11:31 AM by Flex-Jeremy
Thanks for this article, this is super useful and opens the door to performing minor fixes and customizations for Cloud customers!
Nicolas