A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
I tried using your suggested API endpoint for inplace archive mailbox id but it gave error
Response :
{
"error": {
"code": "ErrorInvalidIdMalformed",
"message": "The Id is invalid.",
"innererror": {
"message": "[IdConverter::IsPublicFolder] Invalid compression id",
"type": "Microsoft.M365.Core.IdSerialization.InvalidIdMalformedException"
}
}
}
also , tried this as well
https://graph.microsoft.com/v1.0/admin/exchange/mailboxes/{inplace-archive-mailboxid}/folders/recoverableitemsdiscoveryholds/items
again got an error in response
{
"error": {
"code": "ErrorInvalidIdMalformed",
"message": "The Id is invalid.",
"innererror": {
"message": "Format",
"type": "Microsoft.M365.Core.IdSerialization.InvalidIdMalformedException",
"internalexception": {
"message": "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.",
"type": "System.FormatException"
}
}
}
}