You're correct that Microsoft Graph API has a 250MB limit for generating thumbnails, which poses a challenge for large files like high-resolution PSD/PSB formats. Since Power Automate is restricted due to DLP policies, here are some alternative approaches you can consider:
Alternative Solutions for Generating Thumbnails for Large Files
1. Use a Local or Server-Side Image Processing Tool
You can set up a backend service (e.g., using Node.js, Python, or .NET) that:
- Downloads the large file from SharePoint.
- Uses a library like:
- ImageMagick or GraphicsMagick (for PSD/PSB support)
- Python PIL/Pillow (for basic image formats)
- PSD.js (for parsing PSD files in Node.js)
- Generates a thumbnail (e.g., 300x300px JPEG).
- Uploads the thumbnail back to SharePoint or stores it in a separate location.
This avoids the Graph API limitation entirely.
2. Use Desktop Batch Tools like ImBatch
ImBatch is a free Windows tool that can batch process large image files, including resizing and thumbnail generation. You could:
- Download the files locally.
- Use ImBatch to generate thumbnails.
- Re-upload the thumbnails to SharePoint.
This is more manual but useful for one-off or periodic processing.
3. Use Azure Functions or Azure VM
If you're open to cloud solutions outside Power Automate:
- Deploy an Azure Function or Azure VM with ImageMagick or another image processing tool.
- Trigger it via an HTTP request or SharePoint webhook when a file is uploaded.
- Process the file and store the thumbnail.
This gives you full control and avoids DLP issues tied to Power Automate.
🏷️ Tag me if you have any further questions or if the issue persists.
✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems. ❤️ Give it a Like if you found the approach useful in any way.