Some users may experience issues accessing the case portal. For more information, please click here.

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

Known Issue: When the Microsoft 365 adapter runs more than an hour to collect the usage information, the import fails with an error - access token has expired (IOJ-2198658)

Known Issue: When the Microsoft 365 adapter runs more than an hour to collect the usage information, the import fails with an error - access token has expired (IOJ-2198658)

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

Labels (1)
Was this article helpful? Yes No

Tip: If you have been impacted by this issue, please click the KUDOS button above. This helps to track the relative significance and importance of issues. Clicking on an option against "Was this article helpful?" also helps assess and improve the usefulness of content.

No ratings
Version history
Last update:
‎Jun 12, 2022 03:52 AM
Updated by: