while trying to transcript for video, I got this error message

vardhan reddy 0 Reputation points
2023-06-12T09:47:21.64+00:00
Error creating output asset: Error: The client 'b810951d-3971-46e5-bd09-5e6fbbd90a46' with object id 'b810951d-3971-46e5-bd09-5e6fbbd90a46' does not have authorization to perform action 'Microsoft.Media/mediaServices/assets/write' over scope '/subscriptions/db91cc61-ae7b-4918-a30a-f577a2657913/resourceGroups/media-vardhan/providers/Microsoft.Media/mediaServices/mediastorage1122/assets/outputAsset_june12-06-2023' or the scope is invalid. If access was recently granted, please refresh your credentials.
    at E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\azure-arm-mediaservices\lib\operations\assets.js:485:19
    at retryCallback (E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\filters\systemErrorRetryPolicyFilter.js:89:9)
    at retryCallback (E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\filters\exponentialRetryPolicyFilter.js:140:9)
    at E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\filters\rpRegistrationFilter.js:59:14
    at handleRedirect (E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\filters\redirectFilter.js:39:9)
    at E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\filters\formDataFilter.js:23:14
    at Request._callback (E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\ms-rest\lib\requestPipeline.js:125:16)
    at Request.self.callback (E:\WorkForOffice2023\storage-blob-upload-from-webapp-node\node_modules\request\request.js:185:22)
Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
317 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 26,721 Reputation points Microsoft Employee
    2023-06-13T19:11:03.17+00:00

    @vardhan reddy ,

    To better assist you on this, what specific permissions do you have on the resource? Was this working fine or has it been the case since the setup/configuration?
    Are you referring to any specific Azure docs for the steps? Analyze video and audio files with Azure Media Services

    Just to highlight, you must assign Azure roles to your app to manage Azure resource as per this doc. Assign Azure roles using the Azure portal and you may wish to know   - Azure AD roles and Azure roles are two different roles, see this doc: Differences between Azure roles and Azure AD roles

    If the issue still persists, please provide more information on the specific steps you are taking and the exact error messages you are receiving. This will help us to better understand the issue and provide more targeted assistance.

    Note: Kindly do not share any PII data on the public forum,

    0 comments No comments

Your answer

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