The Flexera Community is currently in maintenance mode to prepare for the upcoming launch of the new community. Click here for more information.

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

Synopsis

When the Microsoft 365 adapters runs more than an hour to collect the usage information, the import fails with an error like the following:

2021-05-26 12:52:16,933 [INFO ]   Reading 'Computer' data from 'M365'  (ver 1.0) data source
2021-05-26 12:52:16,933 [INFO ]     Get Users from Office 365 (Transfer data from source 'M365' to FNMP)
2021-05-26 14:07:19,041 [ERROR]       {"error":{"code":"InvalidAuthenticationToken","message":"Access token has expired or is not yet valid.","innerError":{"date":"2021-05-26T21:07:18","request-id":"682120ac-694c-4b84-9dd9-9a8fd5dbc975","client-request-id":"682120ac-694c-4b84-9dd9-9a8fd5dbc975"}}}
2021-05-26 14:07:19,057 [ERROR]       The remote server returned an error: (401) Unauthorized.
2021-05-26 14:07:20,030 [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: {"error":{"code":"InvalidAuthenticationToken","message":"Access token has expired or is not yet valid.","innerError":{"date":"2021-05-26T21:07:18","request-id":"682120ac-694c-4b84-9dd9-9a8fd5dbc975","client-request-id":"682120ac-694c-4b84-9dd9-9a8fd5dbc975"}}}
2021-05-26 14:07:20,030 [INFO ]       All retries have been attempted for Reader 'Get Users from Office 365'

Details

The lifetime of access token used for accessing Microsoft 365 APIs is about an hour. Most of the Microsoft 365 reader functions execute quickly, but in some situations the usage function will run more than an hour. Since the access token expires by then, the import fails with an error.

Workaround

There is no known workaround. Contact Flexera Support for guidance if this issue is affecting you.

Fix status

This issue has been fixed in the following FlexNet Manager Suite releases: 2021 R1.1 / Sep 2021 (Cloud), 2022 R1 (On Premises)

Other information

Affected components: Integration: Other, SAM for Microsoft

Master issue ID: IOJ-2198658

Also known as: FNML-73684

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jun 12, 2022 03:52 AM
Updated by:
Knowledge base article header content