question

RaviBalajiAJ-2614 avatar image
0 Votes"
RaviBalajiAJ-2614 asked Deva-MSFT edited

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

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-sdkmem-intune-graphmicrosoft-graph-device-updates
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers