azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API

Open o-l-a-v opened this issue 6 years ago • 17 comments

Description

Az.Monitor\Get-AzActivityLogAlert returns less info than a get to 'https://management.azure.com/subscriptions/{0}/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01' -f $SubscriptionId.

Specifically what I'm missing is the value of the fields inside conditions. For instance, we have a activity log alert for service health alerts, where we input the regions we have resources in dynamically. To see what regions we have enabled for this alert, we can do the following on the results from the API

$AllActivityLogAlertsRest.'properties'.'condition'.'allOf'.Where{$_.'field' -eq 'properties.impactedServices[*].ImpactedRegions[*].RegionName'}.'containsAny'

which will return a array of regions (Global, West Europe etc.).

But that information is not available with the data returned using the Get-AzActivityLogAlert cmdlet.

Steps to reproduce

See description.

Environment data

Name                           Value                                                                                                                          
----                           -----                                                                                                                          
PSVersion                      5.1.19041.546                                                                                                                  
PSEdition                      Desktop                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                        
BuildVersion                   10.0.19041.546                                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                                
WSManStackVersion              3.0                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                            
SerializationVersion           1.1.0.1                                                                                                                        

Module versions

ModuleType Version    Name                                ExportedCommands                                                                                    
---------- -------    ----                                ----------------                                                                                    
Script     2.1.2      Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount...}                         
Script     1.4.0      Az.Automation                       {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomatio...
Script     0.7.0      Az.Insights                         {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzWebtestAlertRule...}        
Script     2.2.0      Az.Monitor                          {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2...}       
Script     0.7.0      Az.Profile                                                                                                                              
Script     3.0.0      Az.Resources                        {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential...}      
Script     1.0.0.0    ISE                                 {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}                                                 
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}                                  
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}           
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}                                           
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}                     

Debug output


Error output


o-l-a-v avatar Nov 05 '20 20:11 o-l-a-v

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzmonAlerts.


Issue meta data
Issue content: ## Description

Az.Monitor\Get-AzActivityLogAlert returns less info than a get to 'https://management.azure.com/subscriptions/{0}/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01' -f $SubscriptionId.

Specifically what I'm missing is the value of the fields inside conditions. For instance, we have a activity log alert for service health alerts, where we input the regions we have resources in dynamically. To see what regions we have enabled for this alert, we can do the following on the results from the API

$AllActivityLogAlertsRest.'properties'.'condition'.'allOf'.Where{$_.'field' -eq 'properties.impactedServices[*].ImpactedRegions[*].RegionName'}.'containsAny'

which will return a array of regions (Global, West Europe etc.).

But that information is not available with the data returned using the Get-AzActivityLogAlert cmdlet.

Steps to reproduce

See description.

Environment data

Name                           Value                                                                                                                          
----                           -----                                                                                                                          
PSVersion                      5.1.19041.546                                                                                                                  
PSEdition                      Desktop                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                        
BuildVersion                   10.0.19041.546                                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                                
WSManStackVersion              3.0                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                            
SerializationVersion           1.1.0.1                                                                                                                        

Module versions

ModuleType Version    Name                                ExportedCommands                                                                                    
---------- -------    ----                                ----------------                                                                                    
Script     2.1.2      Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount...}                         
Script     1.4.0      Az.Automation                       {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomatio...
Script     0.7.0      Az.Insights                         {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzWebtestAlertRule...}        
Script     2.2.0      Az.Monitor                          {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2...}       
Script     0.7.0      Az.Profile                                                                                                                              
Script     3.0.0      Az.Resources                        {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential...}      
Script     1.0.0.0    ISE                                 {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}                                                 
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}                                  
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}           
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}                                           
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}                     

Debug output


Error output


Issue author: o-l-a-v
Assignees: -
Milestone: -

ghost avatar Nov 11 '20 09:11 ghost

Hi @o-l-a-v ,

Thanks for reporting, this "where" property doesn't seem to be existed in the current SDK we are using.

@azmonALERTS can you please check if swagger need to be updated? https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2017-04-01/activityLogAlerts_API.json#L408

VeryEarly avatar Nov 11 '20 09:11 VeryEarly

