Hello @Andrew Earl ,
Thank you for contacting Microsoft Support!
It looks like you’re encountering an issue because creating open extensions in shared mailboxes with delegated permissions is not supported. When using delegated permissions, you can only create open extensions for the currently logged-in user.
To create open extensions for messages in a shared mailbox, you would need to use application permissions instead. Application permissions allow your app to act as itself rather than on behalf of a user, which is necessary for accessing shared mailboxes in this context.
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.