OneDrive
The OneDrive agent needs no special configuration, apart from setting the application in Azure and creating the application secret.
#
Set up the Application in Azure.Go to https://portal.azure.com
Click on Azure Active Directory > App registrations > New registration.
Azure new application registration
Set Name, Supported account types, and Redirect URI of the application:
Application Registration
note
The type should be Native and the Redirect URI must be formatted as:https://servername:port/Redirect
.
- Click Register.
note
This URI should reflect the OneDrive Agent machine hostname or public IP address and the port at which the new agent instance needs to be created.
Note the Application (client) ID upon successfully registering the application.

Application registered
- Provide the Application (client) ID under the key userclientid in the configuration of SharePoint in BI Hub.
- Click on the newly created Application and go to Authentication.

Authentication
- Select the tokens to be issued at authorization endpoints and also choose the supported account types.

Authentication access tokens
#
Create the Application SecretGo to Azure portal > azure active directory > App registrations and click on your application.
Navigate to Certificates & secrets and click on New Client secret to add a new key.
User client secret setup
Specify a Description and Expiry duration for client secret and click Add.
Client secret submission
The UserClient secret is added and the value is displayed. Provide this under the key "USERCLIENTSECRET" during the configuration of Sharepoint agent in BI Hub

Copy the Client secret ID
note
Copy the client secret value. You will not be able to retrieve it after you perform another operation or leave this blade. If failed to note down the value, please repeat the step Set up the application in Azure to create a new key.