Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.09k stars 1.21k forks source link

Issue to access storage container from azure identity #31323

Open Hirend1 opened 1 month ago

Hirend1 commented 1 month ago

I need to access azure storage, containers, blobs user permission wise. for this I have try below two different ways. 1)try to get storage ,container and blobs using azure "azure/identity" and "azure/arm-storage packages. 2)try to get all in backend side. 1)try to get storage ,container and blobs using azure "azure/identity" and "azure/arm-storage packages. when try using this package everything work properly but when use my app in desktop system popup will not shown. this is main issue using this I'm facing. this is my code how to authenticate and get storage and containers. image and this is authentication popup : image

2)try to get all in backend side. From Using Create api for this in this also blob ,storage ,containers are display but in backend side its not properly handling user permission wise storage ,container and blobs.

so can you tell me how to get current user permission wise storage accounts, container and blobs .using my app is properly work in any system.

github-actions[bot] commented 1 month ago

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

Hirend1 commented 1 month ago

I'm waiting for your response.

EmmaZhu commented 1 month ago

Hi @jeremymeng , this doesn't seems like an issue from storage. Customer's issue should be InteractiveBrowserCredential doesn't popup login dialogs. Could you help to take a look?

jeremymeng commented 1 month ago

@EmmaZhu you are right! This is identity and storage management package.

jeremymeng commented 1 month ago

@KarishmaGhiya could you please help take a look?