--- title: "Granting access" slug: "bc-granting-access" description: "Learn how to connect Microsoft Dynamics 365 Business Central with the Anywhere Portal app by granting necessary rights and roles for seamless integration." tags: ["ANY", "Anywhere Mobility Solutions", "BC", "Business Central", "Task"] updated: 2026-06-25T09:59:03Z published: 2026-06-25T09:59:03Z canonical: "docs.staedean.com/bc-granting-access" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Granting access To establish communication between your Microsoft Dynamics 365 Business Central environment and the Anywhere Portal app, you must grant it the required rights and roles. ## Prerequisites Before you begin, make sure these conditions are met: - Register the Anywhere Portal app in Entra ID of Azure. See [Azure App Registration](/business-central/docs/bc-azure-registration). - The user registering the app must have sufficient permissions to grant access. - Create the **Client ID** from the Anywhere Portal app. - The request to access Microsoft Dynamics 365 Business Central scopes must be pending. - The Anywhere Framework extension must be installed and published. > [!NOTE] > **Note** For information on publishing the Anywhere Framework, contact [**STAEDEAN**](https://staedean.com/contact-us)**.** ## Steps 1. In Microsoft Dynamics 365 Business Central, navigate to the **Microsoft Entra Applications** page. 2. Select **New** to create a new application. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(415).png) 3. Enter the **Client ID** from the Anywhere Portal app in the **Client ID** field. 4. Enter a name for the Anywhere Portal app, for example STAEDEAN Anywhere Portal. 5. Set the following user permissions: > [!NOTE] > **Note** Permission `ANY` is deprecated because it does not contain all required permissions to run the portal in `AzApp` mode. Use `ANYTIPERMISSIONS` instead. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(416).png) > [!NOTE] > **Note** For the Anywhere Mobility Solutions processes to have access to the item tracking functionality, include "D365 BUS FULL ACCESS" in the list in addition to the above permissions. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(417).png) - ANYTIPERMISSIONS (from the Anywhere Framework app) - D365 AUTOMATION (from the Base Framework app) - BISADMIN (from the Business Integration Solutions Framework app) - STAEDEAN COMMON (from the STAEDEAN Common Framework app). If it is not available, use `TIC TI COMMON`. 6. Grant consent for your application: 1. Select the **Grant Consent** action on the page and complete the login. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(419).png) 2. Review the permissions and accept if everything is in order. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(420).png) 3. You can check in Azure App registrations for the registered app's API permissions, the permissions are now granted. ![](https://cdn.document360.io/da662430-6a41-47b1-8c7e-7e4ac37a9756/Images/Documentation/image(421).png) > [!NOTE] > **Note** Granting the Azure app rights is based on [Microsoft documentation](https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/automation-apis-using-s2s-authentication#task-2-set-up-the-azure-ad-application-in-). ## Installation steps 1. [Register the application](/business-central/docs/bc-azure-registration) 2. Grant access from Dynamics 365 Microsoft Dynamics 365 Business Central 3. [Anywhere Portal Azure Setup](/business-central/docs/bc-portal-setup) ## Related - [For D365 BC on Cloud](/bc-for-bc-on-cloud.md)