Questions tagged [azure-resource-group]
275 questions
1
vote
1 answer
Is it Possible to Name the Azure Network Watcher?
When I created an Azure virtual network, it automatically creates a Network Watcher called NetworkWatcher_canadacentral for me in its own resource group called NetworkWatcherRG.
My question is whether its possible to give the Network Watcher and the…

Muhammad Rehan Saeed
- 35,627
- 39
- 202
- 311
1
vote
1 answer
Lock azure resource with PowerShell
I've been trying to run a script to create a lock on azure resource to prevent resources being deleted inadvertently.
I get an error message and I can't figure out why it's showing me this error message.
Script:
#Sign in to Azure…

Leanne Kami
- 79
- 1
- 13
1
vote
1 answer
VS2019 sign in to azure throws: "Object reference not set to an instance of an object."
Visual studio 2019 throws the error: "Object reference not set to an instance of an object." after sign in to azure.
I created new solution for Azure Resource Group on .Net Framework v4.8.
I selected Logic App template. Using Logic app design…

Dawid Sieczka
- 27
- 7
1
vote
1 answer
How to get azure Resource ID for azure storage using azure storage connection string
Is there any way to get azure Resource ID for azure storage using azure storage connection string with rest API or any other programmatically in c#.
I need subscriptionId and resourceGroupName of the storage account

Jay Dadhaniya
- 171
- 4
- 15
1
vote
0 answers
Azure moving resources is running for around 4 hours for a single resource
I am trying to move a virtualnetwork from one resource group to another resource and azure kept saying its moving the resource for the past 12 hours. The virtualnetwork is empty and does not have resources attached to it. why is it taking time ? How…

rajendra
- 11
- 1
1
vote
1 answer
Azure resource groups and resources deployed to same locations
This is probably an elemental question, but why would you want to ensure that resources are deployed to the same locations as their resource groups? I'm getting out of compliance issues with HIPPA and from CloudSploit about this and I'd like to get…

Richard Wolford
- 353
- 2
- 15
1
vote
1 answer
Creating resource groups in Azure with c#
https://learn.microsoft.com/en-us/rest/api/resources/resourcegroups/createorupdate
Authentication for this call is Azure Active Directory OAuth2 Flow, however I am unable to use impersonation and it will be running as a function.
To call the graph…

john
- 177
- 1
- 11
1
vote
1 answer
How to list locks applied on azure resource group using python
Using python azure sdk,I am applying some locks to resource group and which are getting inherited to individual resources in it. And also, I am applying individual locks to resources inside the group. There are some more locks I am applying only to…

uday kiran
- 63
- 5
1
vote
1 answer
Access to Cost analysis in Azure Databricks managed resource group
In our organization, we have a common Azure subscription with a separate resource group for each solution. I have Owner rights for my solution's resource group, but when we create Databricks workspaces, a separate managed resource group…

Magnus Johannesson
- 432
- 7
- 20
1
vote
2 answers
Azure SQL Database ARM - Parameter 'maxSizeBytes' must be of type 'int'
When downloading a template through Azure Portal for creating a new SQL Database with Basic tier and a new SQL Server you get a parameter called 'maxSizeBytes'. Using this template and parameters with a Azure Resource Group project in Visual Studio…

Ogglas
- 62,132
- 37
- 328
- 418
1
vote
0 answers
Azure linked ARM templates passing parameters from file vs inline problem
We are working on linked azure ARM templates for our deployment.
The problem we are facing is if we choose to have different parameter files to link, like below, then we cannot use function in…

Tiju John
- 933
- 11
- 28
1
vote
1 answer
Get the value of the app service plan using Powershell
I am trying to get the only name value of the app service plans using Powershell.
Query :
Get-AzResource -ResourceGroupName "entaddinqagrouptwm" -ResourceType Microsoft.Web/serverfarms | ft
The Output is :
Name …

rAJ
- 1,295
- 5
- 31
- 66
1
vote
1 answer
Resource Group and Resource itself in different region
Can I create a resource "myproject" in region India, but create a kuberenetes cluster in uswest region ?
If this is possible then what is point specifying Region for resource group ?

forvaidya
- 3,041
- 3
- 26
- 33
1
vote
2 answers
Azure Service Plan - Convert Consumption App to Premium App
Title basically says it all. I have a function app on a consumption plan that I need to put onto a P2V2. Is it possible to convert the consumption plan or do I need to just redeploy to a new resource group?

MrRobot
- 72
- 1
- 5
1
vote
1 answer
What's the best way to bypass an Azure Policy assignment for Tag Enforcement when running a Terraform Script?
We recently created an Azure policy that enforces a certain set of Tags to be present on all resources. This policy blocks deployments that don't contain the required tags in the deployment. However, certain taggable resources, such as Vnets, don't…

Tucker Yates
- 13
- 4