Intune App Protection - How to use Graph SDK to update targetedAppManagementLevels in Intune App Portal

Ravi Balaji A J 1 Reputation point
2021-09-17T05:34:02.19+00:00

132955-intuneapppage.png

I wanted to update this specific part in Intune App Portal via Graph SDK (which was marked out in image)

Whenever I fetch the data (App protection policy) via Graph SDK, I could see the object AndroidManagedAppProtection
Which contains most of the settings seen in that Intune app policy page

But a few settings like these

  1. targetedAppManagementLevels
  2. excemptedApps

Doesn't have a specific object, hence it is coming under AdditionalDataManager under AndroidManagedAppProtection object

While posting the data from our application we need some object to set this data (targetedAppManagementLevels)
We cannot set the data in AdditionalDataManager because it is transient object hence not serializable

Am I missing anything here or how we send those data which comes under AdditionalDataManager

Around 47 settings coming under this AdditionalDataManager

132957-additionaldatamanager-li-2.png

Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.