Android Enterprise - managend Profile - Nextcloud

TK
Tim Klamandt
JAMBO GmbH

Hello Guys,

i have the problem, that i can't open the nextcloud application in my managend profile on the Device.
I created a new google account (for play.google.com/work) and assign this in the MobiControl configurations.
My problem is now, that i can approve and assign apps in "play /work & Mobicontrol" but something is wrong.
Because the other applications works pretty well. Only "Nextcloud" says: "action is not permitted".

6 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
6 years ago

What are the version and build numbers of your MobiControl server and device agent?

What are the active MDM API's reported in the device configuration tab of your device agent?

What is the firmware version of your device? 

How was the Nextcloud app deployed on your problematic device?  Does the app get all the required runtime app permissions?

TK
Tim Klamandt
6 years ago (edited 6 years ago)

Hi Raymond,
We use MobiControl Version: 14.4.0.4857 and the Agent is Version 13.7.6.1004 from (Downloaded from playstore and upgraded. "MobiControl | Android Enterprise")
All our apps are deployed via application catalog in Mobicontrol (Nextcloud app too)
The application Catalog is Coupled with the google admin account.
The Devices (not only one) can install these apps out of the android Enterpise playstore.
The permissions are granted in google play/work.

The other application can be opened without problems, it seems like nextcloud have problems with Android Enterprise.

 Here the application catalog overview:

RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

Have you set any configurations in the "Advanced" menu of your NextCloud app entry in your App-Catalog rule?

Also, please list what profile payloads you have deployed to your device?

TK
Tim Klamandt
6 years ago

Hi Raymond,

We have only the application catalog assigned. Not more. So, we dont have profile payloads..

RC
Raymond Chan Diamond Contributor
6 years ago

Have you installed any previous or the current v3.7.0 version of Nextcloud app on any of your device (either without any MDM, or with Soti Android+, etc.) to confirm the app works?  Is it possible that the NextCloud v3.7.0, which was released less than two weeks ago, has some problem of its own? 

Also, under normal circumstances, any corporate device using Android Enterprise device agent should have at least 

1. authentication payload (with at least administrator password set)

2. feature control payload (with security related options such as agent un-installation, debug mode, factory reset, etc. disabled)

3. Antivirus payload 

You'd better add them back and see if there is any difference observed on your Nextcloud app. 

TK
Tim Klamandt
6 years ago (edited 6 years ago)

Hi Raymond,

thanks for your time.
At the moment we test Android Enterprise only for us.
Thats because we haven't any other payloads.

The problem with the Nextcloud app has only occurred the last days not 2 weeks.
- The Devices are in Mobicontrol for the first time
- There was no device in mdm before.
- If i install the Nextcloud app outside from Android Enterprise Profile from Playstore, it works fine

I think its a bug in the newest Nextcloud App or its a hidden config in Mobicontrol which blocks the start from Nextcloud.
However, the Nextcloud app is not 100% needed, but I'd like to know why this "error" happened



Edit: The Support have the same error.

" I can see in the ADB Logs a permissions error:
[net.soti.mobicontrol.dl.h.a:61] Failed to grant permission|net.soti.mobicontrol.dl.ad: failed to set permission grant state of 'android.permission.FOREGROUND_SERVICE' for package 'com.nextcloud.client'  "


Best regards,
Tim

RC
Raymond Chan Diamond Contributor
6 years ago

Based on the information provided in your last post,  you can try your luck by sending the following script command to your device:

    afw_set_permission_grant_state   com.nextcloud.client   android.permission.FOREGROUND_SERVICE  allow