Our swagger and therefore SDK indeed don't support "ContainsAny" and "AnyOf" conditions which are used for Service Health and resource Health. We are actively working- on updating the swagger which required a new API version. Bug 7359079: [Swagger] Add Missing 'anyOf' and 'containsAny' to ALA Swagger

I'll check about the powershell work item, and update that as well.

TamRuas avatar Nov 11 '20 17:11 TamRuas

The powershell bug to track: Bug 8780491: Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API

TamRuas avatar Nov 11 '20 17:11 TamRuas

The powershell bug to track: Bug 8780491: Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API

Where can I follow the progress of bug number "8780491"? And why close this issue, when it's still an issue affecting real world usage?

o-l-a-v avatar Nov 11 '20 17:11 o-l-a-v

The powershell bug to track: Bug 8780491: Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API

Where can I follow the progress of bug number "8780491"? And why close this issue, when it's still an issue affecting real world usage?

Hi @o-l-a-v ,

Reopen this issue, using this to track fixing progress of Azure-PowerShell for my team.

VeryEarly avatar Nov 12 '20 01:11 VeryEarly

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzMonEssential.


Issue meta data
Issue content:
## Description

Az.Monitor\Get-AzActivityLogAlert returns less info than a get to 'https://management.azure.com/subscriptions/{0}/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01' -f $SubscriptionId.

Specifically what I'm missing is the value of the fields inside conditions. For instance, we have a activity log alert for service health alerts, where we input the regions we have resources in dynamically. To see what regions we have enabled for this alert, we can do the following on the results from the API

$AllActivityLogAlertsRest.'properties'.'condition'.'allOf'.Where{$_.'field' -eq 'properties.impactedServices[*].ImpactedRegions[*].RegionName'}.'containsAny'

which will return a array of regions (Global, West Europe etc.).

But that information is not available with the data returned using the Get-AzActivityLogAlert cmdlet.

Steps to reproduce

See description.

Environment data

Name                           Value                                                                                                                          
----                           -----                                                                                                                          
PSVersion                      5.1.19041.546                                                                                                                  
PSEdition                      Desktop                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                        
BuildVersion                   10.0.19041.546                                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                                
WSManStackVersion              3.0                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                            
SerializationVersion           1.1.0.1                                                                                                                        

Module versions

ModuleType Version    Name                                ExportedCommands                                                                                    
---------- -------    ----                                ----------------                                                                                    
Script     2.1.2      Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount...}                         
Script     1.4.0      Az.Automation                       {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomatio...
Script     0.7.0      Az.Insights                         {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzWebtestAlertRule...}        
Script     2.2.0      Az.Monitor                          {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2...}       
Script     0.7.0      Az.Profile                                                                                                                              
Script     3.0.0      Az.Resources                        {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential...}      
Script     1.0.0.0    ISE                                 {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}                                                 
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}                                  
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}           
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}                                           
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}                     

Debug output


Error output


</td>
Issue author: o-l-a-v
Assignees: TamRuas, olalavi, nolavime
Labels:
`Monitor - ActivityLogs`, `Service Attention`, `customer-reported`, `feature-request`

</td>
Milestone: -

ghost avatar Nov 13 '20 06:11 ghost

Add service attention label because this issue depends on service side update. We will visit it again once new SDK is available.

dingmeng-xue avatar Nov 13 '20 06:11 dingmeng-xue

We are in process of adding that, this requires reviews, deployments and couple of internal processes. We are sure that this will be finished and used in the public cloud by the end of H1 2021, we believe that it will be in preview earlier.

nolavime avatar Nov 16 '20 09:11 nolavime

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzmonAlerts.

Issue Details

Description

Az.Monitor\Get-AzActivityLogAlert returns less info than a get to 'https://management.azure.com/subscriptions/{0}/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01' -f $SubscriptionId.

Specifically what I'm missing is the value of the fields inside conditions. For instance, we have a activity log alert for service health alerts, where we input the regions we have resources in dynamically. To see what regions we have enabled for this alert, we can do the following on the results from the API

$AllActivityLogAlertsRest.'properties'.'condition'.'allOf'.Where{$_.'field' -eq 'properties.impactedServices[*].ImpactedRegions[*].RegionName'}.'containsAny'

