Forum Discussion

arpitm's avatar
arpitm
New Contributor III
2 years ago

Accessing Azure File Storage from OneStream

Hi,

 

I am trying to access a file stored in Azure File Storage to import in the cube, but I need help to do that if I try using the REST API as the namespace Microsoft.Azure or any other Azure related namespace, as they are not available in the OneStream library.

Has anyone encountered the same ?  Any better approach to achieve the desired outcome ?

 

Thank you for your help

 

  • For integration to external sources, like some sort of Azure service (Table storage / Blog storage) I would look for a client API library to use, then add those .DLL's to the binary assembly folder, so you can reference the .DLL in your Connector business rule. A little high-level, but hopefully can turn you in the right direction

  • JackLacava's avatar
    JackLacava
    Honored Contributor

    Figure out which extra .Net libraries you need and how to install them, then install them on the server yourself if on-premises or contact OneStream Support to add them to Cloud environments.

  • DanielWillis's avatar
    DanielWillis
    Valued Contributor

    Wouldn't using a REST API for Azure mean that you don't need to install/import any additional libraries for Azure and instead only require the appropriate libraries for http (e.g. System.Net) on the OneStream side?

    • JackLacava's avatar
      JackLacava
      Honored Contributor

      Yeah, but MS have wrapper libraries that make things easier, and are promoted by their docs. I guess that's what he was after.

  • arpitm's avatar
    arpitm
    New Contributor III

    Hello All,

     

    Thank you for your responses. the setup is on OneStream Cloud and we are using the REST API and setting up a request in Postman. Is there a knowledgebase article that I can refer.

     

    Thank you

    • GParreiras's avatar
      GParreiras
      New Contributor III

      Hi arpitm 

      Did you figure out how to access the Azure File Storage from OS, do you have any axample?

      Thanks

  • arpitm's avatar
    arpitm
    New Contributor III

    Hi GParreiras 

    Unfortunately not. I was not able to store the files directly from OneStream to Azure. We took an intermediate route to save the temporarily on a local server and run a task schedular job to upload the files from the server to Azure.

    I hope this helps.

     

    Regards

    Arpit