Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Accessing Azure blob files via Custom workflow activity

(0) ShareShare
ReportReport
Posted on by 105

Hi Experts,

I've written a new workflow activity and I'm trying to access files from Azure blob.

I've provided the connection string to the storage account on Azure, and I'm then retrieving the container using CloudBlobClient class.

Entity blobnote = service.Retrieve("annotation", ent.Id, new ColumnSet(true));
string _blobfilename = (blobnote.Attributes["annotationid"].ToString() + "_" + blobnote.Attributes["filename"].ToString());

I've installed the nuget package for Windows.Azure.Storage(9.3.2), but when the workflow activity executes, it fails with the below error:

"could not load file or assembly 'microsoft.windowsazure.storage, version=9.3.2.0, culture=neutral, publickeytoken=31bf3856ad364e35' or one of its dependencies. the system cannot find the file specified."

Can you please help me understand what I'm I missing here?

Thanks!!

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Accessing Azure blob files via Custom workflow activity

    Hi,

    Follow below article to merge your 'microsoft.windowsazure.storage' assembly to main assembly as CRM only accept one dll. You will need to merge this to main assembly so that it will known at runtime.

    www.inogic.com/.../

    Please Mark My Answer Verified If I Were Helpful

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans