Azure / azure-sdk-for-go

This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at:
https://docs.microsoft.com/azure/developer/go/
MIT License
1.62k stars 826 forks source link

AuthorizationFailure for azure storage sdk #23312

Closed jdattatr-tibco closed 1 month ago

jdattatr-tibco commented 2 months ago

Is OAuth Client credentials supported by the sdk?

I have created service principal.To my storage account I added the role to this principal of Storage Account Contributor.

When I run my go app which creates a new directory in the share I get bellow error

RESPONSE 403: 403 This request is not authorized to perform this operation. ERROR CODE: AuthorizationFailure

github-actions[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.

RickWinter commented 1 month ago

Can you share a snippet of code surrounding how you constructing the ManagedIdentity credential.

github-actions[bot] commented 1 month ago

Hi @jdattatr-tibco. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

github-actions[bot] commented 1 month ago

Hi @jdattatr-tibco, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!