Comments (5)
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jalauzon-msft @vincenttran-msft.
from azure-sdk-for-python.
@vibhansa-msft , I used the sample here, it didn't work. https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/storage/azure-storage-file-share/samples/file_samples_authentication.py#L85, any idea?
from azure-sdk-for-python.
Hi @LiliDeng, what version of azure-storage-file-share
are you using? OAuth support was only added to file-share somewhat recently in version 12.12.0
, see CHANGELOG. You will need to be using at least this version to use a TokenCredential
with the Files service. Also please be sure you are passing token_intent
as the sample code does as this is required for Files OAuth. Also note that file-share has its own set of RBAC roles.
Additionally, there are some restrictions with Files OAuth in that it will only work on File/Directory level operations and will not currently work with Share level operations like Create Share, Delete Share, etc. Support for Share level operations is currently being worked on by the service team and should be coming to the SDK later this year.
from azure-sdk-for-python.
Hi @LiliDeng. 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.
from azure-sdk-for-python.
Hi @LiliDeng, what version of
azure-storage-file-share
are you using? OAuth support was only added to file-share somewhat recently in version12.12.0
, see CHANGELOG. You will need to be using at least this version to use aTokenCredential
with the Files service. Also please be sure you are passingtoken_intent
as the sample code does as this is required for Files OAuth. Also note that file-share has its own set of RBAC roles.Additionally, there are some restrictions with Files OAuth in that it will only work on File/Directory level operations and will not currently work with Share level operations like Create Share, Delete Share, etc. Support for Share level operations is currently being worked on by the service team and should be coming to the SDK later this year.
Thank you, I will upgrade the package and have a try.
from azure-sdk-for-python.
Related Issues (20)
- Regenrating Log Analytics Workspace Shared Keys fails with missing parameter that cannot be set. HOT 4
- Race condition between non-async AI Search methods. HOT 1
- [pipeline] remove existing generated files before regeneration
- AzureML v2 sdk - Retrieving a job fails HOT 1
- [azure-mgmt-compute] get_instance_view method of virtual_machine_scale_set_vms paramter error. HOT 3
- [breaking_changes_tracker] support to detect new Model generated from Typespec
- [changelog] adopt `breaking_change_tracker` in pipeline
- cache_configuration cannot be set to Null (None in Python) to remove AFD Route Caching once turned on HOT 4
- AzureML SDKV2 - ml_client job stream error - ManagedIdentityCredential authentication unavailable HOT 1
- Document the APPLICATIONINSIGHTS_OPENTELEMETRY_RESOURCE_METRIC_DISABLED environment variable HOT 1
- Error while trying to delete local endpoint HOT 1
- TCN Forecaster: The provided path to the data in the Datastore does not exist. HOT 1
- Workspace AmlCompute does not have correct compute region from SDK. HOT 1
- AttributeError: 'StorageManagementClientConfiguration' object has no attribute 'api_version' HOT 1
- Azure Identity should not use Azure CLI's app ID HOT 1
- Adding more information to typeProperties key for a dataflow activity when using get() in DatasetsOperations class HOT 1
- Error (SearchIndexClient) Creating Index for Edm.ComplexType => The complex field ... cannot have the retrievable property set (STILL ONGOING) HOT 3
- Look into modifying `retry-after` headers to eliminate playback test poll waiting
- Invoice prebuilt models of Document Intelligence does not detect all line items HOT 1
- LROPoller.result() cannot occasionally locate the requested message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-python.