In our company we want to limit the ability to download files/attachments from Teams/OneDrive only from devices that are enrolled in Intune. I tried to set it up using Conditional Access policy in Azure Active Directory. The issue we are facing is that this policy is working only work computers and on mobile phones test account is still able to download files with no issues.
According to the setup it should also work for mobile devices: enter image description here
I also created Defender policy, as per https://www.mcsmlab.com/blog/2022/3/16/using-microsoft-defender-for-cloud-apps-to-limit-file-downloads-to-managed-devices but got no hits on that.
Any idea what I am missing to make it work?