Connect to OneDrive for Business to manage your files. You can perform various actions such as upload, update, get, and delete on files.
You can get started by creating a logic app now, see Create a logic app.
Create a connection to OneDrive for Business
To create Logic apps with OneDrive for Business, you must first create a connection then provide the details for the following properties:
|Token||Yes||Provide OneDrive for Business Credentials|
After you create the connection, you can use it to execute the actions and listen for the triggers described in this article.
- A OneDrive account
Before you can use your OneDrive for Business account in a Logic app, you must authorize the Logic app to connect to your OneDrive for Business account. Fortunately, you can do this easily from within your Logic app on the Azure Portal.
Here are the steps to authorize your Logic app to connect to your OneDrive for Business account:
- To create a connection to OneDrive for Business, in the Logic app designer, select Show Microsoft managed APIs in the drop down list then enter OneDrive for Business in the search box. Select the trigger or action you'll like to use:
- If you haven't created any connections to OneDrive for Business before, you'll get prompted to provide your OneDrive for Business credentials. These credentials will be used to authorize your Logic app to connect to, and access your OneDrive for Business account's data:
- Provide your OneDrive for Business user name and password to authorize your Logic app:
- Notice the connection has been created and you are now free to proceed with the other steps in your Logic app:
View any triggers and actions defined in the swagger, and also see any limits in the connector details.
Go back to the APIs list.