Monitoring Azure Subscription limits - azure

I would like to receive an email if I approach limits on a resource in Azure. Is there a way to sign up for notifications of this kind?
I considered using Azure alerts. It seems you can trigger alerts from metrics or azure logs, but I couldn't figure out how to trigger action on anything related to resource limits.

It is possible. You could do it on Azure account manage Portal. When you reach the limit, you will receive e-mail.
Please refer to this link:Set up billing or credit alerts for your Microsoft Azure subscriptions
You should ensure Billing Alert Service is active.
Note: You should be Account Admin for your Azure subscription.
You could check the similar question.

No readymade Alerts on resource quotas.
Brilliant article by Tom will help you to configure such tailored alerts, using OMS Log analytics.
Get Alerts as you approach your Azure resource quotas
Azure PowerShell includes the cmdlets Get-AzureRmVMUsage and Get-AzureRmStorageUsage which will report your current usage and quotas for a range of different resource types
Also You can utilize Azure billing alert service:
Set up billing or credit alerts for your Microsoft Azure subscriptions

Related

I have two subscriptions Pay-As-You-Go & Azure subscriptions on my profile. What is the difference and do I need to use both?

I have two subscriptions Pay-As-You-Go & Azure subscriptions on my profile. What is the difference and do I need to use both? Or what is the best way for this?
There is no subscription named as Azure subscription. See the list of Azure offers for
details.
In the Azure portal click on 'All services' > subscription tab you will see the subscriptions you've access to.
Also, refer to this link - https://techcommunity.microsoft.com/t5/Azure/Understanding-Azure-Account-Subscription-and-Directory/m-p/34800 to understand Azure account, subscription, Azure AD and Resource groups briefly explained by Daniel Martins.
Hope that helps!

Azure - monitoring resources using REST APIs

I am new to Azure and have been going through various tutorials.
I am looking specifically at Azure Monitoring using REST APIs.
What I am trying to do is get the status of various resources like Virtual Networks, AD, Load Balancers etc on a custom dashboard using REST APIs.
I have found some list of REST APIs that allow monitoring here(https://learn.microsoft.com/en-us/rest/api/monitor/)
But do they provide Resource health and Status.Also, do i have a create a new Service API Managament Resource(which is a paid resource) in the Azure Account for these APIs to run?.
Please let me know if you have any insights or reference materials on this
I don't think rest API is good for monitoring. I will suggest use Azure Monitor service under that you can use Azure resource metrics, Activity logs and service health. based on these metrics and logs you can set alert and show live data on the dashboard.
We are using Microsoft OMS for live monitoring (visualization of data) and Email/SMS for notification.
List item
Audit and receive notifications about important actions in your Azure subscription

How to check applied policies and/or the user limits on a subscription

I'm using "MSDN Platforms" and "Developer Program Benefit" subscriptions.
I'm unable to access to create resource groups and services in certain locations on a selected subscription either through azure portal or Azure Powershell. Sometimes getting exceptions on quota limits.
How do I check applied policies and/or the user limits on a subscription?
Asking because of the subscription limitations I got error message in the following scenario
Created availability set in southindia location
Trying to deploy a VM in the same location.
How do I check applied policies and/or the user limits on a
subscription?
You could check it on Azure Portal. <your subscription>-->Usage + quotas.
If you reach your subscription limit, you could create a ticket to raise the limit, please refer to this link.
Also, you need check your user's role, if you want to create resources in Azure, I suggest you select Owner or Contributor role. Please refer to this link.
Note: In this link I provide, the application name is your user name.

azure bizspark - notification if balance below the threshold value

we are using azure BizSpark subscription. we are allowed 150USD for free for one month. The issue we are facing once we used 150 and credit become 0 the VM automatically disable and we have to recharge and start VM again. I want alert on credit threshold value i-e if balance < 10 then a notification email will be send to me.
Please some one suggest can i configure this kind of alert notification via azure portal ?
You could do it on Azure account manage Portal.
More information about this please refer to this link:Set up billing or credit alerts for your Microsoft Azure subscriptions
You should ensure Billing Alert Service is active.
Note: You should be Account Admin for your Azure subscription.

Restore a disabled Azure subscription

We got a test subscription in Azure from our school.
Unfortunately I managed to disable my student subscription in Azure. Does anyone know how I can get it back?
From article from below link, i think you will have to contact azure support
https://azure.microsoft.com/en-us/documentation/articles/billing-subscription-become-disable/
The Azure subscription is cancelled
To reactivate a subscription, you must create a support ticket. To
create a support ticket to re-enable an Azure subscription see the
article How to Create a Support Ticket for Azure Billing and
Subscription Issues.

Resources