Could you please confirm if the shared mailbox is Exchange Online (part of Microsoft 365 cloud). This action only supports shared mailbox created in exchange online. If the shared mailbox is created in on premise or hybrid setups often block REST API for mailboxes.
Thank you.
Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution. This helps others find solutions to future issues!
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.