FireDAC Components for Excel Online

Build 21.0.7930

GetAdminConsentURL

Gets the admin consent URL that must be opened separately by an admin of a given domain to grant access to your application. Only needed when using custom OAuth credentials.

Input

Name Type Description
CallbackUrl String The URL the user will be redirected to after authorizing your application. This value must match the Reply URL in the Azure AD app settings.
State String The same value for state that you sent when you requested the authorization code.
Scope String A space-separated list of scopes to request from the Admin. Please check the Microsoft Graph API documentation for a list of available permissions.

The default value is https://graph.microsoft.com/Sites.Read.All https://graph.microsoft.com/Sites.ReadWrite.All https://graph.microsoft.com/Files.Read https://graph.microsoft.com/Files.Read.All https://graph.microsoft.com/Files.Read.Selected https://graph.microsoft.com/Files.ReadWrite https://graph.microsoft.com/Files.ReadWrite.All https://graph.microsoft.com/Files.ReadWrite.AppFolder https://graph.microsoft.com/Files.ReadWrite.Selected.

Result Set Columns

Name Type Description
URL String The authorization URL, entered into a Web browser by the Admin to grant permisssions for your app.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930