which will return a array of regions (Global, West Europe etc.).

But that information is not available with the data returned using the Get-AzActivityLogAlert cmdlet.

Steps to reproduce

See description.

Environment data

Name                           Value                                                                                                                          
----                           -----                                                                                                                          
PSVersion                      5.1.19041.546                                                                                                                  
PSEdition                      Desktop                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                        
BuildVersion                   10.0.19041.546                                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                                
WSManStackVersion              3.0                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                            
SerializationVersion           1.1.0.1                                                                                                                        

Module versions

ModuleType Version    Name                                ExportedCommands                                                                                    
---------- -------    ----                                ----------------                                                                                    
Script     2.1.2      Az.Accounts                         {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount...}                         
Script     1.4.0      Az.Automation                       {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomatio...
Script     0.7.0      Az.Insights                         {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzWebtestAlertRule...}        
Script     2.2.0      Az.Monitor                          {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2...}       
Script     0.7.0      Az.Profile                                                                                                                              
Script     3.0.0      Az.Resources                        {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential...}      
Script     1.0.0.0    ISE                                 {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}                                                 
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}                                  
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}           
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object...}                                           
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}                     

Debug output


Error output


Author: o-l-a-v
Assignees: TamRuas, olalavi, nolavime
Labels:

Monitor - Alerts, Service Attention, customer-reported, feature-request

Milestone: Backlog

ghost avatar Feb 11 '21 23:02 ghost

From: msftbot[bot] [email protected] Sent: Friday, February 12, 2021 1:17 AM To: Azure/azure-powershell [email protected] Cc: Ola Lavi [email protected]; Assign [email protected] Subject: Re: [Azure/azure-powershell] Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API (#13429)

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azmonALERTShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FazmonALERTS&data=04%7C01%7Colavi%40microsoft.com%7C396932ebb3ea40ba6ccc08d8cee32499%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486822271645429%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5Rq0rUvEWpAMBfmFa62ikM0oxmof2tCKSoM6lP2lfAo%3D&reserved=0. Issue Details


Description

Az.Monitor\Get-AzActivityLogAlert returns less info than a get to 'https://management.azure.com/subscriptions/{0}/providers/microsoft.insights/activityLogAlerts?api-version=2017-04-01' -f $SubscriptionId.

Specifically what I'm missing is the value of the fields inside conditions. For instance, we have a activity log alert for service health alerts, where we input the regions we have resources in dynamically. To see what regions we have enabled for this alert, we can do the following on the results from the API

$AllActivityLogAlertsRest.'properties'.'condition'.'allOf'.Where{$_.'field' -eq 'properties.impactedServices[].ImpactedRegions[].RegionName'}.'containsAny'

which will return a array of regions (Global, West Europe etc.).

But that information is not available with the data returned using the Get-AzActivityLogAlert cmdlet.

Steps to reproduce

See description.

Environment data

Name Value


PSVersion 5.1.19041.546

PSEdition Desktop

PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}

BuildVersion 10.0.19041.546

CLRVersion 4.0.30319.42000

WSManStackVersion 3.0

PSRemotingProtocolVersion 2.3

SerializationVersion 1.1.0.1

Module versions

ModuleType Version Name ExportedCommands


Script 2.1.2 Az.Accounts {Add-AzEnvironment, Clear-AzContext, Clear-AzDefault, Connect-AzAccount...}

Script 1.4.0 Az.Automation {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeReportContent, Export-AzAutomatio...

Script 0.7.0 Az.Insights {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzWebtestAlertRule...}

Script 2.2.0 Az.Monitor {Add-AzAutoscaleSetting, Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2...}

Script 0.7.0 Az.Profile

Script 3.0.0 Az.Resources {Add-AzADGroupMember, Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzADAppCredential...}

Script 1.0.0.0 ISE {Get-IseSnippet, Import-IseSnippet, New-IseSnippet}

Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpoint-Computer, Clear-Content...}

Manifest 3.0.0.0 Microsoft.PowerShell.Security {ConvertFrom-SecureString, ConvertTo-SecureString, Get-Acl, Get-AuthenticodeSignature...}

Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Object...}

