Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Upload files to SharePoint Online (Preview)
Upload files to SharePoint Online (Preview)

Upload files to SharePoint Online (Preview)

halliba

|
18 installs
| (0) | Free
Upload files to SharePoint Online
This extension is now unpublished from Marketplace. You can choose to uninstall it.

az-pipelines-2-sharepoint

Logo

Version

az-pipelines-2-sharepoint is an Azure DevOps extensions to upload file or build artefacts to a SharePoint Online library via Microsoft Graph.

This extension can not be used with on-premise SharePoint installations.

Installation

Azure Pipelines: Visit the Marketplace page and click install. Choose your Azure DevOps organization.

Azure DevOps Server: Visit the Marketplace page and click install. Then choose Download and install it via the Extension page on your local Azure DevOps Server.

App registration in Azure AD

Register a new application in your Azure AD tenant: (For more info, refer to the Microsoft Docs)

  • Choose any name.
  • Supported Account types: Accounts in this organizational directory only.
  • No Redirect URL is needed.
  • Add a client secret as authentication method.
  • For testing or small environments, add the API permissions: Microsoft Graph -> Application permissions -> Files -> Files.ReadWrite.All (The extension will have full access to all SharePoint drives!)
  • For production environments, add the API permissiones: Microsoft Graph -> Application permissions -> Sites -> Sites.Selected.
    Refer to these blog posts, on how to grant the extension access to the required sites.
    Use Sites.Selected Permission with FullControl rather than Write or Read
    Testing out the new Microsoft Graph SharePoint (specific site collection) app permissions with PnP PowerShell

Setup Azure DevOps

  1. Find your target drive ID: https://docs.microsoft.com/en-us/graph/api/drive-get
  2. Add a new Upload files to SharePoint Online task to your build pipeline.
  3. Fill in all required parameters.

Known Issues

  • Due to a limitation (or bug?) of the Microsoft Graph File endpoint you can not upload files with 0-byte size. Those files will be skipped and a warning message is shown.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft