39 questions
0 votes
1 answer
81 views
How to use DefaultAzureCredential in Azure ShareServiceClient
Following the Azure file share storage example for shared credentials we were able to successfully connect and upload files. When required to switch to DefaultAzureCredential we changed the ...
0 votes
1 answer
100 views
Issue with Azure Storage Account Creation Using JavaScript SDK
I'm trying to create an Azure Storage Account using the JavaScript Azure SDK. However, despite explicitly setting accessTier to Cool and configuring networkAcls to restrict access to a specific VNet, ...
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, ...
1 vote
3 answers
338 views
I'm unable to send or receive messages from Azure servicebus in my Next.js application
I'm trying to use the @azure/service-bus package to interact with a servicebus queue. However when I try to peek, receive or send messages I'm met with the following error: "TypeError: this....
0 votes
1 answer
154 views
Create self-signed certificate in Azure Key Vault with JavaScript SDK
I found a Microsoft documentation page that explains how to create a self-signed certificate with PowerShell, and it fits my needs in that setup just right. You can find the guide here. $certname = &...
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
2 answers
107 views
BlobClient#generateSasUrl automatically %-encode blob path
const { BlockBlobClient, BlobSASPermissions } = require("@azure/storage-blob"); const blobClient = new BlockBlobClient( "DefaultEndpointsProtocol=https;AccountName=yyyy;AccountKey=...
0 votes
0 answers
110 views
azure-sdk-for-js is unable to unwrap a key which was wrapped using key-vault API separately
I have a random string 1a4cc8e6699527506... (96 characters) that I am considering as the original data key, planning to use it for encrypting data, let's call it orgDEK. I used wrapKey API of Azure ...
-1 votes
1 answer
87 views
Azure email analytics
I have an azure communication service that sends around hundreds of student invite emails daily, I want to track the mail analytics data like how many mails sent in a day, how many failed how many ...
0 votes
2 answers
142 views
Azure SDK for Javascript : Updating NetworkRuleSet in Storage Account. Type mismatch and missing defaultAction
i'am trying to update a NetworkRuleSet in a Storage Account by using a TypeScript Azure Function using the Azure SDK. I can successfully update the "kind" parameter of a Storage Account, but ...
0 votes
1 answer
343 views
Uploaded file to azure blob storage does not displays name
I am trying to upload my text/pf files to a container in azure blob storage using Next js 13 as the frontend, I am able to upload the file but the name for the uploaded blob does not match the ...
0 votes
2 answers
819 views
Retrieve an access token for Azure ACR using Azure Javascript SDK
I have an Azure subscription and I am using Azure Container Registry. I need to docker login to access my repository. This is easily done using the CLIs [docs]: TOKEN=$(az acr login --name <acrName&...
0 votes
1 answer
386 views
upload filesusing azure blob storage sdk
I am trying to upload files from Next js 13 application to azure blob storage I think my file is an object and it expects a blob or buffer, I tried doing that but not of much help either. my component ...
1 vote
2 answers
2k views
DefaultAzureCredential, InteractiveBrowserCredential, etc... from JavaScript Azure SDK throws error during compile time due to child_process not found
I am developing a Microsoft 365 / Office 2013 - 2021 Taskpane Add-in using Visual Studio Code that is written in JavaScript. The meat and potatoes of the add-in work. It's the sides that are causing ...
0 votes
1 answer
463 views
How generate passwords when creating a token for Container Registry auth
I'm trying to generate a new auth token with beginCreateAndWait, but passwords are not being generated with the token, I'm getting an empty array in token.credentials.passwords and when looking in the ...