GetAdminConsentURL
Generates the OAuth admin consent URL required for tenant-wide authorization. This must be accessed by a domain administrator to enable app access to Office 365 APIs using custom credentials.
Input
| Name | Type | Required | Description |
| CallbackUrl | String | False | The redirect URI where the user will be sent after granting admin consent. This must exactly match the reply URL configured in your Azure Active Directory application's settings. |
| State | String | False | An opaque string value used to maintain state between the request and callback. This value is returned to the application unchanged and can be used to prevent cross-site request forgery attacks. |
| Scope | String | False | A space-separated list of permission scopes being requested from the admin. These determine what access the application is requesting. Refer to Microsoft Graph API documentation for valid values. |
Result Set Columns
| Name | Type | Description |
| URL | String | The complete admin consent authorization URL to be opened in a web browser. When visited, it prompts the admin to grant consent to the specified scopes for your application. |