426 questions
0
votes
0
answers
93
views
Signing JWT not working: An exception of type 'System.MethodAccessException' occurred
I'm trying to sign a JWT with a key that is stored in an Azure Keyvault using the keyvault as signer, in a way that the actual private part of the key never leaves the keyvault.
I've come-up with the ...
2
votes
0
answers
106
views
Query AI Foundry Data Agent from Python and receive a response
I recently set up a Microsoft Fabric Data Agent and connected it to AI Foundry. I now have my data agent on AI Foundry, with its source being the Fabric Data Agent. My goal is to ask questions to this ...
0
votes
0
answers
39
views
Azure SDK for CPP Refresh token authentication
I have application that uses azure-sdk-for-cpp (new Azure SDK). And I want to rewrite old implemetation of authentication that uses bearer token. Previously we were using it like this.
RefreshToken(...
1
vote
1
answer
186
views
Azure CDN Purging Issue using .NET Core
I'm trying to purge content from an Azure CDN endpoint using the Azure.ResourceManager.Cdn SDK (version 1.3.1) and Azure.ResourceManager (version 1.13.1) in a C# application.
The code compiles and ...
0
votes
1
answer
114
views
Azure SDK for CPP MFA authentication
I'm using azure sdk for cpp SDK within my application. Now I would like to implement MFA authentication by seems that Azure SDK for cpp does not supports it. And also that there is no MSAL for cpp.
Is ...
0
votes
1
answer
105
views
How can I get a ACS ID for initiating a 1:1 voice all using Azure Communication Service?
I am using the sample code from Azure to trying the JS SDK of the Azure Communication Service. Now I am trying to initiate an outgoing call. But the API needs the ACS ID for the outgoing call and I am ...
-1
votes
1
answer
93
views
Create a custom domain with Azure SDK using resourcemanager (Dns and App Service)
I want to automate the creation of custom domains
The AddCname and AddTxt Methods work correctly
Add Subdomain gives error 400
I am a bit lost on how to create the hostnamebinding. What values do i ...
0
votes
1
answer
127
views
Invalid HTTP Header When Uploading PDF
I am using the Azure Typescript SDK to upload PDF documents into Azure Blob Storage. I have verified that I have the correct permissions, as I am able to use this code to upload documents (xlsx, csv, ...
0
votes
1
answer
83
views
Azure SDK for CPP permission 403
I'm testing dummy Azure application which tries to read information about blob. Public access is denied, I am using two private endpoints, one with DFS type another with BLOB type.
With previous SDK ...
1
vote
1
answer
101
views
List root directory using ListBlobsByHierarchy using azure sdk
I'm trying to list root directory in container.
Storage account: Data Lake Storage with hierarchical namespace ON
Interface used: BlobContainerClient
Folder structure
ROOT DIR:
dir1->blob2
blob1
...
0
votes
0
answers
101
views
Azure SDK connection to private endpoint
I am using azure sdk for cpp, and I am trying to connect to private endpoint.
I have ADLS gen2 storage account, with app registration with secret, so I am able to connect to the ADLS with OAuth.
How ...
1
vote
1
answer
566
views
DefaultAzureCredential not working on an Azure Arc enabled Windows Server
I have an arc enabled Windows Server 2022.
Im using DefaultAzureCredential and trying to use the Azure assigned managed identity to Authenticate to Azure key vault (and also azure storage at some ...
0
votes
2
answers
194
views
How to get all possible AppServicePlan configurations from an Azure subscription?
I want to get a List with all possible AppService Hosting Plan configuration settings of my Azure subscription(Location, Tier, Size,...). Possibly through skus.
It should be done using Azure SDK for ....
0
votes
1
answer
227
views
Azure Storage Files: Issue Generating SAS for a Directory
I'm trying to generate a Shared Access Signature (SAS) for a directory in Azure Storage File. Below is the code I'm using to create the SAS:
ShareSasBuilder sasBuilder = new ShareSasBuilder
{
...
0
votes
1
answer
120
views
400 XML specified is not syntactically valid
I am using azure-sdk-for-cpp and I am getting 400 XML specified is not syntactically valid when using CommitBlockList. Is there a way I could see what is wrong with XML?
I've tried to read logs, there ...
0
votes
1
answer
510
views
Azure Speech Service (v3.2): Poor speaker diarization quality with batch transcription + How to choose correct base model?
Current Issue
Using Azure Speech Service v3.2 with batch transcription
Speaker diarization fails to distinguish between male and female speakers
Previously worked well
Using mono audio file
Current ...
0
votes
1
answer
135
views
Issue with Media Playback in Azure Communication Services Using Python
Context: We are building a bot using Azure Communication Services (ACS) and Azure Speech Services to handle phone calls. The bot uses text-to-speech (TTS) to play questions during calls and captures ...
2
votes
1
answer
406
views
Issue with speech-to-text integration in Azure Communication Services
Context: We are building a bot using Azure Communication Services (ACS) and Azure Speech Services to handle phone calls. The bot asks questions (via TTS) and captures user responses using speech-to-...
0
votes
0
answers
84
views
How to add suppression list to azure domain using nodejs sdk?
In my application i have to add suppression list on the domain using nodejs sdk
And i was following this documentation but now i stumbled upon the issue is this documentation is not upto date.
MS ...
0
votes
2
answers
410
views
Cannot connect to Azure Event Hub
I am trying to use azure-sdk-for-cpp to connect to Azure Event Hub. But it is not working, I get error "Could not open Claims Based Security object."
I am following samples in the sources.
I ...
0
votes
2
answers
184
views
Azure SDK for CPP DownloadTo function very slow
I've integrated Azure SDK for CPP in my application, and there is significant slow down compared to old Azure SDK.
After upgrade for Upload Azure-sdk-for-cpp parallelism, upload works better, but ...
0
votes
1
answer
164
views
Azure-sdk-for-cpp parallelism
I've integrated new azure-sdk-for-cpp in my project. Time for read/write is significantly bad.
Using blockBlobClient StageBlock and CommitBlockList, any example from SDK, almost 1 to 1 same ...
0
votes
1
answer
304
views
Role based access to Azure Blob Storage
I have Azure storage account and Azure VM with my application deployed on it. I am accessing Azure storage account from VM using Managed Identity authentication.
Now I would like to be able to limit ...
0
votes
1
answer
1k
views
Setting up Managed Identity authentication for Azure Storage Account
I have Azure Storage account Gen2 (Azure Datalake) on which I want to set MSI(Managed Identity) authentication.
Goal is to access ADLS from the application which is using Azure SDK for CPP and which ...
0
votes
1
answer
97
views
Azure Gstreamer error - basesrc gstbasesrc.c:3072: error: streaming stopped, reason error (-5)
We are using GStreamer in azure realtime speech to text, Actually Azure uses gstreamer internally to convert any audio format being streamed to their supported PCM format. When we deploy this ...
0
votes
2
answers
613
views
Document intelligence didn't work after deployment to azure
I have asp.net web app with following code which works in local system (Mac OS) but didn't work in Azure Web App (Linux) after deployment.
I checked the api key and api endpoint with logging and they ...
1
vote
1
answer
220
views
Azure Table Storage SDK: Continuation Token Not Working, Fetches Same Data Repeatedly
I am using microsoft/azure/storage-table v1.1 SDK in PHP to fetch entities from my Azure Table. My objective is to retrieve all entities. There are over 2000. When you retrieve entities Azure will ...
0
votes
1
answer
226
views
Deleting an Azure Loadbalancer Frontend IP configuration from python?
I'm writing something to clean up our old Azure resources, and one thing that comes up from time to time is public-ips still bound to a kubernetes-created loadbalancer even after the Ingress was ...
0
votes
1
answer
303
views
Azure.QueueClient: error when connecting to host.docker.internal
I am experimenting with Aspire.
When you create an Azure Storage in Aspire and try to inject the connection string to another container it resolves with hostname: host.docker.internal.
var storage = ...
0
votes
1
answer
816
views
java.lang.NoClassDefFoundError: Could not initialize class reactor.netty.http.client.HttpClientConfig while using azure ad
Getting the following exception when using azure. Here is my pom.xml
<dependencies>
<dependency>
<groupId>com.microsoft.graph</groupId>
<artifactId>...
0
votes
1
answer
156
views
Can we use startswith for businessPhones in the filter in azure ad
I was going through the Azure User class. And in the User class for the attribute businessPhones i see the comment as follows
/**
* The Business Phones.
* The telephone numbers for the user. NOTE: ...
2
votes
1
answer
107
views
One user cannot create subscription inside topic in Azure Service Bus (JavaScript)
One user of my aplication that should create subscription in a specific topic is unable to do so (all of the others can). User is getting error with the following content:
<Error>
<Code>...
1
vote
0
answers
115
views
How to mock AsyncIterable paging sub-call from Jest mock?
I'm trying to mock an Azure SDK PagedAsyncIterableIterator, using Jest. The unit test fails on the ".byPage()" method call, with the error TypeError: this.storageManagementClient....
0
votes
1
answer
189
views
How to track Azure Communication Services phone number purchase operation asynchronously using Azure.Communication.PhoneNumbers SDK?
I'm using the Azure.Communication.PhoneNumbers SDK version 1.1.0 for C# to purchase phone numbers in Azure Communication Services (ACS). I'm following this guide which demonstrates how to perform the ...
1
vote
0
answers
83
views
How to filter Virtual Machines with a wildcard in Azure SDK
I am working with Azure SDK in Node.js and I want to get Virtual Machines by their prefix because I do not have their complete name.
I tried to use the wildcard but it is not working.
In the arm-...
0
votes
1
answer
100
views
Azure Table Storage Query with Timestamp Filter Returns Inconsistent Page Sizes
We have an Azure Table Storage setup where we store a large amount of data for different organizations. We use the Organization ID as the partition key.
For some operations, we need to fetch data from ...
0
votes
1
answer
122
views
How to find out if hierarchical namespace is enabled or not using OAuth with Azure sdk for cpp
I'm trying to get account info to find out if hierarchical namespace is enabled or not. But if I use OAuth method, this function fails...
There is no official statement, or at least I did not found it,...
0
votes
1
answer
336
views
List folders using ListBlobsByHierarchy using Azure SDK for cpp
I am using azure sdk for cpp, and I am using option ListBlobsByHierarchy.
When I use ListBlobsByHierarchy, I get result almost as I have expected, all the blobs are there, all the virtual directories ...
0
votes
1
answer
375
views
While Hierarchical namespace enabled cannot upload blob with metadata hdi_isfolder
I am using Azure Datastorage Gen2 and I have came across problem that I cannot create virtual directory when Hierarchical namespace option is enabled.
If I try to do this
const std::string ...
1
vote
1
answer
259
views
Proper way to get the AppSettings for all app services in my resource group using Azure SDK for .Net
I am attempting to get a specific resource group, looping through the app service plans, then the app services, and inspecting the SiteInfo.AppSettings property but that property is always null for me....
0
votes
1
answer
330
views
ChatCompletion call with image as data url not working with com.azure:azure-ai-openai:1.0.0-beta.9
I am trying to send an image for ChatCompletion using the Microsoft provided Azure OpenAi java sdk "com.azure:azure-ai-openai:1.0.0-beta.9".
val cco = ChatCompletionsOptions(
...
0
votes
0
answers
167
views
How to consume credentials from a service connection in Azure DevOps SDK and use them to connect to an AWS account?
I'm developing a web extension and I'm trying to consume credentials from a service connection using the Azure DevOps SDK. My goal is to use these credentials to connect to an AWS account. Here is the ...
1
vote
1
answer
116
views
Azure SDK .NET - Delete blobs in batch using SAS
I have a Blob Container SAS with Add/Create/Write/Delete permissions (no Read, no List).
And I need to delete blobs in this container in a batch:
try
{
string sasToken = "sv=2023-0103&si=...
0
votes
1
answer
154
views
Stop and start an Azure SWA using the C# SDK
I have a Static Web App deployed to Azure. I need to temporarily stop it or redirect it to something like offline.html using the Azure C# SDK. I have an instance of a GenericResource class ...
0
votes
1
answer
244
views
Self Hosted Integration run time unable to find auth key using Azure.ResourceManager.DataFactory sdk Package
Unable to find any function to get the authentication key for SHIR
`ArmClient armClient = new ArmClient(
new ClientSecretCredential(tenantId, clientId, clientSecret,
...
1
vote
2
answers
695
views
Handle pagination in Python when interracting with Azure Graph API
I am getting all the resource groups tags in my tenant using an Azure Graph query which works perfectly using the Azure graph explorer from the portal.
Here is the query:
resourcecontainers
| where ...
2
votes
1
answer
1k
views
How do I set the Azure c# document intelligence prebuilt-layout model to return markdown
I am trying to run the prebuild-layout model using the C# SDK. I do not see anywhere I can set the outputFormat to markdown in the SDK.
From the docs:
Output to markdown format
The Layout API can ...
0
votes
1
answer
722
views
Basic scenario of authenticating to an azure registered app using ClientCertificateCredential returns "certificate does not have a private key"
I am new to Azure, and am trying a very basic scenario: locally authenticate to a registered app using a certificate credential.
The code is as follows:
public async Task<QueueClient> ...
1
vote
1
answer
294
views
How to fetch onPermisesSamAccountName along with default attributes of an user in azure ad sdk java
My azure ad sdk code to fetch all the users from a tenant is as follows
List<User> users = new ArrayList<>();
try {
UserCollectionRequestBuilder ...
0
votes
1
answer
217
views
How to programmatically configure proxy in Azure SDK for C++
How to programmatically configure Azure SDK for C++ (https://azure.github.io/azure-sdk-for-cpp/index.html) to use a specific proxy?
When using older package Microsoft.Azure.Storage.CPP.v140 I could ...