Manifest 3.0.0.0 Microsoft.WSMan.Management {Connect-WSMan, Disable-WSManCredSSP, Disconnect-WSMan, Enable-WSManCredSSP...}

Debug output

Error output

Author: o-l-a-v Assignees: TamRuas, olalavi, nolavime Labels:

Monitor - Alerts, Service Attention, customer-reported, feature-request Milestone: Backlog

You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F13429%23issuecomment-777858977&data=04%7C01%7Colavi%40microsoft.com%7C396932ebb3ea40ba6ccc08d8cee32499%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486822271645429%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5ppb495Q3Jd9A0TMCnykjeCjZwIXxoqE7TNrFc26lYs%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOTTYY26ITV7ZAFEIYOOB3S6RQO7ANCNFSM4TL2AWEQ&data=04%7C01%7Colavi%40microsoft.com%7C396932ebb3ea40ba6ccc08d8cee32499%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637486822271655377%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YAsMZXwq0FF9SkGP%2FjojX6jTRIFVmOBRMJUweWC9qLs%3D&reserved=0.

olalavi avatar Feb 14 '21 13:02 olalavi

Any update on this? We're using Az PowerShell v7 and we don't have the information available in the UI for these alerts.

It would be good if Microsoft set a policy to ensure feature parity between UI, REST API, an PowerShell PRIOR to releasing new functionality.

At the moment everything is either broken, inconsistent, or not documented.

DavidHomerOxford avatar Dec 10 '21 10:12 DavidHomerOxford

  • @Yair @.>, @Liad @.> - current owners to comment Also can we find a way to reassign the issue?

Thank you. Ola

