Share via

Error on programmatically Start call Recording with own blob storage

Agarwal, Ansh 50 Reputation points
2025-06-20T13:34:42.1766667+00:00

Hi, I was using following piece of azure code to start recording with my own blob storage, but it is not able to start the recording

User's image

same when i try removing this last param recording_storage it is working fine. so what is the issue, and for <container_url> i am passing it by generating it from azure portal from container from shared access token, and by drilling down the below error is returned

User's image

kindly assist quickly, i am in middle of Prod Issue. thanks

Azure Communication Services

Answer accepted by question author

Bhargavi Naragani 7,940 Reputation points Moderator
2025-06-23T08:17:31.4733333+00:00

Hi @Agarwal, Ansh,

Even when using your own Blob container (BYOS), ACS still emits a RecordingFileStatusUpdated event containing ACS-hosted download URLs:

  • contentLocation
  • metadataLocation
  • deleteLocation

These are temporary ACS URLs (valid for about 24 hours) meant for convenience and API consistency. Meanwhile, the recording file itself has already persisted in your Blob storage container.

So, you have two options after recording finishes:

  • Download directly from your Blob container anytime.
  • Use the temporary ACS URLs to download or delete the file within the time window.

You can verify this behavior in the Microsoft docs:
Call Recording Event Schema with contentLocation & metadataLocation https://learn.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/call-recording#event-grid-notifications
Bring Your Own Storage Overview (noting ACS keeps files 24 hrs)
https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/call-automation/call-recording/bring-your-own-storage?pivots=programming-language-java

If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

Let me know if you have any further Queries.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.