GetAdminConsentURL
Generates a URL that an admin must visit to grant tenant-wide OAuth permissions to your app; used when setting up enterprise integrations.
Input
| Name | Type | Required | Description |
| CallbackUrl | String | False | The URL to which the user is redirected after authorizing the application. This must exactly match the reply URL configured in the Azure AD application settings. |
| State | String | False | Space-separated list of permissions the application is requesting from the administrator. Each scope defines a level of access. |
| Scope | String | False | Space-separated list of permissions the application is requesting from the administrator. Each scope defines a level of access.
The default value is https://graph.microsoft.com/files.readwrite.all. |
Result Set Columns
| Name | Type | Description |
| URL | String | The full authorization URL that should be opened in a web browser to prompt the admin for consent and return an authorization code. |