Questions tagged [azure-subscription]

44 questions
0
votes
1 answer

In Azure, I cannot see subscription to which I am assigned the Owner role, but I can choose the subscription when creating a VM

I have been assigned the Owner role to 3 subscriptions: prod dev test All three subscriptions have the same configurations. The only difference is their ID and name. In my Azure portal, when I click the subscriptions sections, I can only see one…
Kid_Learning_C
  • 2,605
  • 4
  • 39
  • 71
0
votes
2 answers

Why my Azure resources cost still increasing while i'm using free services?

I currently own a VM on Azure for business use. I'm sure that VM size is in the free Azure service and it's the only service i'm running on Azure. But I still don't get why cost are increasing everyday. I thought it will not charge me anything.…
0
votes
1 answer

How to get a list of resource count per subscription with Azure Resource Graph Explorer query?

I'm trying to get a list of resource count per subscription. This is simple enough and Azure also has documentation on how to do so. Here's my version. resources | join kind=inner ( resourcecontainers | where type ==…
0
votes
1 answer

Why can an Azure application read role definitions without permissions

Microsoft states that Microsoft.Authorization/roleDefinitions/read permission is needed to read RBAC role definition. It is mentioned here https://learn.microsoft.com/en-us/rest/api/authorization/role-definitions/list?tabs=HTTP However I have Azure…
Petr Havlicek
  • 2,051
  • 1
  • 19
  • 25
0
votes
1 answer

Azure deployment error "Subscription is not registered with NRP"

Anyone faced this error before when running az deployment mg create command to deploy a bicep file with parameters? I thought it was transient, but it happens consistently daily during my deployment testing. Also raised this question on GitHub.
greg
  • 1,118
  • 1
  • 20
  • 40
0
votes
2 answers

Assign subscription owner using arm template

What needs to be changed in the arm template below in order for it to add subscription owner role to the given principal id? The problem we are getting is that the following arm template and invocation command are assigning unintended resource group…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
0
votes
1 answer

Azure bicep: how to deploy to all subscriptions?

I have a tenant where we are adding subscriptions all the time. I wish to loop over all subscriptions and run a deployment on each of them, without having to hard-code the list of subscription IDs / names. In a bicep template, is it possible to…
Grilse
  • 3,491
  • 2
  • 28
  • 35
0
votes
1 answer

Visual Studio not showing subscription from other account - just happened last week

I have my personal Azure account having 2 subscriptions. Those subscriptions are visible in Visual Studio 2022 when trying to publish a project. From another account, I have owner access to that subscription and it was showing perfectly in Visual…
VAAA
  • 14,531
  • 28
  • 130
  • 253
0
votes
2 answers

in Azure, how to list all the subscriptions under a management group by using Python SDK?

I am trying to list all the Azure subscriptions under a specific management group by using Azure Python SDK. But I couldn't find any function which retrieves them. Do you have any idea?
0
votes
0 answers

How to get my azure free subscription back

I logged in today and I could see my subscription, while learning I created an Azure Active Directory Tenant and linked to my subscription. Later I deleted my tenant but this action has deleted both my Tenant and my Subscription. Now portal is not…
Usman Khalid
  • 3,032
  • 9
  • 41
  • 66
0
votes
1 answer

How to monitor for newly created Azure Subscriptions?

I want to monitor for newly created Azure Subscriptions. Ideally, I would like to subscribe to events at the management group level and ingest them on event grid. What would be the best way to accomplish this? On my research there is no native way…
0
votes
1 answer

Not able to connect to azure from postman application - 403 forbidden error

I'm trying to GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups?api-version=2020-09-01 using postman application from my desktop. For Authorization I passed the bearer token acquired from the response. However getting…
0
votes
1 answer

Azure Python SDK add tag to subscription

I am new to use Azure python sdk. I have been using the following command to add tags to a subscription: az tag update --operation merge --resource-id /subscriptions/{subscription-id} --tags = The above command works good and…
rammanoj
  • 479
  • 8
  • 26
0
votes
1 answer

Change Azure Guest user role from owner to contributor

I have Azure subscription and It has 3(guest) owners, I want to change the role of one owner to contributor. I can't find any way to do it. can someone please help me in this.
0
votes
1 answer

What are the minimum resource providers assigned/needed by Azure on a new subscription?

I'm working on an application that deploys and configures resources in Azure. This application will be run by clients and I have no way of knowing whether they'll create new subscriptions, or re-use older ones. Accordingly, I'm registering a set of…
Tom Wright
  • 11,278
  • 15
  • 74
  • 148