I had developed an app, which is receiving file from outlook app in intune mam policy, but I got a problem.
When I set intune App Protection for Data protection "Send org data to other apps" to "All apps" (like as below screenshot):
I try to use debugging in Visual Studio, I got the length of file is right:(like as below screenshot)
And this file in my App can work very well.
When I set intune App Protection for Data protection "Send org data to other apps" to "Policy managed apps" (like as below screenshot):
I try to use debugging in Visual Studio, I got the length of file is wrong:(like as below screenshot)
Then this file can't work right in my app.
How to correct it for Intune App Protection for Data protection "Send org data to other apps" is "Policy managed apps"?