
Hello Experts,
We are fetching the entity image from CRM entity using Power Automate connector and the size of the image is not as expected. It is been reduced to 144*144 pixels.
Please guide us how can we fetch the image with original size instead of reduced size using Power Automate connector.
Thank You !
Hello InkeySolutions,
When you use the Power Automate connector for Dynamics 365 CRM to fetch the entity image, it automatically resizes the image to 144x144 pixels. If you want to fetch the image with its original size, there are a few things you can try:
You can use the 'List records' action in Power Automate and fetch the image by its URL instead of the image data. The image data is base64 encoded and is resized to 144x144 pixels by default, but the URL will point to the original size.
You can use a plugin that can be triggered on Retrieve of the Entity and sends the image field as binary data, then you can use 'Get file content' connector of Power Automate to get the image
You can use a custom action in Dynamics 365 and retrieve the image, you can use Power Automate action 'Invoke an HTTP request' to call that custom action, which retrieves the image in its original size.
As a final solution, you can use any web development language to create an API endpoint that retrieves the image using the Dynamics 365 Web API and then use the Power Automate's 'HTTP' action to call that endpoint, which allows you to retrieve the image in its original size.