Can't access internet DPC app
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 03:27 AM - edited 05-25-2024 03:32 AM
Hello Everyone ,
i have created one policy in this one application added and added forcefully permission for internet.
Device network management through disable wifi and SIM network permission for DPC app and policy app.
i’m trying to push another policy and use Android Management Api but not fetch in device because not connect internet DPC app.How can solve it ? And which one policy though all time access internet in DPC app when data connect or wifi on.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 05:32 AM
Hello @bhargav,
Welcome to the Android Enterprise Customer Community.
I'm sorry you haven't had a response on your question here. I have had a look into this further for you and wanted to come back with the reply.
We may need a little more information to explore this further, however there is a possibility that you might have unintentionally disabled both Wi-Fi and mobile data access to the whole device, which could prevent the DPC app from functioning correctly.
Here's what you can try:
Check your EMM System: If you're using an Enterprise Mobility Management (EMM) system, see if it offers an "offline unenrollment" option. This functionality allows you to manually remove the device from your organization's management even if it's offline.
Important Note: Disabling internet access for the DPC app can disrupt its ability to manage your device. It's generally recommended to avoid disabling internet access for the device and DPC app.
As I say this might not be exactly what you are looking for, so if it's not please do provide a little more information. Either way it would be great to hear how you are going with this?
Thank you,
Lizzie
P.S - if anyone else has any other suggestions please feel free to add to this discussion (massive thanks)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 06:25 AM
Hi,
To ensure your DPC app always has internet access, you can create a policy that explicitly allows network connectivity. Here's how you can do it using the Android Management API:
Create a Policy with Network Permission:
- Ensure your policy includes permissions for internet access.
- Use defaultNetworkAccess in your policy to always allow internet access for the DPC app.
Example policy snippet:
{
"applications": [
{
"packageName": "your.dpc.app.package",
"installType": "FORCE_INSTALLED",
"defaultPermissionPolicy": "GRANT"
}
],
"networkInfo": {
"defaultNetworkAccess": "ALWAYS_ON"
},
"openNetworkInfo": {
"wifi": {
"ssid": "your_wifi_ssid",
"password": "your_wifi_password"
},
"cellular": {
"allowMobileData": true
}
}
}
Update Policy:
- Push this updated policy to ensure the DPC app maintains internet connectivity.
Troubleshoot Connectivity:
- Ensure there are no restrictive network settings that might block internet access.
- Check if the device has proper network configurations and permissions to connect to the internet.
By setting defaultNetworkAccess to ALWAYS_ON, your DPC app should maintain internet access whenever Wi-Fi or mobile data is enabled.
Hope this helps!
- Questions Regarding Fully Company-Owned and Managed Devices with AMAPI in General discussions
- MDM get Customers and Devices Api Access issue in General discussions
- Enhanced Factory Reset Protection in Android 15 in Tips & guides
- [Day 5] Community festival: Looking ahead - What could be next for Android? in General discussions
- [Day 2] Community festival: The long road from SMS to RCS in General discussions