Azure logic app blob trigger with SAS token

Amar-Azure-Practice 661 Reputation points
2021-08-03T02:55:18.643+00:00

I have to build a logic app to access the blobs generated by another vertical in the same organization.
The Blobs were hosted in one Azure subscription and we have beem provided with the SAS token with read access on the blob container.

We have logic app in different subscription , from logic app we need to access the file using the blob trigger (whenever a new blob created in the container) I need to run the logic app work flow

i don't see an option to connect to blob using the SAS token.

as work around i can have timer trigger and Http with SAS Token URL but i will not be able to identify the which files were newly added and which one were already processed.

can anyone suggest the bets possible way to do this.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,546 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2021-08-03T03:14:21.5+00:00

    @Amar-Azure-Practice You can only use connection string with "when a blob is added or modified" trigger. If you don't want to use the connection string and only want to use the SAS token then the alternative will be using the When a resource event occurs event grid trigger in logic app.

    Workflow:
    Storage (sends events to configured endpoint i.e. logic app) --> Event grid trigger (logic app trigger) --> HTTP call using SAS token to get the blob (logic app action)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.