From: David Homer @.> Sent: Friday, December 10, 2021 12:22 PM To: Azure/azure-powershell @.> Cc: Ola Lavi @.>; Assign @.> Subject: Re: [Azure/azure-powershell] Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API (#13429)

Any update on this? It would be good if Microsoft set a policy to ensure feature parity between UI, REST API, an PowerShell PRIOR to releasing new functionality. At the moment everything is either broken, inconsistent, or not documented.

You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F13429%23issuecomment-990816139&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NNKanyKq%2BZtUVp0rr%2F2fzNVpvDDd4PPH71lmQFyeW2E%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOTTY72YX2TPTRNGXALR63UQHIF5ANCNFSM4TL2AWEQ&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Zx%2BgZe63zhJKQnUdZi3duO1UsGUxE8%2BE1ytrNaAb2Js%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YhmHh3Gez2oVdeL1YBokz0UyQfIHXt41EZ7m0XKa3AY%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BWeBAopP%2Bz7iT8CqexYZ78i%2B%2B9W6J%2Br0K1tejBaAw4k%3D&reserved=0.

olalavi avatar Dec 12 '21 15:12 olalavi

Reassigned to Adi and to myself

From: olalavi @.> Sent: Sunday, December 12, 2021 5:20 PM To: Azure/azure-powershell @.> Cc: Azure Monitor Alerts GitHub @.>; Mention @.> Subject: Re: [Azure/azure-powershell] Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API (#13429)

  • @Yair @.mailto:***@***.***>, @Liad @.mailto:***@***.***> - current owners to comment Also can we find a way to reassign the issue?

Thank you. Ola

From: David Homer @.mailto:***@***.***> Sent: Friday, December 10, 2021 12:22 PM To: Azure/azure-powershell @.mailto:***@***.***> Cc: Ola Lavi @.mailto:***@***.***>; Assign @.mailto:***@***.***> Subject: Re: [Azure/azure-powershell] Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API (#13429)

Any update on this? It would be good if Microsoft set a policy to ensure feature parity between UI, REST API, an PowerShell PRIOR to releasing new functionality. At the moment everything is either broken, inconsistent, or not documented.

You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F13429%23issuecomment-990816139&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=NNKanyKq%2BZtUVp0rr%2F2fzNVpvDDd4PPH71lmQFyeW2E%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOTTY72YX2TPTRNGXALR63UQHIF5ANCNFSM4TL2AWEQ&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Zx%2BgZe63zhJKQnUdZi3duO1UsGUxE8%2BE1ytrNaAb2Js%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=YhmHh3Gez2oVdeL1YBokz0UyQfIHXt41EZ7m0XKa3AY%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Colavi%40microsoft.com%7Cc3d862086acd4157714108d9bbc6f4aa%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637747285474556015%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BWeBAopP%2Bz7iT8CqexYZ78i%2B%2B9W6J%2Br0K1tejBaAw4k%3D&reserved=0.

You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F13429%23issuecomment-991916781&data=04%7C01%7CYair.Gil%40microsoft.com%7C206a6cdf4bf64caf660508d9bd82d59f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637749191938852667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=0IwHKKh9MwYeHcv%2BFtVSLjEcwL8Fg%2FvsIwfrkHU7bhE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOXSUHDFM6Y7CCGLQA7NQ4TUQS4RHANCNFSM4TL2AWEQ&data=04%7C01%7CYair.Gil%40microsoft.com%7C206a6cdf4bf64caf660508d9bd82d59f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637749191938852667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=83SIUTt885912vhNOrlHguaQ88wqhLaDKJYrLZDw5gU%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7CYair.Gil%40microsoft.com%7C206a6cdf4bf64caf660508d9bd82d59f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637749191938852667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9meg3oX1Y8OVdynoTrTl7tOAG75dUNDVCWRHtaPLCCM%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7CYair.Gil%40microsoft.com%7C206a6cdf4bf64caf660508d9bd82d59f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637749191938852667%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=mAmRRveLxGHQbnTlaQpcZB6NN6%2F2q7%2BEzgYWGr66XIo%3D&reserved=0.

azmonALERTS avatar Dec 12 '21 16:12 azmonALERTS

Saw new API version of activityLogAlerts which has the "ContainsAny" property available: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json#L448

No related SDK published yet. #15249

VeryEarly avatar Jan 04 '22 07:01 VeryEarly

  • @Yair @.***>, could you please help to re-assign to ALA team

Thank you, Ola

From: Yabo Hu @.> Sent: Tuesday, January 4, 2022 9:13 AM To: Azure/azure-powershell @.> Cc: Ola Lavi @.>; Assign @.> Subject: Re: [Azure/azure-powershell] Get-AzActivityLogAlert (Az.Monitor v2.2.0) returns less information than API (#13429)

Saw new API version of activityLogAlerts which has the "ContainsAny" property available: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/monitor/resource-manager/Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json#L448https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-rest-api-specs%2Fblob%2Fmain%2Fspecification%2Fmonitor%2Fresource-manager%2FMicrosoft.Insights%2Fstable%2F2020-10-01%2FactivityLogAlerts_API.json%23L448&data=04%7C01%7Colavi%40microsoft.com%7C83478cadd5384843334608d9cf519338%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768771589218855%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=G16vN3%2FKCRgQoNDU2zRhUpflUEFLfdryPbUDytzJJBQ%3D&reserved=0

No related SDK published yet.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-powershell%2Fissues%2F13429%23issuecomment-1004574357&data=04%7C01%7Colavi%40microsoft.com%7C83478cadd5384843334608d9cf519338%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768771589268315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=KS5oIv8W%2B%2BXTGnsxAVpDjE%2F35PJO%2BQkpPy3vuKr8uPk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOTTY34LVBGTR4OTVEVTADUUKMV7ANCNFSM4TL2AWEQ&data=04%7C01%7Colavi%40microsoft.com%7C83478cadd5384843334608d9cf519338%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768771589268315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=lWohcP9a%2FC0VxbBZT%2FU3%2BfeyOvkWCARN7uTGouTJ7Z0%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Colavi%40microsoft.com%7C83478cadd5384843334608d9cf519338%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768771589268315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AysLTlb7%2BjwHElU3VcYKuwFRwcDlmm%2BAIIv%2FddVpDSQ%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Colavi%40microsoft.com%7C83478cadd5384843334608d9cf519338%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637768771589268315%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=DdF5srwaEzqY6TxEOIp7JZlZFSIuiK%2BgP3bFQyiP6Ts%3D&reserved=0. You are receiving this because you were assigned.Message ID: @.@.>>

olalavi avatar Jan 04 '22 08:01 olalavi

will be released on 2022-10-12

VeryEarly avatar Sep 27 '22 09:09 VeryEarly