310 questions
0 votes
0 answers
88 views
Unable to Connect to Azure Blob Storage from Java Using Managed Identity
I am trying to connect to an Azure Blob Storage account from my VM using Managed Identity in Java. Below is the code I have implemented to establish the connection. I have made all the required ...
0 votes
0 answers
97 views
How to extract private part of RSA key from Azure Key Vault?
I'm using Java & Spring Boot for an endpoint which sole purpose is to create, sign and issue JWT. The library used for creating JWTs is java-jwt. I have a problem creating a com.auth0.jwt....
0 votes
1 answer
71 views
Applying back pressure while receiver and consumer are on different threads (Azure SDK for Java)
I am struggling to implement something and am hoping to get some guidance here. We are switching to ASB and need to fit our incoming message processing into an existing framework. Our requirements are ...
0 votes
2 answers
70 views
Azure SDK for Java lists some VMs with empty fields
I'm trying to enumerate VMs of Azure for a certain Resource Group. On some tenants the SDK returns part of the VMs with zeroed fields (like computerName() == 'null'). Code sample: var ...
0 votes
1 answer
622 views
10000ms timeout in netty while using azure java sdk connecting to ADL2
We are using the Azure java SDK to connect to ADL2 storage, and occasionally get an error like "connection timed out after 10000 ms". But I don't understand where that 10000ms timeout comes ...
0 votes
1 answer
87 views
Using sync I/O with ADL2 storage to reduce memory use in Java
We've used azure ADL2 for some time, and the amount of memory it consumes is problematic, forcing us to use awkward and lower-performing techniques. In a discussion in this github issue, it was ...
0 votes
1 answer
544 views
How to upload file to folder using BlockBlobClient
I am using azure-storage-blob Java SDK version 12.8.0 with SpringBoot 2.x, and I would like to do multipart-uploads from local storage to Azure blob container, it worked well when specifying the ...
0 votes
1 answer
244 views
How to filter users in directory by company name with Microsoft Graph Java SDK?
I'm working with Microsoft Graph API to get users from my organisation. Here's what I have so far that fetches all users: TokenCredentialAuthProvider authProvider = new TokenCredentialAuthProvider( ...
0 votes
1 answer
647 views
How do I disable logging on OkHttp okhttp3.internal.platform.Platform class, coming from OkHttpLoggingInterceptor?
How do I disable logging on OkHttp okhttp3.internal.platform.Platform class, coming from OkHttpLoggingInterceptor ? I get log messages , that I am unable to turn off from config in host.json . They ...
0 votes
1 answer
1k views
How to authenticate to Azure AD using java SDK
I am trying to create an authentication method to autheticate to azure ad for adding an removal of users via my java code. I have a free tier account setup for the same. below is the method I used for ...
0 votes
1 answer
319 views
Azure BlobContainerClient vs BlobContainerAsyncClient
I am just starting on code to download files from Azure blob using java SDK. while searching found two different clients for Blob. BlobContainerClient and BlobContainerAsyncClient. what's the ...
0 votes
2 answers
333 views
AccessDeniedHandler not called when using AadResourceServerHttpSecurityConfigurer
My application is a simple resource server — I am using AadResourceServerHttpSecurityConfigurer.aadResourceServer() to validate the given access token. The specific documentation I have followed can ...
2 votes
1 answer
393 views
Timeout error when reading large blobs in Azure container through Java SDK
I am trying to read the InputStream of a large blob from an Azure container and store it in another cloud storage of my own. For small files, it is working perfectly. But for large blobs (around 3GB), ...
0 votes
1 answer
137 views
Legacy JDK 8 project - Runtime error with Azure Java SDK
We want to integrate Azure Service bus Java SDk in a legacy project that has JDK 8. The project compiles fine, but spits out the following run time error: 'com/azure/spring/cloud/autoconfigure/...
0 votes
0 answers
234 views
Download blob to a path using azure blob java sdk with UTF-8 encoded file name
I have blobs in a folder location and sometimes the blob name has some Chinese characters in it. For example, I have blob name as 项目.xlsx. Currently I am using downloadToFile method where am trying to ...