JDBC Driver for Microsoft Office 365

Build 25.0.9434

GetAdminConsentURL

Returns a URL to initiate the admin consent process for granting application access using custom OAuth credentials.

Input

Name Type Required Description
CallbackUrl String False URL to which the user is redirected after granting admin consent. Must match the Reply URL configured in the Azure Active Directory app registration.
State String False Opaque value used to maintain state between the request and the callback. Returned unchanged in the response for validation.
Scope String False Space-separated list of permissions to request from the admin, such as User.Read Mail.Read Calendars.ReadWrite.

The default value is offline_access https://graph.microsoft.com/group.read.all https://graph.microsoft.com/group.readwrite.all https://graph.microsoft.com/user.read https://graph.microsoft.com/user.readwrite.all https://graph.microsoft.com/calendars.readwrite https://graph.microsoft.com/contacts.readwrite https://graph.microsoft.com/mail.readwrite https://graph.microsoft.com/Files.ReadWrite.All.

Result Set Columns

Name Type Description
URL String Authorization URL that should be opened in a browser to initiate admin consent and retrieve the verifier token.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434