Hi @JustinMicheal-7973,
Noticed that you added both the Exchange online related tag and the Exchange server tags for Exchange On-premise, so are you in a hybrid deployment? If this is the case, where is the mailbox hosted?
I need to download multiple mail items and only thing I have is messageid.
Is there a way to do it?
By "download", do you mean you would like to export the mail items to PST files? If so, as far as I know, there's no native way to search and export mail items from a mailbox based on messageid. As a workaround, you can run Get-MessageTrackingLog in on-premise Exchange or message trace in Exchange Online using the MessageIDs to get more informaiton like the message subjects about the mail items you would like to export, then you can search and export the items using methods like Search-Mailbox or Content search in Exchange Online.
I want to download all emails of the mailbox(more than 90 + days)
This can also be realized using Search-Mailbox or Content Search as mentioned earlier. Of you may consider granting yourself the full access permission of the mailbox, so that you can access that mailbox in Outlook to export all the mail items to PST.
Feel free to let me know if I have misunderstood anything.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.