M365 Collections through Graph API failing with error 'Mailbox Invalid'

book

Article ID: 100053645

calendar_today

Updated On:

Description

Error Message

Job Status log:

Out of 2 mailboxes submitted for M365 collection, 2 mailboxes are invalid and 0 mailboxes are unlicensed

ICP log:

SEVERE: Throwable detail: com.microsoft.graph.http.GraphServiceException: Error code: Request_ResourceNotFound

 

Cause

Microsoft recommends matching Primary SMTP and the User Principal Name (UPN) (MS Article). As per the current design, the Primary SMTP address of the user collected during ADSync is taken as a reference while querying Graph API. If those don't match, the query to Graph API fails even if the mailbox is valid and has a license assigned in M365. 

 

Resolution

The solution for this issue is merged into EDP 10.1.4 and 10.2 releases.

  • Please upgrade your server to the versions mentioned and above.
  • Enable the solution by setting the property "esa.custom.azure.upn" to "true".

Issue/Introduction

Collections from M365 mailboxes using the Graph API fails. The collection task marks mailboxes as invalid and ends with a failure status.

Additional Information

JIRA: CFT-4670