Creating a json file for Managed Homescreen for Android Devices. Errors with Adding Multiple Apps on the Homescreen

Jayd 171 Reputation points
2023-11-29T16:46:48.1566667+00:00

Hello Everyone,

Im trying to create a json Data file to enable multiple apps in Managed Homescreen for a Android Device. I have created a File which is working perfecty , just with adding additional Applications gives me issues.

So this file works without an issue, when i dont add a second application. This will display outlook. If want to add other applications tho, like word in this case, it will fail. So as soon i add it and save, when i reopen the policy, the entry goes missing again. When i create a new Policy and add the complete file with the entry , it will give me an error that the file is invalid. I dont seem to find the Error, when adding another application to be displayed. I really would be glad if i could find solution to this issue and thank you in advance.

This is the file, when i add a second application to be displayed

{
    "kind": "androidenterprise#managedConfiguration",
    "productId": "app:com.microsoft.launcher.enterprise",
    "managedProperty": [
        {
            "key": "custom_privacy_statement_url",
            "valueString": "https://www.myurl.cpm/privacy"
        },
        {
            "key": "custom_privacy_statement_title",
            "valueString": "Joymalya's Privacy Agreement"
        },
        {
            "key": "applications",
            "valueBundleArray": [
                {
                    "managedProperty": [
                        {
                            "key": "package",
                            "valueString": "com.microsoft.office.outlook"
                        },
						{
                            "key": "package",
                            "valueString": "com.microsoft.office.word"
                        }
                    ]
                }
            ]
        },
        {
            "key": "enable_PIN_to_resume",
            "valueBool": true
        },
        {
            "key": "auto_signout_time_to_give_user_notice",
            "valueInteger": 60
        },
        {
            "key": "inactive_time_to_signout",
            "valueInteger": 300
        },
        {
            "key": "enable_auto_signout",
            "valueBool": true
        },
        {
            "key": "enable_session_PIN",
            "valueBool": true
        },
        {
            "key": "signin_screen_branding_logo",
            "valueString": "https://myurl.com/test.jpg"
        },
        {
            "key": "enable_corporate_logo",
            "valueBool": true
        },
        {
            "key": "signin_screen_wallpaper",
            "valueString": "https://avante.biz/wp-content/uploads/Asus-wallpaper-HD-for-zenfone-5/Asus-wallpaper-HD-for-zenfone-595.jpg"
        },
        {
            "key": "signin_type",
            "valueString": "AAD"
        },
        {
            "key": "enable_mhs_signin",
            "valueBool": true
        },
        {
            "key": "show_device_info_setting",
            "valueBool": true
        },
        {
            "key": "show_managed_setting",
            "valueBool": true
        },
        {
            "key": "exit_lock_task_mode_code",
            "valueString": "8992"
        },
        {
            "key": "virtual_home_type",
            "valueString": "float"
        },
        {
            "key": "show_virtual_home",
            "valueBool": true
        },
        {
            "key": "managed_folders",
            "valueBundleArray": [
                {
                    "managedProperty": [
                        {
                            "key": "folder_name",
                            "valueString": "Customer Folder"
                        },
                        {
                            "key": "is_customer_facing",
                            "valueBool": true
                        },
                        {
                            "key": "applications",
                            "valueBundleArray": [
                                {
                                    "managedProperty": [
                                        {
                                            "key": "package",
                                            "valueString": "com.microsoft.mobile.polymer"
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "key": "screen_orientation",
            "valueInteger": 1
        },
        {
            "key": "icon_size",
            "valueInteger": 2
        },
        {
            "key": "wallpaper",
            "valueString": "default"
        }
    ]
}
Microsoft Intune Android
Microsoft Intune Android
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Android: An open-source mobile platform based on the Linux kernel, developed by Google, and maintained by the Open Handset Alliance.
266 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,808 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,732 questions
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 46,171 Reputation points Microsoft Vendor
    2023-11-30T01:54:57.72+00:00

    @Jayd, Thanks for posting in Q&A. Based on my researching, I find the format to add multiple apps are as below:

                        {
    
                            "key": "applications",
    
                            "valueBundleArray": [
    
                                {
    
                                    "managedProperty": [
    
                                        {
    
                                            "key": "package",
    
                                            "valueString": "com.microsoft.emmx"
    
                                        }
    
                                    ]
    
                                },
    
                                {
    
                                    "managedProperty": [
    
                                        {
    
                                            "key": "package",
    
                                            "valueString": "com.microsoft.bing"
    
                                        }
    
                                    ]
    
                                }
    
                            ]
    
                        }
    

    https://learn.microsoft.com/en-us/mem/intune/apps/app-configuration-managed-home-screen-app#enter-json-data

    Please change your Json file with the similar format to see if it can work.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful