Do one of the following:
In a conversation with just one other person, click , and make sure your contact card for the person includes both Apple Accounts — the one they use for iMessage and the one they use for iCloud. Then try sharing again. (See in the menu bar, then click Keep track of shared content in Messages on Mac