{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":34692,"path":"mobile/config-advanced-app-allow.md","title":"Configure advanced app allowance with links to permitted apps","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure advanced app allowance with links to permitted apps\n\nConfigure a scripted extension point with a list of mobile apps that can log in to the ServiceNow instance. When a user attempts to log in with an unauthorized app, the admin can add a link that redirects the user to an authorized app.\n\n## Before you begin\n\nRole required: admin\n\n## About this task\n\nOnly use the advanced app allowance configuration if you must configure a link that redirects end users to a mobile app that is authorized to connect to the instance. Otherwise, you should use the basic app allowance list configuration. For more information, see [Configure a basic allowed mobile app list](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/config-basic-allow-mobile-app-list.md).\n\nIf both basic and advanced app allowance modes are configured on the same instance, then the system prioritizes the advanced app allowance configuration and always uses it. The advanced app allowance configuration can cause performance issues if the scripted extension point is not written to maximize system performance.\n\n## Procedure\n\n1.  Navigate to **All** &gt; **Scripted Extension Points**.\n\n2.  Search for the global.CustomPreAuthProperties API Name and select it.\n\n    The CustomPreAuthProperties record appears. Do not change any field except the **Example** field.\n\n3.  In the **Example** field, configure the two following properties:\n\n    -   **allowed\\_mobile\\_apps**\n\n        Add a comma-separated list of iOS Bundle IDs and Android Package Names. Use this list to add mobile apps that can connect to your instance. For example:\n\n        ```\n        ⋮\n        customProperties['allowed_mobile_apps']='com.servicenow.fulfiller';\n        ⋮\n        ```\n\n    -   **blocked\\_mobile\\_apps\\_redirect**\n\n        Add a redirect URL for the button that appears when an end user attempts to log in with an unauthorized app. For example:\n\n        ```\n        ⋮\n        customProperties['blocked_mobile_apps_redirect']='https://play.google.com/store/apps/details?\n        id=com.servicenow.fulfiller&hl=en_US&gl+US';\n        ⋮\n        ```\n\n    For an example of a completed script, see [Advanced app allowance example script](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/adv-app-allow-sample-script.md).\n\n4.  To save the record, select **Update**.\n\n5.  Select **Create implementation**.\n\n\n## Result\n\nA new script include is created and registered as an extension point instance.\n\n"}}