web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sending Microphone rec...
Power Apps
Unanswered

Sending Microphone recording via Microsoft Flow using HTTP POST only works for desktop and not mobile

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I'm having issues trying to send audio recorded from PowerApps microphone to custom made API using Microsoft flow HTTP POST. I have successfully implemented this solution using the power apps on browser using the following code :

 

for microphone OnStop function I'm calling the following functions : 

Set(tmpJson,JSON(Microphone1.Audio,IncludeBinaryData));
Set(strB64Audio, Mid(tmpJson,25,Len(tmpJson)-25));

 

and for my submit button I'm calling flow which takes the base64 string parameter and send it via HTTP POST body

 

I have tried the same solution using the mobile app and it does not seem to be working. The string send to API is "dio8425894081742020559.3gp" which is not a base64 String. 

 

Can you please help me? Or perhaps guide me to documentation? Basically what I'm trying to do is record audio on PowerApps ,and post this  recorded audio to some server using the HTTP POST. I saw couple articles about converting the audio in to base64String using the JSON(Microphone1.Audio,IncludeBinaryData) function and then sending the string via Microsoft Flow.

 

 

Thanks for your time,

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @shervinmirsaeid ,

     

    Can you please share the related configuration in your Flow? 

     

    Also you should delete the ";" at the end of your formula.

     

    Regards,

    Mona

  • shervinmirsaeid Profile Picture
    2 on at

    I have attached a photo of my flow configuration to this message and I have also explained the steps below :

     

    1) first event is PoowerApps to trigger the flow

     

    2)Initialize variable from PowerApps trigger body 

    Type : String  

    Name : AudioBase64String

    Value : triggerBody()['initilizevariable_Value']

     

    3) HTTP method POST with following body :

    {
    "AudioBase64String": @{variables('AudioString')}
    }

    azurecomunity.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 223

Last 30 days Overall leaderboard