GetAdminConsentURL
Retrieves the admin consent URL required for granting domain-wide access to the application by an administrator. Necessary when using custom OAuth credentials.
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 state between the request and the callback. This should match the value you sent when requesting the authorization code to ensure security. |
Result Set Columns
Name | Type | Description |
URL | String | The generated authorization URL that the user must visit in a web browser to grant consent and obtain the verifier token for your application. |