web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to call azure blob...
Power Apps
Unanswered

How to call azure blob api from dynamics 365?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone,

 

I am using azure blob as the storage for my power apps application. I tried out-of-the-box integration of powerapps portal with azure blob. But  I want to have additional functionalities like searching files stored in Azure blob storage from the powerapps model driven app. And also adding metadata to the files when we are uploading files within dynamics system.

 

So I am thinking of using azure blob search api and put metadata api's.

 

This is the first time I am working on API's. I wanted to know how to call API from Dynamics? 

 

Thank you.. 

 

 

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    So, first you need to define how you are calling. If you want to add a Search experience, then it is almost certainly client side. This is a problem, because calls executed client side potentially expose your authentication mechanism (assuming you won't be using the currently logged in user's AD token to authenticate to Blob) and also can run into Cross-Origin Scripting (CORS) issues that will block your traffic from going through.

     

    So, in order to protect your authentication and escape CORS issues, you will probably need to create an intermediary (An Azure Function, perhaps?) that is itself an API you can call, passing in the current user's AD token, and it then uses a connection string or whatever mechanism to hit the Blob.

     

    Alternatively, you can use a Release build PCF; because the script gets bundled your auth information is relatively secure, but in this case you still run the risk of a CORS exception, so you might need to create an intermediary anyway.

     

    Anyway, working with APIs is really easy (other than auth and CORS). You just pick your endpoint, pick your verb, and wrap up your message body and send it. There are about a million walkthroughs on basic API calls, including this handy reference to Blob APIs.  Also, I would recommend you check out Postman; it is a very convenient API testing tool that lets you rapidly try out API calls without needing to write code, then once you have a working call, Postman will give you the exact code to make that same code in the language of your choice (very nice!).

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard