The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
Hi,
Has anyone been experiencing issues connecting to O365 lately? My one customer keeps getting Inventory gathering failed. Error: The remote server returned an error: (403) Forbidden. I regenerated the token but keep getting a 403. I test the connection and it is showing success. Anyone else experiencing the same?
āDec 19, 2019 08:02 AM
āDec 20, 2019 02:55 PM - edited āDec 20, 2019 03:13 PM
I also want to add it is failing on Usage.
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.
2019-12-19 12:20:11,622 [INFO ] All retries have been attempted for Reader 'Get Usage from Office 365 Exchange'
āDec 19, 2019 08:04 AM
Hi Steven,
Not completely sure, but I believe one of my customer got rid if this by removing existing connections and cretaing new ones.
It took some manual effort to then:
Best regards,
Markward
āDec 19, 2019 09:41 AM
This just started happening on Monday. This has been working great ever since they came out with the new connector. Now it stopped working. That may be a workaround, but that is unacceptable.
āDec 19, 2019 09:58 AM
Mine also started Monday.
āDec 19, 2019 10:07 AM
We experienced the same errors and found the issue in the Graph API that it do a redirect to other URL's.
We used the proxy configuration in the Powershell GUI for the connector
In addition to that we added the following URL's
To read more have a look at
https://docs.microsoft.com/en-us/graph/api/reportroot-getoffice365activeuserdetail
āDec 19, 2019 12:55 PM
Same error here, also started on the morning of the 19th.
āDec 19, 2019 05:26 PM
Yes!!!
I'm using the new connector. I renewed my token (three times). And I keep getting the same error! I have a case open. 01962481
āDec 19, 2019 09:41 AM
Checked my test environment. 403 since yesterday.
āDec 20, 2019 02:27 AM
To get things working until this is ultimatively resolved, I removed the Usage.xml line from the readerV3.config. No usage data, but the rest of the reader and complianc eimport is working again.
āDec 20, 2019 07:02 AM
ours stopped working as well - is there a hotfix on the way from Flexera?
āDec 20, 2019 08:41 AM
All,
Is this on-prem or cloud implementations?
āDec 20, 2019 08:58 AM
āDec 20, 2019 09:01 AM
@BradAkers I have a couple of cloud customers having this issue.
āDec 20, 2019 09:09 AM
āDec 27, 2019 04:03 AM
@mfranz I remember that trick with the depreciated adapter.
āDec 20, 2019 09:10 AM
@mfranz for cloud do we have to copy the file and move it to the object adapter folder. I tried commenting the line out but it switched back.
āDec 20, 2019 09:19 AM
All:
It looks like Microsoft has unexpectedly changed the Graph API that we use and in order to have access to the Software Usage report, accounts must now have a higher level of privilege, which is why your Office 365 connections are failing on the "gathering usage" step.
The following update was posted by Microsoft on December 17. Flexera will need to research this and determine the best way to remediate.
https://docs.microsoft.com/en-us/graph/reportroot-authorization
āDec 20, 2019 09:25 AM
āDec 20, 2019 02:55 PM - edited āDec 20, 2019 03:13 PM
When I look in Azure at Permissions & Consent for FlexNet Beacon I see that Microsoft Graph has the following:
API Name Type Permission Granted through
Microsoft Graph Delegated Read directory data Admin consent
Microsoft Graph Delegated Read all usage reports Admin consent
Microsoft Graph Delegated Maintain access to data you have given it access to Admin consent
Microsoft Graph Delegated Read directory data User consent
Microsoft Graph Delegated Read all usage reports User consent
Microsoft Graph Delegated Maintain access to data you have given it access to User consent
What am I missing? What else needs to happen? I'm not an Azure expert.
āJan 03, 2020 09:04 AM