GetAdminConsentURL
Generates an admin consent URL for granting application permissions within a domain.
Input
| Name | Type | Description |
| CallbackUrl | String | The fully qualified URL to which Entra ID will redirect the user after completing the authorization process. Ensure this matches the configured Reply URL in the Entra ID application's settings to avoid errors. |
| State | String | A unique, opaque value included in the authorization request to maintain state between the request and callback. Useful for mitigating cross-site request forgery (CSRF) attacks and ensuring continuity. |
| Scope | String | A space-separated list of permissions that the application is requesting from the administrator. Ensure these align with the application's needs and consent framework. |
Result Set Columns
| Name | Type | Description |
| URL | String | The fully-constructed authorization URL that administrators can use to grant your application permissions. This is the link your application should display or redirect the admin to. |