CData Python Connector for Microsoft OneDrive

Build 25.0.9440

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.

デフォルト値は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.

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