Microsoft Azure Collective

A collective for developers to engage, share, and learn about Microsoft Azure’s open-source frameworks, languages, and platform. This collective is organized and managed by the Stack Overflow community.

Navigate pages Stay up to date

We'll highlight new content in your collectives with a blue activity indicator on navigation items and posts. Manage preferences

Can you answer these questions?

These questions still don't have an answer

Ansible, WebVM, APT-GET. something isn't working correctly

I am trying to run an ansible playbook to setup one of my web VM's to remove and/or install certain packages so we can start our week of web applications (cyber blog). I use Microsoft Azure. All .

In a custom B2C policy, how to you strip leading zeros from a signInName during login?

I'm creating a custom policy that authenticates a user against their signInName, not their email. The signInName is a number between 4 and 10 digits. I need to be able to strip any leading zeros that .

Azure Functions dynamicConcurrencyEnabled setting doesn't work

Our Azure Functions are using runtime version 4, I've upgraded Microsoft.Azure.WebJobs.Extensions.Storage to 5.3.1 as required to be able to utilise dynamic concurrency. When I add enable dynamic .

How can i assign a VM in Azure to view all subscriptions using Managed Identity?

I have a VM in Azure i have assigned an Identity and i can login using az login --identity When i do that , it only displays the Subscription that the VM is in . I have a number of subscriptions and .

Azure B2C: Local or Social discovery using email address

We have implemented a B2C custom policy that allows users to sign in with B2C Local or Social (Entra) accounts. Our login screen has a unified sign-in page that was modelled on the .

Looking for an extra challenge?

These questions have a bounty on them

Python function app how to terminate after a timer without harming other functions

I have inherited a collection of Python functions that are capable of deadlocking(this can happen at several places in the code), when that happens they seize all function time out on the Function app .

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: .

Recommended answers

These answers have been recommended

Is there a way to limit access to an Azure App Service?

For an Azure SQL Database it can easily be set to only accept connection requests from within the datacenter it is running in and from a specified list of IP addresses (in my case, my home). Does .

First of all, you'll want to create a new Virtual Network that you'll be using as a private network that will allow connections between your Blazor/App Server and the App in question. You can find .

answered 4 hours ago

Unable to launch azure function using Python 3.11

I´m trying to launch in local an azure function using python 3.11.9. I have created and activated a virtual environment. However whenever I try to execute func start I get the below error. Found .

To resolve this error, you have to create and activate virtual environment and run the function in activated virtual environment. Follow below steps: Configure Environment variables in your system to .

answered 12 hours ago

AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'

I've followed all steps of that SO answer (https://stackoverflow.com/a/78926745/803195) but when I authenticate the account, the following exception is throwed: Microsoft.Identity.Client.

The error occurs if you add redirect URI in Web platform which won't work while using interactive flows as you enabled public client flow option. To resolve the error, make sure to remove the redirect .

answered 13 hours ago

Azure Storage create temp file

I'm using Azure Storage to store files for my .NET Core app. And I need possibility to save temp files. I'm uploading file this way: public async Task UploadFile(Stream fileStream, string path) < .

Is there way to create file that will be deleted automatically in an hour for example? You can use the below code to upload the blob and set the expiration date of a blob relative to the current time .

answered 14 hours ago

How can i use the azure-cost accumulatedCost tool with Azure and no mfa user?

I am running something like the following to get some costs in Azure az login --service-principal --username --password -- tenant az account set --.

Need to check below: Execute az account list CLI command and verify the logged in accounts as shown below. Check if the providing test_subscription has existed in the retrieved accounts list. Try .

answered 11 hours ago

See what's trending

These are the most active questions in Microsoft Azure Collective

1025 votes

Reset identity seed after deleting records in SQL Server

I have inserted records into a SQL Server database table. The table had a primary key defined and the auto increment identity seed is set to “Yes”. This is done primarily because in SQL Azure, each .

"The certificate chain was issued by an authority that is not trusted" when connecting DB in VM Role from Azure website

I am experiencing an error when connecting MY DB which is in VM Role (I have SQL VM Role) from Azure Website. Both VM Role and Azure Website are in West zone. I am facing the following issue: .

309k views

Could not load file or assembly "System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"

I've copied my project to a clean Windows 10 machine with only Visual Studio 2015 Community and SQL Server 2016 Express installed. There are no other framework versions installed apart from those .

28 answers 303k views

How to get the azure account tenant Id?

My question is: Is it possible to get the azure active directory tenant id without using powershell command? I found this two blogs and with this help, I'm already able to get the tenant ID and .

153k views

How do I copy SQL Azure database to my local development server?

Does anyone know how I can copy a SQL Azure database to my development machine? I'd like to stop paying to have a development database in the cloud, but it's the best way to get production data. I .

Learn something new These are the most recent articles in Microsoft Azure Collective 6 minute read

Connect to Dynamics CRM with Dataverse from Azure Function

In this blog, we'll connect to Dataverse using an Azure function that utilizes the.Net core 6.2 framework. The prerequisites are listed below. · Create a new Dynamics 365 application in Azure. ·.

created Aug 6 at 4:04 2 minute read

AES Encryption and Decryption in Python with Salt and IV in Azure Synapse Notebook

Introduction Encryption is a crucial aspect of data security. This article demonstrates how to perform AES encryption and decryption in Python using the cryptography library, with the inclusion of a .

created Jul 29 at 22:19 2 minute read

What is Microsoft Entra ID and How does Licensing Works?

What is Microsoft Entra ID? Microsoft Entra ID is a service in the cloud that helps your employees log in to and use resources outside your organization. Examples of these resources are Microsoft 365, .

created Jul 18 at 15:33 1 minute read

Create file on Azure file storage using postman

Create a file in Azure FileShare using postman. Pre-Requisite Azure Storage account with a file share Role assignment Storage File Data Privileged Contributor scoped to file share. Get required .

created Apr 1 at 1:00 1 minute read

How to rename the function in the Azure Function Apps

Sometimes, renaming the function classes is required as that represents the meaningful name of the current version and the functionality of that class. There is no inbuilt option for renaming the .