Automic Workload Automation

 View Only
  • 1.  How to Access a file from OneDrive

    Posted Dec 09, 2019 06:58 PM
    Hi-
      We have a request to create a workflow where UC4/Automic needs to retrieve a file from OneDrive and then sFTP that file to a 3rd party.  Does anyone have suggestions/examples on how to retrieve a file from OneDrive (powershell, WIN object)?

    ------------------------------
    Lynn Slaga
    ------------------------------


  • 2.  RE: How to Access a file from OneDrive
    Best Answer

    Posted Dec 10, 2019 01:48 AM
    I think that should be possible with the Microsoft Graph API:
    https://docs.microsoft.com/de-de/onedrive/developer/rest-api/api/driveitem_get_content?view=odsp-graph-online

    For example, I use the API to download e-mail attachments from Office365.
    https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?GroupId=1435&MessageKey=6e084ba1-6127-4945-bf24-f116b87322b8&CommunityKey=2e1b01c9-f310-4635-829f-aead2f6587c4&tab=digestviewer

    ------------------------------
    Mast-Jägermeister SE
    ------------------------------