GetOAuthAuthorizationUrl
Generates an authorization URL from the data source. This URL is used to obtain an authorization code or verifier, which is required to complete the OAuth authentication process.
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 AD app settings. |
State | String | A value that helps maintain state between request and response. This parameter makes a round trip to the Dynamics authorization server and back. It can be used to redirect users to the correct resource, implement nonces, or mitigate cross-site request forgery attacks. |
Prompt | String | Defines the authentication prompt behavior. Defaults to 'select_account' (prompts users to choose an account). Other options: 'None' (no prompt), 'login' (forces credential entry), or 'consent' (triggers the OAuth consent dialog for permissions approval). |
Result Set Columns
Name | Type | Description |
Url | String | The authorization URL that users must open in a web browser to approve access for the application. |