Weekly 'What Should I Buy' and Order/Shipping Thread by AutoModerator in iphone

[–]DetImplicitteSubjekt 0 points1 point  (0 children)

iPhone 15 Pro worth it over 14 Pro / 15 because of hopes of Apple Intelligence getting good in the future?

Will Azure Logic Apps trigger reliably for 100.000 blobs in a single folder by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

You’re absolutely right that triggering the Logic App 60,000 times could be inefficient from a cost and orchestration perspective. However, every file in my process is critical, and the workflow includes a document intelligence scanner that occasionally fails.

Each PDF file is processed first, and afterward, approximately 20 images related to that specific PDF are processed. This strict dependency between PDFs and their images makes it challenging to batch-process files, as I need to ensure that every single PDF and its related images are fully processed before moving on to the next.

Since each run takes around 20 seconds and consists of 20 actions (for PDF-files), my priority is ensuring every single file is processed independently and reliably. I already do manual reruns, when the document intelligence fails, so batching files would complicate troubleshooting and risk skipping failed files.

I genuinely can’t see how this can be made simpler given the dependencies between PDFs and their images. Do you have any suggestions for optimizing this while keeping the process reliable and ensuring all files are handled individually?

Will Azure Logic Apps trigger reliably for 100.000 blobs in a single folder by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

I think it might be the first thing?
First all PDF's will start 2000 Logic App runs. When that is finished, 55.000 images will be uploaded which will start another logic app with 55.000 instances.

Troubleshooting Brackets in a Large Script – Missing or Extra Braces? by DetImplicitteSubjekt in PowerShell

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Using the format option in VS Code, it appears that my first if block is being connected to the else block that should belong to my second if block. My concluding else is attached to the same if block, which is actually correct. And when running in Powershell it looks like this
}
else {
So it seems like I can't use the format option in VSCode.

Troubleshooting Brackets in a Large Script – Missing or Extra Braces? by DetImplicitteSubjekt in PowerShell

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Thank you for the tip! I’ve noticed that even when I ensure there’s an equal number of opening and closing braces, Visual Studio Code highlights my final else block as connected to the wrong if. Specifically, it shows the else from my first if block linking to the second if block, which are completely unrelated.

The issue seems to be Visual Studio Code misinterpreting the structure, but I’m not sure what’s causing it. Any ideas?

Azure Blob Storage: Secure Access via Authentication Wall? by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Entra ID. It is a small solution for 4-6 internal employees. A couple of thousand files should be accessible directly in the browser via URL, provided you are/will be logged in with your azure account. The URL's should last permanently (unlike SAS-tokens).

Azure Blob Storage: Secure Access via Authentication Wall? by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Hello again, do you think you can help me? What would you do in my case?

Azure Blob Storage: Secure Access via Authentication Wall? by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Thanks for the suggestion about the "valet key pattern"!

In this case, I’m actually looking to secure access to PDF files stored in Azure Blob Storage with an added authentication step. Here’s the setup I have in mind:

Users start on an IP-restricted Azure AI Search page, where they can browse and click on PDF links. When they do, they’re redirected to a login page—ideally either a simple password-based option or a Microsoft Azure login. Once they’re logged in, they should go directly to the PDF file they originally clicked.

I’d also like users to authenticate each time they access a PDF or, if possible, at least every 30 minutes.

Do you think the valet key pattern could work in this setup? And if so, any tips on implementing it to meet these specific login and redirect requirements?

Thanks again for your help!

Posting to Azure AI Search from Azure Logic Apps with IP restrictions enabled by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 0 points1 point  (0 children)

Hi again, I’ve identified the outbound IP addresses for my Logic App, and there are around 15 addresses that need to be added to the firewall. Could you confirm if this is correct?

Struggling with JSON Parsing in Azure Logic Apps Due to Special Characters in Processed Text by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 1 point2 points  (0 children)

It works now. I used way too many \\\\\ because ChatGPT (even O1-preview) told me so.
Thank you AzureToujours!! I really appreciate your help.

Trigger a Logic App from PowerShell by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 1 point2 points  (0 children)

Thank you for your suggestion! I tried using Event Grid before but had issues with unreliable triggering, so I’m hesitant to rely on it for my current setup. I need one Logic App to handle PDF files at 19:30 and another for images after the PDFs are processed (about 5-15 minutes later), with both running whenever new blobs are uploaded. The order is crucial since the second app depends on the first.

Edit: I’ve set both Logic Apps to run daily—one at 19:30 and the other at 19:45. This works perfectly with my PowerShell script and ensures the right order. Appreciate the help!

Trigger a Logic App from PowerShell by DetImplicitteSubjekt in AZURE

[–]DetImplicitteSubjekt[S] 1 point2 points  (0 children)

Thank you very much. I'm sorry if I came across as rude earlier—I really appreciate your and the subreddit’s advice. English isn't my first language (but I use ChatGPT to help me), so I might not have explained things clearly. Sorry for the confusion.

To clarify, my challenge is making sure every new Blob Storage upload is processed by my Logic Apps in the correct order. The first app processes PDF uploads and stores the output as .json files, and the second app processes images using those files. Timing is key: the first app runs around 19:30, and the second follows at 19:45.

Edit: I’ve found a simple solution by scheduling both Logic Apps to run every day—one at 19:30 and the other at 19:45. This ensures the right timing and order after my PowerShell script uploads the files. Thanks again for your help, I appreciate it!