577 questions
0
votes
1
answer
99
views
Sending data to Azure EventHub has many "slow" Send calls, linked with PartitionCount
I am sending data to EventHub, using EventHubProducerClient and EventDataBatch in C#.
However, I notice there are many times that the SendAsync takes multiple seconds (10 seconds sometimes), whereas ...
0
votes
1
answer
85
views
Azure.Storage.DataMovement - AzureCredential.GetToken is called every time a blob is moved
I am using IAzureClientFactory<BlobServiceClient> to create a BlobServiceClient, from which I generate StorageResource objects for data transfer. I am registering my clients using the services....
0
votes
1
answer
467
views
How do I save and later load Azure DocumentIntelligence AnalyzeResult in c#
Want to persist, in c#, the result of a document analysis and rehydrate back to result model at later time/date.
Generate a document analysis in the standard manner using:
Operation<AnalyzeResult&...
0
votes
0
answers
44
views
Get alert history for scheduled query rule resource using Azure SDK .NET
The resource type is Microsoft.Insights/scheduledqueryrules. In the portal, I can see the History:
In code, I was able to construct the resource object:
...
var armClient = new ArmClient(credential, ...
0
votes
0
answers
43
views
Azure .Net SDK WebSiteResource.GetSiteInstances() throwing 500 every time
I am trying to use the azure .net sdk to get all the instances for a webapp running in azure. I can see in azure portal that there are 2 instances. When I run my code, it seems to get the site ...
0
votes
2
answers
157
views
Download a Zip File from Azure DevOps Git Repo Using Azure DevOps SDK
I am trying to download a zip file from an Azure DevOps Git repository using the Azure DevOps SDK for .NET (dont want to use the plain REST APIs).
public async Task DownloadItemAsync(string ...
0
votes
1
answer
312
views
Mocking Blobclient.DownloadToAsync(stream) using NSubstitute
I saw a different issue answer that is related but I can't get my method mocked.
I'm using the blobClient.DownloadToAsync(fileStream) method. I want to create multiple tests. A test for a download ...
1
vote
1
answer
595
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
217
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
187
views
Why are my C# Azure SDK binding redirects not working?
I am making a DLL extension that uses the Azure SDK libraries in .NET framework 4.6 to an existing program.
I had the program developers compile the program adding a reference to my DLL earlier, ...
0
votes
1
answer
47
views
Will two versions of Azure EventProcessor partition logic cause stalling?
Context
I have an event processing service running on n machines using the EventProcessorHost class from Microsoft.ServiceBus.Messaging.
Let's say I made upgrades to my service where I now use the ...
0
votes
1
answer
191
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 ...
0
votes
1
answer
127
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
114
views
Azure Service Bus processor IsProcessing:False with not error message
I have this code
using Microsoft.Extensions.Logging;
using Azure.Messaging.ServiceBus;
using Azure.Core.Diagnostics;
using System.Diagnostics.Tracing;
using Microsoft.Extensions.Azure;
using worker....
0
votes
1
answer
173
views
Can not read blobs through BlobContainerClient for blobs with empty folder prefixes
I first get all my blobs like this:
var resultSegment = await blobContainer.GetBlobsAsync().AsPages(continuationToken, batchSize).FirstOrDefaultAsync();
I iterate them like this:
foreach (var ...