@ -110,6 +110,7 @@ public class RemoteSessionManagementServiceImpl implements RemoteSessionManageme
+ " , deviceId : " + deviceId);
}
} catch (OperationManagementException | InvalidDeviceException e) {
log.error("error", e);
throw new RemoteSessionManagementException("Error occurred while adding initial operation for the " +
"device Type : " + deviceType + " , deviceId : " + deviceId);
} catch (DeviceAccessAuthorizationException e) {
@ -479,7 +479,8 @@ $(document).ready(function () {
showPopup();
$("a#remove-unenroll-yes-link").click(function () {
var serverDetails = $("input#afw-server-details").val() + "/api/device-mgt/android/v1.0/enterprise/324/unenroll";
var serverDetails = $("input#afw-server-details").val()
+ "/api/android-for-work/v1.0/google/enterprise/unenroll/" + $("input#afw-enterprise-id").val();
var emmToken = $("input#afw-backend-token").val();
unenroll(serverDetails, emmToken);
hidePopup();