Showing results for 
Search instead for 
Did you mean: 
Advocate V
Advocate V

Kaizala Howto use: MicrosoftKaizala.UploadMediaFileContent( fileContent )

So, trying to upload some media from pc to kaizala.
Should be easy on our "low code" platform 🙂
There is a predefined function for that, so all I need to do is provide the right argument.


MicrosoftKaizala.UploadMediaFileContent (file fileContent)


Summary: File Content

Description: The media should be in multipart form.


That is not very clear to me.

No way I can upload from a html form in powerapps.  🙂 

What could they mean by that "multipart form".

And anyway, multipart means, provide the right names with the right content. 


So I've tried multiple varieties of "file" type stuff I used in other apps, just to see if anything matches:



MicrosoftKaizala.UploadMediaFileContent( {file:{ name:First(attach.Attachments).Name, content:First(attach.Attachments).Value } });



It does say that it expects a "blob"

So I tried to give it a blob:



MicrosoftKaizala.UploadMediaFileContent( Image1.Image );



But this, just like everything else I tried gives me:


MicrosoftKaizala.UploadMediaFileContent failed: {
"message": "No file to upload!",
"errorCode": "InvalidParameters",
"errorCategoryKey": "InvalidParametersException"


Did anyone try this?

Anyone got a clue?





Helper II
Helper II

Hi mate,


Have you tried using the Microsoft Kaizala sections in PowerAutomate? 

See here:

Sometimes PowerApps doesn't handle stuff like this well. You can pass the image content as Base64 to Flow, and then work out what the action needs. PowerAutomate should also give you a bit more information as to what is breaking as well.


Message me if you need a hand, happy to take  look 🙂



Jacob Shand | Automation Specialist

NextStep Creations

Taking your PowerApps Skill the NextStep


I've given this a try.


I made a fileupload flow that can accept the media and a kaizala groupID and adjusted the powerapp to use that. 





But unfortunately I am where I was.


Seems I will need to wait with Kaizala development, until some day Microsoft gets the act together on the Kaizala connector.


I'm not finding very much to work as expected.

Even though I'm definitely not yet doing anything special.



When I hover the "Upload media from attachment" control, it helpfully says: 


Media file in base64 format


Don't be like me. Don't believe it.  Use binary instead.




Let's see where this gets me 

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (15,964)