Project

General

Profile

Actions

Bug #12533

closed

product-uem 7.0.0 GA - Task #12481: 6.4.0 overall testing

Device syncing is breaking due to User Peripherals Policy

Added by Sapna Nethmini 2 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Critical
Start date:
06/02/2025
Due date:
% Done:

100%

Estimated time:
Device Type:
Android
Component:
Type:
Platform

Description

Prerequisites
Create a new policy
select android policy

Steps
create user peripherals policy and apply it to device

Description
When policy is applied then device sync stopped.
Then reset device and again enrolled as cope device.
Again when policy applied then policy applying shows as "pending" in operation log and device sync stopped.

Here is the error log file
[[https://docs.google.com/document/d/1NLlU0ixSJd8C1thagIdq-XHQtwQfm8yz2E39DLmH3GE/edit?tab=t.0]]


Files

Actions #1

Updated by Rajitha Kumara 2 months ago

  • Priority changed from Critical to High
Actions #2

Updated by Rajitha Kumara about 1 month ago

  • Assignee set to Sapna Nethmini
Actions #3

Updated by Rajitha Kumara about 1 month ago

  • Assignee deleted (Sapna Nethmini)
Actions #4

Updated by Rajitha Kumara about 1 month ago

  • Priority changed from High to Critical
Actions #5

Updated by Rajitha Kumara about 1 month ago

  • Type changed from Android to Platform
Actions #6

Updated by Rajitha Kumara about 1 month ago

  • Assignee set to Rajitha Kumara
Actions #7

Updated by Rajitha Kumara about 1 month ago

  • Status changed from New to Implementation
  • % Done changed from 0 to 40

When constructing the policy payload for a USER_PERIPHERALS policy, claim http://wso2.org/claims/devices value is getting inject to the policy payload. The value of this claim should consists hardware addresses of paired devices (according to the logic).

In agent side when a USER_PERIPHERALS_PAYLOAD arrived, the code checks for the injected value.

The issue is there is no such wso2 claim called http://wso2.org/claims/devices is getting recorded.

Required class paths:
https://github.com/entgra-proprietary/android-agent/blob/0ec1d18517a24b3ba3a43fca8267e4eb56c28fa8/client/client/src/main/java/org/wso2/iot/agent/services/operation/OperationManager.java#L2439

https://github.com/entgra-proprietary/emm-proprietary-plugins/blob/bbcdd65501a3085fde6c5b652fcd0d46d420f5f7/components/platform-plugins/android-plugin/io.entgra.proprietary.uem.platform.android.core/src/main/java/io/entgra/proprietary/uem/platform/android/core/util/MobileDeviceManagementUtil.java#L369

Actions #8

Updated by Rajitha Kumara 16 days ago

  • Project changed from product-uem 7.0.0 GA to product-uem 6.4.0 GA
  • Status changed from Implementation to QA
Actions #9

Updated by Arshana Atapattu 8 days ago

  • Subject changed from User Peripherals Policy is not wokring to Device syncing is breaking due to User Peripherals Policy
Actions #10

Updated by Rajitha Kumara 8 days ago

  • % Done changed from 40 to 100
Actions #11

Updated by Arshana Atapattu 8 days ago

  • Status changed from QA to QA Accept

Fixes area working.
policy failed on sub tenant. this will be handled via a different ticket: https://roadmap.entgra.net/issues/12868

Actions #12

Updated by Arshana Atapattu 8 days ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF