Possible Reason:
These errors would occur if the mailboxes selected for the Resource In Policy Request/Resource Out Policy Request policies are legacy mailboxes.
Solution:
Please remove legacy mailboxes from the selected list, and perform the operation again.
Please refer to the screenshot attached below.