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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,069 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,576 questions
0 comments No comments
{count} votes