Questions tagged [azure-sdk-js]
29 questions
0
votes
1 answer
Debug for azure sdk (How to show the relevant REST API)
I'm using Azure JS SDK for interacting with Postgres in Azure (@azure/arm-postgresql, @azure/identity, @azure/functions ...). I'd like to get the underlying REST Api for debugging purpose.
For example I'd like to know during the runtime the…

Blured Derulb
- 201
- 3
- 12
0
votes
1 answer
Cannot create container groups using @azure/arm-containerinstance
I am trying to create container groups unsing azure javascript package @azure/arm-containerinstance but there is very little documentation on an I am struggling to make it work. This is the code that I have implemented :
const name =…

deltascience
- 3,321
- 5
- 42
- 71
0
votes
1 answer
Interactive Browser Credential "You can't sign in here with a personal account. Use your work or school account instead."
I am attempting to implement Interactive Browser Credential with Azure Identity (JS) in my app so that users can authenticate to their own Azure accounts for my dev tool. I got advice that app registration in Azure AD would be required on a Reddit…

Alma Eyre
- 23
- 1
- 4
0
votes
1 answer
Azure HyperVGeneration V2 VM creation
I'm looking to spin up VMs using the node/Javascript SDK for Azure. So far I've had luck with my code and it pretty much works as expected. However I would like to spin up generation 2 / HyperV v2 VMs instead of the default v1. Here's a snippet of…

neopran
- 11
- 1
- 4
0
votes
1 answer
Serializing Azure long running operation for later reuse
I'm trying to use Azure SDK for javascript (@azure/arm-sql version 8.0.0) to copy SQL database but I don't want to wait until the operation is done. Instead, I'd like to exit once the request is created and later (let's say each minute) check…
0
votes
2 answers
Does Azure SDK for JS "Virtual Machines - List" does it exist?
I see it int he compute docs
https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/list
But I dont see it in the azure…

A.com
- 1,466
- 4
- 19
- 31
0
votes
1 answer
azure keyvault : locally verify data signed by EC-HSM
I made a test with Azure JS SDK to use key vault to sign and verify data thanks to EC-HSM
when I use Azure JS SDK to verify it works correctly, I put the output in comments
describe('crypto services', () => {
it('Azure HSM', async () => {
…

Christophe Blin
- 1,687
- 1
- 22
- 40
0
votes
1 answer
How to launch a new VM with azure VM image using nodejs azure SDK?
I have used AWS nodejs SDK and created a instance by using AMI(amazon machine image) ID. Now, I need to replicate the same for Azure. I came across the documentation and found a method like…

CuteBoy
- 103
- 1
- 3
- 13
0
votes
1 answer
Azure function and Azure storage - Entity already exists - nodeJS
I'm aware of the different methods to insert an entity in an azure storage table but I Cannot find a solution for this:
Although my function is triggered by a queue, looks like that sometimes the entity that is trying to insert already exists in my…

varVal
- 27
- 7
0
votes
1 answer
Using Azure SDK for JS to create .NET 4.x App Service
I'm starting to wonder whether this is the right tool for the job, still here goes.
I'm attempting to automate the creation of our Azure Test environment using Azure SDK for JS. The environment spans many services (as you can imagine), including…

kim3er
- 6,306
- 4
- 41
- 69
0
votes
1 answer
@azure/search-documents javascript sdk, SearchDocumentResult return facets
The facets property of SearchDocumentResult should return the facets involved in the query as well as their values, right? But it only returns undefined. If this is the expected behavior, is there another way to consult the facets through sdk?

Diego
- 55
- 1
- 4
0
votes
1 answer
Interactive Logon Required for Azure Resources NodeJS App
I am looking to pull a list of Azure resources such as VMs, AppServices, etc and possibly interact (create, delete, scale, etc.) via the Azure SDK for NodeJS. The examples seem to demonstrate/push the use of an interactive login.
The reason I don't…

Kode
- 3,073
- 18
- 74
- 140
0
votes
1 answer
How do I authenticate with azure/identity module in node.js?
I am using a node.js application (v12.18.2, not in the browser) to access an Azure blob store. My existing code using @azure/storage-blob v10.5.0 is working and the authentication code looks like this:
const Azure = require( '@azure/storage-blob'…

Graeme Perrow
- 56,086
- 21
- 82
- 121
0
votes
2 answers
Access denied due to invalid subscription key or wrong API endpoint (Cognitive Services Custom Vision)
I'm trying to connect to my Cognitive Services resource but I'm getting the following error:
(node:3246) UnhandledPromiseRejectionWarning: Error: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key…

Evandro Pomatti
- 13,341
- 16
- 97
- 165