If Microsoft Intune Mobile Application Management (MAM) is being used in your work/school to control devices, this error message will appear.
Your company administrator restricts your access to certain exported applications outside enterprise applications (such as Outlook, Teams, Excel) to other applications, personal or unapproved (such as WhatsApp, personal notes or browser). When copying and pasting the content, be sure both applications are company related.