Hello Folks,
The aim is to update a user profile photo stored in CDS (PowerApps) to the Active Directory using Graph API - and for that I am using Flow.
1. To get the image from CDS - I am using the [Get file or image content] action - in the output we are getting the image content.

2. thereafter converting the content into base64 for further processing with Graph Api. The processing of the Compose action is successful, however when we see the output, the end of the string is not properly closed/formatted.


3. The next step would be to update the AD using Graph Api hence using the HTTP action - but its failing with a HTTP Failed error - I feel its because of the length of the content.


Any clue how can I overcome this ? or another approach to update the user profile photo to the AD ?
Regards.