question

AmarnathManchala-5911 avatar image
0 Votes"
AmarnathManchala-5911 asked MayankBargali-MSFT answered

Azure logic app blob trigger with SAS token

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

@AmarnathManchala-5911 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)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.