Category "azure"

Exporting/Importing dates from Active Directory

Simple export script to grab users from Active Directory and output a .csv file: $ad_users = Get-ADUser -SearchBase $adPath -LDAPFilter $filter -Properties samA

How can I create container in azurite running from test container in java?

I am trying to test azure file upload using azurite docker image from test container below is code I am using for the same public class AzureContainer { pu

I want to assign UAMI to kubelet, but it fails due to lack of permissions

I'm trying to assign UAMI to an AKS kubelet using terraform, but I don't have permissions and it fails with the following error. Error: creating Managed Kuberne

How to get Custom Log tables from Azure Log Analytics Workspace through PowerShell script?

I am looking for a way to get all custom log tables from an Azure log analytics workspace through PowerShell code. Below is an example of three custom log table

Connecting Cosmos Emulator DB in Docker container

I have developed a .NET core application using local Cosmos DB using Cosmos DB emulator. The application is running & adding new data in local Cosmos DB, wh

Can we update the configurations from the advance section of the Azure portal programmatically?

I am trying to call an API multiple times with the change in the configuration files. Can we do the changes in the configuration files at runtime in the code be

Creating a Calendar event O365 package in python?

I'm trying to make a script to add Calendar events to my main calendar in outlook using python and the O365 package. But I keep running into various issues with

How to utilize the Microsoft Azure Free Credits (200$) When we weren't known which regions are supported and having capacity to deploy our resources?

Azure VM for Free Trail Subscription is available in East US, West US 2, Southeast Asia, West Europe, and Central US. Whatever the location I select, it shows t

How to define parallelism for MS hosted agents with 2 pipelines

We've got two YAML Pipelines, pull-request.yml and main.yml. As the names suggest, pull-request.yml runs on every PR, and main.yml runs once deployed to main. I

Deployment slots in Azure FunctionApp

I'm trying to understand how deployment slot works (https://docs.microsoft.com/en-us/cli/azure/webapp/deployment?view=azure-cli-latest). I ran the following com

Fetch secrets and certificates from AzureKeyVault inside Docker container

I have a .net framework console application. Inside this application, I'm fetching secrets and certificates from keyvault using tenantId, client Id and Client S

Are Azure Batch virtual machines automatically shut down after a job completes?

I was just curious about the lifecycle of the Azure Batch's virtual machines. Say a VM is created and a task is completed. Is the VM terminated after a successf

How do I select the columns of a table in databricks sql?

I can use: show columns in table_name but this does not allow me to use the output in a query? This throws an error: SELECT * FROM show columns in table_name

Is there a way to prefer Azure Service Endpoint over Private Endpoint?

Scenario: I have a hub & spoke architecture with Azure Firewall, which acts as my DNS server to VNets in all spokes. I also have a VPN connection, which I u

Why Rest API response is giving question mark "?????" for the Arabic language in Azure Build Report

In Rest Assured Automation, Expectation is to validate Arabic text in Response. In local system, While hitting the API getting the Response in Arabic format. Bu

How to inlcude more attributes in OAuth2User retruned from Azure Active Directory (AAD) using Spring Boot Starter oAuth2 Client

I am using spring-boot-starter-oauth2-client, spring-cloud-azure-starter-active-directory (spring-cloud-azure-dependencies 4.0.0) to add oauth2 authentication a

upload & download files from OneDrive with Python, do I need an Azure account?

I have some files in my personal OneDrive account. I want to access some of these files with Python, make some updates & then upload back to OneDrive. I hav

How to configure v3 Bot using Azure Bot Service

We are running chatbots using BotFramework v3. Now Microsoft changed from 'Bot Channel Registration' to 'Azure Bot' service which uses a key vault. Until that t

Connect CLaaS container to CosmosDB

I have a application running on a AKS Container and would like to use the Azure Cosmos DB for storage. How can i set this up? I think i just need to specify th

Wrong quota limit for Azure Synapse Workspaces

When I tried to create Azure Synapse Workspace I get below error: {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Pleas