Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Assistance with AuthorizationPermissionMismatch exception in MediaInfo Azure Function #1040

Open
BrettThib opened this issue Apr 30, 2021 · 0 comments

Comments

@BrettThib
Copy link

Which service(blob, file, queue, table) does this issue concern?

Blob and Azure Functions

Which version of the SDK was used?

Azure.Storage Blobs 12.8.3
Azure.WebJobs.Extensions.Storage 5.0.0-beta.2

Which platform are you using? (ex: .NET Core 2.1)

.Net Core 3.1

What problem was encountered?

Attempting to implement an Azure Function that runs MediaInfo against a existing Blob using the sample program found at https://github.com/Azure-Samples/functions-dotnet-core-mediainfo/tree/main/

As far as I can tell, my function app should have appropriate access rights to the Blob container (Contributor and Reader and Data Access). Whenever I call the function with my blobUri parameter, I get the following:

"Service request failed.\r\nStatus: 403 (This request is not authorized to perform this operation using this permission.)\r\nErrorCode: AuthorizationPermissionMismatch\r\n\r\nHeaders:\r\nTransfer-Encoding: chunked\r\nServer: Windows-Azure-Blob/1.0,Microsoft-HTTPAPI/2.0\r\nx-ms-request-id: e004f14c-301e-0099-15e9-3d9f43000000\r\nx-ms-client-request-id: 2db202cd-c78f-4ba9-bb09-d6399cdeafed\r\nx-ms-version: 2020-06-12\r\nx-ms-error-code: AuthorizationPermissionMismatch\r\nDate: Fri, 30 Apr 2021 17:53:24 GMT\r\n"

How can we reproduce the problem in the simplest way?

Implement the code from https://github.com/Azure-Samples/functions-dotnet-core-mediainfo/tree/main/

Have you found a mitigation/solution?

No. Hoping someone can look at the request Id and provide some guidance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant