TDV Adapter for Microsoft Dynamics 365 Business Central

Build 25.0.9539

GetAdminConsentURL

Generates the admin consent URL required for granting application access to a specified domain. An administrator must open this URL separately to authorize the application when using custom OAuth credentials.

Stored Procedure-Specific Information

To execute this procedure, enter:
    EXEC GetAdminConsentURL CallbackURL = 'http://localhost:3333'

Input

Name Type Description
CallbackUrl String The URL where users are redirected after authorizing the application. It must match the Reply URL configured in the Azure Active Directory (AD) app settings.
State String The state parameter you originally sent when requesting the authorization code. It helps maintain state between request and callback.

Result Set Columns

Name Type Description
URL String The authorization URL that users enter in a Web browser to retrieve the verifier token and grant access to your application.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539