GetOAuthAuthorizationUrl
Retrieves the OAuth Authorization URL, allowing the client to direct the user's browser to the authorization server and initiate the OAuth process.
Input
Name | Type | Required | Description |
CallbackURL | String | False | The URL to which the user is redirected after authorizing your application. This must match the Reply URL configured in the Azure Active Directory application settings. |
State | String | False | A value used to maintain application state between the authorization request and response. This value is echoed back by the Dynamics authorization server and can be used for purposes such as redirecting the user to the correct resource, nonce generation, and mitigating cross-site request forgery attacks. |
Prompt | String | False | Determines the behavior of the authentication prompt. Defaults to 'select_account', which prompts the user to select an account. Use 'None' for no prompt, 'login' to force credential entry, or 'consent' to trigger the OAuth consent dialog for granting app permissions. |
Result Set Columns
Name | Type | Description |
Url | String | The generated authorization URL that the user must open to grant permission and authorize your application. |