
Portal User asked a question.
Hi:
I´m trying to configure de Office 365 connector but I receive this error
2020-01-17 21:12:04,167 [13] ERROR SnowSoftware.SIM.Common.Api.ApiClient - Http Response Forbidden suggests error, throwing with content for upstream handling
2020-01-17 21:12:04,183 [1] ERROR SnowSoftware.ExternalDataProvider.Providers.Office365.Office365InventoryProvider - Did not get a 200-range response
ApiClient received an HTTP Error Code and the following response body:
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"date": "2020-09-18T02:12:12",
"request-id": "178b3083-0163-4733-ba0f-58aa56087854",
"client-request-id": "178b3083-0163-4733-ba0f-58aa56087854"
Somebody have some ideas?
Hi Pablo,
I think you need to check the API permissions in Azure AD.
There was a change introduced in SIM versions 5.21 which now uses Graph API to collect Office365 data.
The latest user guide is here - https://community.flexera.com/s/article/UserGuideMicrosoftOffice365Connector
The setup of the API permissions is a bit tricky.
I have attached a screenshot of the API permissions - you need to make sure you have 4 Application permissions and 1 Delegated