Cmdlets for Microsoft SharePoint

Build 24.0.9060

GetOAuthAuthorizationURL

Acquires the SharePoint authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to SharePoint.

Input

Name Type Description
CallbackUrl String The URL that Sharepoint will return to after the user has authorized your app.
Scope String The scope or permissions you are requesting from the user.

The default value is AllSites.Manage.

State String Any value that you wish to be sent with the callback.
Prompt String Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app.

Result Set Columns

Name Type Description
URL String The URL to be entered into a Web browser to obtain the verifier token and authorize the data provider with.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060