Hello PO,
Thank you for reaching out to Microsoft Support!
According to the documentation, immutableId does not support Mailfolder and is therefore not supported when you access shared mailboxes.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.