Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Upload/Download Files ...
Finance forum
Suggested answer

Upload/Download Files to Azure Blob Storage in a Different Tenant Using SharedServiceUnitStorage

Posted on by 229

Hi All,

As some deprecation has been announced regarding Azure Blob Storage connectivity, specifically the removal of support for sharing storage account connection strings via public API (effective October 2024), we are exploring alternative approaches to connect and interact with blob storage across different tenants. The details of this deprecation can be found here:
Feature Deprecation - End of Support for Connection Strings.

Previously, we were able to seamlessly upload and download files from a blob storage account in a different tenant by utilizing connection strings. However, since this method is no longer recommended and support is ending, we are seeking a new approach using SharedServiceUnitStorage.

Could someone please guide us on the logic and steps necessary to achieve this?

Specific requirements:

  • We need to authenticate and connect to blob storage in a different tenant.
  • We are looking for a solution to upload and download files securely, without using connection strings.
  • We would like to leverage AAD authentication (OAuth 2.0) or any recommended approach, as per the latest standards, for secure and scalable interactions with blob storage.

Any code samples, best practices, or documentation references on how to implement this using SharedServiceUnitStorage would be highly appreciated.

Thanks in advance for your help!

  • Suren_G Profile Picture
    Suren_G 229 on at
    Upload/Download Files to Azure Blob Storage in a Different Tenant Using SharedServiceUnitStorage
    Hi Anthony, 
     

    We have a scenario where we need to connect to a different tenant's Azure Blob Storage and perform file upload/download operations on its containers. Currently, this is working fine using connection strings.

    However, as per the deprecation notice in the link below, the end of support for sharing storage account connection strings via public API GetCsuStorageConnectionString has been announced, and the recommended approach is to use SharedServiceUnitStorage instead:
    End of Support for Connection Strings.

    Unfortunately, we don't have detailed information on how to implement SharedServiceUnitStorage for this scenario

    Thanks!
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 1,936 Super User 2024 Season 2 on at
    Upload/Download Files to Azure Blob Storage in a Different Tenant Using SharedServiceUnitStorage
    Hi Suren
     
    What's your scenario?
     
     
    So, this will be a problem if you are connecting to the F&O connected blob storage for an F&O instance on a different tenant - is that your scenario?
     
    Anthony

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,462 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,366 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans