Quantcast
Channel: Azure Management Portal forum
Viewing all 4189 articles
Browse latest View live

azure Activity log Alert error

$
0
0

Hi,

I am trying create custom Activity Log log alert for "Resource Health" of a VM using ARM Template, following the below link..

 
Ref: https://docs.microsoft.com/en-us/azure/service-health/resource-health-alert-arm-template-guide
Error: Alerts are unable to fire

I want Activity Log Alerts triggered with an Email every time the Resource health of a VM goes from "Available" to "Unavailable".

Kindly Help me out with this.

Thanks.


Custom policy in azure for avoiding Premium SSD managed disk

$
0
0

I am trying to write a policy to avoid Premium managed disk, for cost reasons, to specific subscription. Maybe this is not the right forum, if so, please direct me to the right one (which deals with policies).

I've tried some settings after looking at disk parameters, and it doesn't seem to work, meaning, although the policy is assigned to the subscription, it doesn't seem to work.

I've tried the following rule, after looking at the template for existing managed disks :

{
"if":{
"field":"Microsoft.Compute/virtualMachines/storageProfile.osDisk.managedDisk.storageAccountType",
"equals":"Premium_LRS"
},
"then":{
"effect":"deny"
}
}

 But it ain't working (meaning, it still let me create a virtual machine with managed premium SSD).

It should be quite easy to write this policy, but for some reason it doesn't work, and I couldn't find any docs explaining this hierarchy of resources, that I can write rules on.

Regards,

Meir

Alert on license assignments?

$
0
0

(I'm not sure if this is the right forum, but if it isn't please advise where i should post. Thanks.)

We do all of our user license assignments via group membership.  What we'd like to do is be alerted if a license is ever assigned individually for a user (that is, toggle on a product license for any user instead of adding them to the appropriate group).  Is this even possible?  If so, any guidance on how to go about it?

Thanks in advance.

Get all metrics using Azure Monitoring REST API

$
0
0

Hi,

We are using the Azure Monitoring REST API (https://docs.microsoft.com/en-us/azure/azure-monitor/platform/rest-api-walkthrough) to retrieve all the metrics for a resource by first querying for all the metric types for a resource (using /metricDefinitions), and then using the /metrics api to get the values of each metric.

In the /metrics call, we create a filter expression and add each metric type that we have found to the filter (using 'name.value eq metricName').

We wanted to check if there is any way to get all the metric values for a resources using a single call instead of going through two calls (i.e. without requiring to list out each metric). This would help us by improving performance, as well as by reducing errors when the caller's system is configured to block GET calls more than a particular URL size.

Please let us know if this is possible.

Thanks

Anand

Azure working very slow

$
0
0

Hello there,

I am running various subscriptions of Azure within my premises for different clients. We access Azure portal using the virtual machines created within the premise with single public IP address. 

Quite often I found out that the portal response time is very slow & we need to reload the blade or sometimes reload the entire web page. I tried this on different web browsers but still the problem is same.

What is the reason behind it? Is it possible that slow response time is because of single public IP?

I check Azure health, nothing seems to be wrong.

Please help me with this.

Regards

Give rights for Device setting in Azure portal

$
0
0

Hi Everyone,

Which necessary role we should provide to user for giving Rights in Device setting in Azure Portal.



Regards,

Rahul

How to Add Multiple VMs to Start & Stop Azure VM Automatically

$
0
0

Hello Team,

I have created Automation Account and downloaded the script from the gallery, for VM's to Start/Stop but i am unable to add multiple VMs.

Please help me out how to configure the same.

Thanks   


APK

Trying to understand how device compliance policy works

$
0
0

Hoping someone can clarify a few things regarding configuring device compliance policies.

First, if I have a device which is a member of two different groups (Group1 and Group2), and I specify to Include Group1 in the compliance policy, but Exclude Group2, I'm assuming the policy will not apply to the device (thinking exclude takes precedence) and the device would be marked as "non compliant"...is that correct?

Now, assuming the above is true, if I also enable the setting "Mark devices with no compliance policy assigned as Compliant", would this device then be marked as Compliant?

Thank you for any clarification or details you can provide.


Domain Transfer rejected, options missing

$
0
0

Hello there fellow devs,

I would like to transfer a Domain away from Azure but I can't complete the shown steps as there simply is not the option to remove private registration in the advanced domain manager.

Has anybody got some insight where I need to remove stuff in order to successfully transfer the domain or a good link would also be greatly appreciated.

Thanks in advance

Migration of resources from one subscription to the other

$
0
0

How can we migrate Azure resources from one subscription to the other. The subscriptions are owned by 2 different companies so have different domains, directories, tenants and accounts. 

Thanks 

Faisal


Faisal

How to Add Description while changing Azure Alert State Through RestApi

$
0
0

Iam  trying to Update the Alert state of a Azure Alert ( Eg: From New to Acknowledged ) via rest API and I am avbe to successfully Do a post and chnage the AlertState ,  But i have been trying for means to also be able to add Description Field while making the State change , but I seem to not be able to find the correct way to do that , please suggest if someone knows a way to append that description field through Rest while changing the alert state .

I have tried to add the description Text ( Parameter Name Comment ) as a body while trying to invoke rest but it dosent seems to help . 

Azure AD Questions

$
0
0

what is difference between workplace join and Azure join

what is advantage of Azure Join

if any report in Azure portal or Intune portal to identity Azure Joined machines

what is advantages of joining Azure AD Machines with Intune client

what is advantages of joining Azure AD Machines with OUT Intune client

How to repeat a JSON script in powershell for multiple IaaS to be created?

$
0
0

How repeat to  repeat a JSON script in powershell for multiple IaaS to be created?

Can you provide the specific script and show where to past the json script.


dsk

Mac OS on Azure

$
0
0

Hi,

Can I create a VM of macOS 10.14 Mojave on Azure?

If yes, please let me know, how to create?

Regards

InTechSys


InTechSys

Activity Monitor Alerts for Specific NSG Rules MACD

$
0
0

I have an NSG that I need to monitor for any changes to the inbound or outbound rules. I've tried the pre-canned NSG update/modify alert type, but that doesn't seem to capture NSG rules updates. From the activity log, I can see my changes to individual NSG rules and create an alert for that specific rule, but that doesn't help me monitor all of the rules at once, or any new rules that are created.

I found an ARM template online that will alert me on ANY NSG rule changes, but I only want to alert for one specific NSG. I exported the JSON for an alert I created to monitor one specific rule, and tried to blend the two templates together to make something that will work for what I need, but I'm not having much luck.

Here's the template that alerts for ANY NSG rule changes:

{"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"activityLogAlertName": {"type": "string","metadata": {"description": "Unique name (within the Resource Group) for the Activity log alert."
      }
    },"activityLogAlertEnabled": {"type": "bool","defaultValue": true,"metadata": {"description": "Indicates whether or not the alert is enabled."
      }
    },"actionGroupResourceId": {"type": "string","metadata": {"description": "Resource Id for the Action group."
      }
    }
  },"resources": [   
    {"type": "Microsoft.Insights/activityLogAlerts","apiVersion": "2017-04-01","name": "[parameters('activityLogAlertName')]",      "location": "Global","properties": {"enabled": "[parameters('activityLogAlertEnabled')]","scopes": ["[subscription().id]"
        ],        "condition": {"allOf": [
            {"field": "category","equals": "Administrative"
            },
            {"field": "operationName","equals": "Microsoft.Network/networkSecurityGroups/securityRules/write"
            },
            {"field": "resourceType","equals": "Microsoft.Network/networkSecurityGroups/securityRules"
            }
          ]
        },"actions": {"actionGroups":
          [
            {"actionGroupId": "[parameters('actionGroupResourceId')]"
            }
          ]
        }
      }
    }
  ]
}

And here's the template that alerts for one specific NSG rule:

{"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#","contentVersion": "1.0.0.0","parameters": {"activityLogAlertName": {"type": "string","metadata": {"description": "Unique name (within the Resource Group) for the Activity log alert."
      }
    },"activityLogAlertEnabled": {"type": "bool","defaultValue": true,"metadata": {"description": "Indicates whether or not the alert is enabled."
      }
    },"actionGroupResourceId": {"type": "string","metadata": {"description": "Resource Id for the Action group."
      }
    }
  },"resources": [   
    {"type": "Microsoft.Insights/activityLogAlerts","apiVersion": "2017-04-01","name": "[parameters('activityLogAlertName')]",      "location": "Global","properties": {"enabled": "[parameters('activityLogAlertEnabled')]","scopes": ["[subscription().id]"
        ],        "condition": {"allOf": [
            {"containsAny": null,"equals": "Administrative","field": "category"
            },
            {"containsAny": null,"equals": "/subscriptions/<removed>/resourceGroups/RG_Test/providers/Microsoft.Network/networkSecurityGroups/NSG_TEST/securityRules/NSG_TEST_RULE","field": "resourceId"
            },
            {"containsAny": null,"equals": "Microsoft.Network/networkSecurityGroups/securityRules/write","field": "operationName"
            },
            {"containsAny": null,"equals": "informational","field": "level"
            },
            {"containsAny": null,"equals": "Succeeded","field": "status"
            }
          ]
        },"actions": {"actionGroups":
          [
            {"actionGroupId": "[parameters('actionGroupResourceId')]"
            }
          ]
        }
      }
    }
  ]
}

Could someone help me put together an ARM template that will alert me for any inbound or outbound rule changes (new, modify, delete) for one specific NSG?


Azure Status History in RSS feed

$
0
0

Is is possible to get a historical RSS feed for Azure Status. E.g. last 10 events or 30 days. Maybe even for specific datacenters?

Thanks

azure Activity log Alert error

$
0
0

Hi,

I am trying create custom Activity Log log alert for "Resource Health" of a VM using ARM Template, following the below link..

 
Ref: https://docs.microsoft.com/en-us/azure/service-health/resource-health-alert-arm-template-guide
Error: Alerts are unable to fire

I want Activity Log Alerts triggered with an Email every time the Resource health of a VM goes from "Available" to "Unavailable".

Kindly Help me out with this.

Thanks.

Script to automate Bitlocker and store keys in AzureAD

$
0
0

Is there any way we can store the encryption key with powershell or manage-bde in AzureAD so we can easily automate it…

We have Windows 10 devices added to Azure AD (no on-premise) and wants to enable Bitlocker and store keys in AzureAD without any manual process. 

Any tips or smooth ways to perform this?

Azure Active Directory login with smtp address

$
0
0

We setup an Azure tenant so that we can use Azure Active Directory to login to enterprise applications such as Adobe Creative Cloud with an enterprise ID. When our users login to Adobe CC using their enterprise ID (domain account) they login with their full email address "user@contoso.com". We also have a second domain (not AD) that we own ("domain.com") and it is used only as an smtp address in Exchange for a few employees to use for correspondence with consultants.

Is it possible to use the smtp address domain.com to login to Adobe CC by creating a upn in AD domains and trusts that matches domain.com. This way Bob whose email address is bob@contoso.com (domain account) could use his smtp address bob@domain.com. Would Azure Active Directory be able to search and find that address if we attempted to add it as an assigned user?

Any help would be greatly appreciated. Thank you.

Jose

Remote Debugging Login Fails

$
0
0

I am attempting to remote connect to one of my app services to debug it using Visual Studio 2017 using my Microsoft account. It isn't accepting my credentials. I am using IP port 4022. I am able to logon to the Azure portal though with the same credentials. I was able to connect last month.

Viewing all 4189 articles
Browse latest View live