GetAdminConsentURL
Creates a secure admin authorization link for granting delegated or application permissions to Teams-based apps.
Input
| Name | Type | Required | Description |
| CallbackUrl | String | False | The URL to which the user is redirected after granting admin consent. This must exactly match the Reply URL configured in the Azure Active Directory app registration. |
| State | String | False | Opaque string value used to maintain state between the request and callback. Useful for preventing cross-site request forgery attacks and preserving user session. |
| Scope | String | False | Space-separated list of permissions the application is requesting admin consent for. Example: User.Read Group.ReadWrite.All Directory.Read.All. |
Result Set Columns
| Name | Type | Description |
| URL | String | Generated authorization URL that must be opened in a browser to prompt the admin for consent and obtain the verifier token. |