I am trying to add a new field to a CosmosDB item. The Field i want to add is an object. For example: I tried the following code: I get the error: Entity with the specified id does not exist in the system The item exists because i get the item when using container.item(“42”).read() Answer The valu…
Tag: azure
Accessing MS Graph ‘Unable to retrieve user’s mysite URL.’ Using Client Credentials One Drive
‘Unable to retrieve user’s mysite URL.’ Using Client Credentials One Drive is this because I’m using 365 family? not 365 business ? { “error”: { “code”: “UnknownError”, “message”: “Unable to retrieve user’s mysite URL.”,…
Question for Accessing MS Graph Using Client Credentials One Drive?
I can’t seem to grasp my error this is the result of the JSON return it’s not telling me anything I don’t know what’s wrong, I looked at the token and I have roles by the way I have client_credentials token Update: I tried on https://developer.microsoft.com/en-us/graph/graph-explorer u…
Uploading an attachment to Azure DevOps Server using Rest API from a JavaScript application
I’m looking for an example on how to generate the request body when uploading an attachment to Azure DevOps Server. Looking at the documentation here, it notes the content for the body should be “[BINARY FILE CONTENT]”. The content of the body is coming from a URL (https://someURL/images/abc…
How to set multiple schedule in azure timer function?
I have a working sample azure timer function, but about setting it in multiple schedule, I’m not sure if doing it correctly, because I can’t test it immediately because it is scheduled hours gap. My goal is, to display context.log every 8:00AM, and 8:00PM every day. note: my code below actually do…
OpenId Connect, Query Microsoft Graph
We have a .Net Web Application that uses Single Sign On implemented by OpenID Connect to create an ID token and log a user in. Specifically Microsoft.Owin.Security.OpenIdConnect and Microsoft.IdentityModel.Protocols.OpenIdConnect I now have a requirement to query Microsoft Graph API via JavaScript. In order f…
Is there any way to get logged in user azure subscription Id’s using @azure/msal-angular?
I am using @azure/msal-angular to authenticate user. I have done it smoothly as in response i am getting id_Token, access_Token and tenant Id. Now i need to get logged in user’s azure subscriptions. Is there any way to do it using msal or azure is providing any java script libraries through which i can …
Why Table Storage support is no included the new new Azure ADK for JS?
Microsft released azure-sdk-for-js a long time back but still, there is no plan to support Table Storage. The only option for Table storage from NodeJS is legacy azure-storage-node. Is Microsoft trying to retire Table Storage in long term? Answer Accoring to this update on azure storage table sdk seems not su…
Azure Application Insights – trackEvent with custom properties in Javascript
We are using the client-side javascript SDK (via the snippet-based integration) for Application Insights to track custom events How can I add custom properties to this? Something like this?! Answer As seen on the JS Azure appinsights github page: Custom properties can be included in your telemetry through the…
Upload to Azure Blob via javascript upload ticket
I am building an upload tool for our website. One of the requirements is the ability to store large files into specific azure blobs. I am running into limitations of Azure Web Apps being able to handle this on the server side. Is there a way out there to create an upload ticket (similar to vimeo) that our ser…