Hi friends,
need a help. i am trying to record a audio using Microphone control. And storing it is Share point library. The file is getting created successfully when the Power automate flow is executed. But when i download the created file from sharepoint library, i am not able to play this. This is saying unsupported format.
On Stop of my Microphone, my code is as below :
Set(varTempRec,Microphone1.Audio);
Set(varTempJson, JSON(Microphone1.Audio,IncludeBinaryData));
Set(StringB64Audio,Mid(varTempJson,25,Len(varTempJson)-25))
On the Save Button my code is :
SaveAudio.Run(StringB64Audio,TextInput1.Text,Audio1.Duration)
and My flow is as below

I can see my file successfully created

But when i try to play this... it is not playing. I tried changing the format of file (like mp3 or webm) but it is not working.
webm files not starting to play and just showing like it is disabled.

and if i save as mp3, this is the response below.

Please help. I am unable to isolate the issue.