Symptoms:
The new Office 365 (O365) adapter fails when trying to retrieve the usage data. The error in the Importer log will look like -
Failed to execute Reader 'Get Usage from Office 365 Exchange' from file C:\ProgramData\Flexera Software\Compliance\ImportProcedures\Inventory\Reader\microsoft 365\Usage.xml, at step line 1
Error: The remote server returned an error: (403) Forbidden.
Diagnosis:
The new O365 Adapter introduced in FNMS 2019 R1 release uses the Microsoft Graph API to collect information. Due to some changes made by Microsoft in December 2019, there are more permissions needed to capture the usage and hence, the O365 adapter will fail when trying to capture the usage data.
Solution:
In order to resolve the issue, please do the following -
- For the account that is used to generate the refresh token needed for the O365 adapter, add a new roles in Azure AD - 'Reports Reader' and 'Cloud Administrator' See the screenshot for the addition of a role. -
- Generate a new refresh token and execute the adapter again
Note: both roles are required to generate the token, however we've found that once it's generated if you remove the administrator role the adapter will continue to work with just the 'reports only' role enabled.
Related Articles
Business Adapter fails with error when trying to set custom metric entitlement consumption: The multi-part identifier "dbo… 15Number of Views What usage data you can collect with the Microsoft 365 Inventory Adapter. 9Number of Views Office 365 Test connection fails ERROR Cannot bind argument to parameter 'String' because it is an empty string 25Number of Views Purchase order SKU processing may fail link the license created by the Office 365 Inventory adapter 4Number of Views Processing of SCCM usage adapter does not update the usage data in order to not find the application 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago