
We have been developing in FSM over the last few months for Android and iOS which is secured by Intune. We have been running into this error every 30-60 minutes only on iOS and the only way to get rid of it is uninstalling/reinstalling the app:
Action Not Allowed: Your organization only allows you to open work or school data in this app.
docs.microsoft.com/.../troubleshoot-mam
In the documentation it says that - The IT administrator has set the Allow app to receive data from other apps to Managed apps only. Therefore, the end-user can only transfer data into this app from other apps that have an app protection policy.