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 / Help: Microphone Contr...
Power Apps
Answered

Help: Microphone Control on mobile devices

(0) ShareShare
ReportReport
Posted on by

have a question regarding PowerApps and the Microphone Control on mobile devices.

 

-Purpose is to attach the recording from a mobile device to a SharePoint item.

 

-The Issue

When recording on PC I get the base 64 data, and the solution works.

Example: "Datastream": "data:audio/webm;base64,GkXfo59ChoEBQve....................." (Very long string)

 

When recording on a mobile device I get the reference of a temp file, which stores the recording (I hope).

Example: "Datastream": "TempFiles/microphone-audio8789721259407601352.3gp"

 

-The Logic

The Microphone Control

OnStop Property:

Set(varTmpJson,{Title:Text(ThisItem.Title & " " & Now()),Datastream:micRecord.Audio});

UploadMicCapture.Run(ThisItem.ID,JSON(varTmpJson,JSONFormat.IncludeBinaryData));

 

In Flow

Initialize variable

String asks in PowerApps, which returns the variable defined above

I compose the initialized variable: json(variables('b64Audio'))

Parses JSON from the Output

And at the end i Add attachment to SharePoint item

dataUriToBinary(body('Parse_JSON')?['Datastream'])

 

-Finally the question

Have any of you had any luck attaching the audio file using the Microphone control on a mobile device?

Categories:
I have the same question (0)
  • Verified answer
    a-ovbord Profile Picture
    Microsoft Employee on at

    Hi @mvingaard,

     

    It's normal that the audio is stored in 3gp format on the mobile device, it's mentioned on the documentation here.

    Can you check this post here and see if t helps solving your issue with saving the file?

     

    Thank you,

    Ovidiu

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard