Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.25k stars 3.85k forks source link

Get-AzAlertRule not giving any output #20638

Open aadisrt100 opened 1 year ago

aadisrt100 commented 1 year ago

Description

I am trying to get the details of my alert rule using the command Get-AzAlertRule -TargetResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/windowsvm When i press enter it asks for the resource group details . After entering the details when i press enter it says

WARNING: 3:10:41 PM - The namespace for all the model classes will change from Microsoft.Azure.Management.Monitor.Management.Models to Microsoft.Azure.Management.Monitor.Models in futur e releases. WARNING: 3:10:41 PM - The namespace for output classes will be uniform for all classes in future releases to make it independent of modifications in the model classes. WARNING: [Get-AzAlertRule] Parameter deprecation: The DetailedOutput parameter will be deprecated in a future breaking change release.

It doesn't give any output to me and then completed the execution.

Issue script & Debug output

PS C:\Users\aditya.mishra13> $DebugPreference='Continue'

PS C:\Users\aditya.mishra13> Get-AzAlertRule -TargetResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/windowsvm
cmdlet Get-AzAlertRule at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
ResourceGroupName: cluster01_group
DEBUG: 3:14:53 PM - GetAzureRmAlertRuleCommand begin processing with ParameterSet 'GetByResourceUri'.
DEBUG: 3:14:53 PM - using account id 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'...
DEBUG: 3:14:53 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
WARNING: 3:14:53 PM - *** The namespace for all the model classes will change from Microsoft.Azure.Management.Monitor.Management.Models to Microsoft.Azure.Management.Monitor.Models in futur
e releases.
WARNING: 3:14:54 PM - *** The namespace for output classes will be uniform for all classes in future releases to make it independent of modifications in the model classes.
WARNING: [Get-AzAlertRule] Parameter deprecation: The DetailedOutput parameter will be deprecated in a future breaking change release.
DEBUG: [Common.Authentication]: Authenticating using Account: 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com', environment: 'AzureCloud', tenant: 'e1e71397-6e98-4894-b562-24ab601f0
a4c'
DEBUG: 3:14:54 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'e1e71397-6e98-4894-b562-24ab601f0a4c', Scopes:'https://management.core.windows.net//.d
efault', AuthorityHost:'https://login.microsoftonline.com/', UserId:'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'
DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] [WamBroker] WAM supported OS.
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled.
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - cb941bbe-7451-4817-8f26-e9ece1a3f619] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] Found 2 cache accounts and 0 broker accounts
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] Returning 2 accounts
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] MSAL MSAL.Desktop with assembly version '4.49.1.0'. 
CorrelationId(77f4d78c-471e-459b-bf70-2ca075f70d19)
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === AcquireTokenSilent Parameters ===
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] LoginHint provided: False
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Account provided: True
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] ForceRefresh: False
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] 
=== Request Data ===
Authority Provided? - True
Scopes - https://management.core.windows.net//.default
Extra Query Params Keys (space separated) - 
ApiId - AcquireTokenSilent
IsConfidentialClient - False
SendX5C - False
LoginHint ? False
IsBrokerConfigured - True
HomeAccountId - False
CorrelationId - 77f4d78c-471e-459b-bf70-2ca075f70d19
UserAssertion set: False
LongRunningOboCacheKey set: False
Region configured: 

DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === Token Acquisition (SilentRequest) started:
     Scopes: https://management.core.windows.net//.default
    Authority Host: login.microsoftonline.com
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Access token is not expired. Returning the found cac
he entry. [Current time (01/12/2023 09:44:54) - Expiration Time (01/12/2023 10:43:25 +00:00) - Extended Expiration Time (01/12/2023 10:43:25 +00:00)]
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Returning access token found in cache. RefreshOn exi
sts ? False
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] [Region discovery] Not using a regional authority. 
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] 
    === Token Acquisition finished successfully:
DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19]  AT expiration time: 1/12/2023 10:43:25 AM +00:00, s
copes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache
DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId:  ExpiresOn: 2023-01-12T10:43:25.0000000+00:00
DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'e1e71397-6e98-4894-b562-24ab601f0a4c', UserId: 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourcegroups/cluster01_group/providers/Microsoft.Insights/alertrules?api-version=2016-03-01

Headers:
x-ms-client-request-id        : 9f77d26f-d997-4405-93ab-11b0ba08e0db
accept-language               : en-US

Body:

DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
x-ms-ratelimit-remaining-subscription-reads: 11993
x-ms-request-id               : 16648e8a-18ef-480d-b0a8-6d876f401263
x-ms-correlation-request-id   : 16648e8a-18ef-480d-b0a8-6d876f401263
x-ms-routing-request-id       : JIOINDIAWEST:20230112T094454Z:16648e8a-18ef-480d-b0a8-6d876f401263
Strict-Transport-Security     : max-age=31536000; includeSubDomains
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Thu, 12 Jan 2023 09:44:54 GMT

Body:
{
  "value": []
}

DEBUG: AzureQoSEvent:  Module: Az.Monitor:4.3.0; CommandName: Get-AzAlertRule; PSVersion: 5.1.22000.1335; IsSuccess: True; Duration: 00:00:01.2893595
DEBUG: 3:14:55 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 3:14:55 PM - GetAzureRmAlertRuleCommand end processing.

PS C:\Users\aditya.mishra13>

Environment data

PS C:\Users\aditya.mishra13> $PSVersionTable 

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

Module versions

PS C:\Users\aditya.mishra13> Get-Module Az*

ModuleType Version    Name                                ExportedCommands                                                                                                                  
---------- -------    ----                                ----------------                                                                                                                  
Script     2.11.0     Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}                                                          
Script     0.5.0      Az.AlertsManagement                 {Get-AzAlert, Get-AzAlertObjectHistory, Get-AzAlertProcessingRule, Get-AzSmartGroup...}                                           
Script     4.3.0      Az.Monitor                          {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Add-AzWebtestAlertRule...}                                     
Script     4.4.0      Az.Monitor                          {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Add-AzWebtestAlertRule...}

Error output

PS C:\Users\aditya.mishra13> Resolve-AzError
DEBUG: 3:17:10 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 3:17:10 PM - using account id 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'...
DEBUG: 3:17:10 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True].
WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' :
The `Resolve-Error` alias will be removed in a future release.  Please change any scripts that use this alias to use `Resolve-AzError` instead.
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.

   HistoryId: 35

Message        : Get-Help could not find GetAzAlert in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in 
                 the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116.
StackTrace     : 
Exception      : Microsoft.PowerShell.Commands.HelpNotFoundException
InvocationInfo : {Get-Help}
Line           : get-help -Name GetAzAlert
Position       : At line:1 char:1
                 + get-help -Name GetAzAlert
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories.
StackTrace     : 
Exception      : System.Exception
InvocationInfo : {Get-PackageSource}
Line           :                 $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35
                 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters
                 +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories.
StackTrace     : 
Exception      : System.Exception
InvocationInfo : {Get-PackageSource}
Line           :                 $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35
                 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters
                 +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories.
StackTrace     : 
Exception      : System.Exception
InvocationInfo : {Get-PackageSource}
Line           :                 $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35
                 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters
                 +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories.
StackTrace     : 
Exception      : System.Exception
InvocationInfo : {Get-PackageSource}
Line           :                 $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35
                 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters
                 +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Cannot find a variable with the name 'SourceLocation'.
StackTrace     : 
Exception      : System.Management.Automation.ItemNotFoundException
InvocationInfo : {Get-Variable}
Line           :         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue)

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13
                 +         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ...
                 +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Cannot find a variable with the name 'SourceLocation'.
StackTrace     : 
Exception      : System.Management.Automation.ItemNotFoundException
InvocationInfo : {Get-Variable}
Line           :         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue)

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13
                 +         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ...
                 +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Cannot find a variable with the name 'SourceLocation'.
StackTrace     : 
Exception      : System.Management.Automation.ItemNotFoundException
InvocationInfo : {Get-Variable}
Line           :         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue)

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13
                 +         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ...
                 +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

Message        : Cannot find a variable with the name 'SourceLocation'.
StackTrace     : 
Exception      : System.Management.Automation.ItemNotFoundException
InvocationInfo : {Get-Variable}
Line           :         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue)

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13
                 +         if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ...
                 +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 35

   HistoryId: 34

Message        : A parameter cannot be found that matches parameter name 'Scope'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Update-Module}
Line           : Update-Module -Name Az -Scope CurrentUser -Force
Position       : At line:1 char:24
                 + Update-Module -Name Az -Scope CurrentUser -Force
                 +                        ~~~~~~
HistoryId      : 34

   HistoryId: 28

Message        : A parameter cannot be found that matches parameter name 'TargetResourceScope'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceGroupName cluster01_group  -TargetResourceScope 
                 "/subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm" -TargetResourceType 
                 "Microsoft.Compute/virtualMachines"
Position       : At line:1 char:61
                 + ... leV2 -ResourceGroupName cluster01_group  -TargetResourceScope "/subsc ...
                 +                                              ~~~~~~~~~~~~~~~~~~~~
HistoryId      : 28

   HistoryId: 27

Message        : A parameter cannot be found that matches parameter name 'TargetResourceId'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -TargetResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:25
                 + Get-AzMetricAlertRuleV2 -TargetResourceId /subscriptions/7ce7d15a-7f6 ...
                 +                         ~~~~~~~~~~~~~~~~~
HistoryId      : 27

   HistoryId: 26

Message        : A parameter cannot be found that matches parameter name 'RuleId'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -RuleId 39e47a9b-df87-4e74-bbac-1565d92324a5

Position       : At line:1 char:25
                 + Get-AzMetricAlertRuleV2 -RuleId 39e47a9b-df87-4e74-bbac-1565d92324a5
                 +                         ~~~~~~~
HistoryId      : 26

   HistoryId: 25

Message        : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found
StackTrace     :    at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.Management.Automation.PSInvalidOperationException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 25

Message        : Operation returned an invalid status code 'NotFound'
StackTrace     :    at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.<GetWithHttpMessagesAsync>d__7.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.<GetAsync>d__5.MoveNext()
Exception      : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 25

   HistoryId: 24

Message        : An item with the same key has already been added.
StackTrace     :    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing()
                    at System.Management.Automation.CommandProcessorBase.Complete()
Exception      : System.ArgumentException
InvocationInfo : {ConvertTo-Json}
Line           : Get-AzMetricAlertRuleV2 | ConvertTo-Json
Position       : At line:1 char:27
                 + Get-AzMetricAlertRuleV2 | ConvertTo-Json
                 +                           ~~~~~~~~~~~~~~
HistoryId      : 24

   HistoryId: 22

Message        : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found
StackTrace     :    at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.Management.Automation.PSInvalidOperationException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 22

Message        : Operation returned an invalid status code 'NotFound'
StackTrace     :    at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.<GetWithHttpMessagesAsync>d__7.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.<GetAsync>d__5.MoveNext()
Exception      : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 22

   HistoryId: 18

Message        : The term 'Get-AzMetricAlertRuleV2Get-AzMetricDefinition' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the 
                 name, or if a path was included, verify that the path is correct and try again.
StackTrace     :    at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, 
                 CommandOrigin commandOrigin, ExecutionContext context)
                    at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
                    at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource)
                    at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, 
                 CommandRedirection[] redirections, ExecutionContext context)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.CommandNotFoundException
InvocationInfo : {}
Line           : Get-AzMetricAlertRuleV2Get-AzMetricDefinition -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2Get-AzMetricDefinition -ResourceId /subscripti ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 18

   HistoryId: 17

Message        : An item with the same key has already been added.
StackTrace     :    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing()
                    at System.Management.Automation.CommandProcessorBase.Complete()
Exception      : System.ArgumentException
InvocationInfo : {ConvertTo-Json}
Line           : Get-AzMetricAlertRuleV2 | ConvertTo-Json
Position       : At line:1 char:27
                 + Get-AzMetricAlertRuleV2 | ConvertTo-Json
                 +                           ~~~~~~~~~~~~~~
HistoryId      : 17

   HistoryId: 16

Message        : An item with the same key has already been added.
StackTrace     :    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
                    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth)
                    at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing()
                    at System.Management.Automation.CommandProcessorBase.Complete()
Exception      : System.ArgumentException
InvocationInfo : {ConvertTo-Json}
Line           : Get-AzMetricAlertRuleV2 | ConvertTo-json
Position       : At line:1 char:27
                 + Get-AzMetricAlertRuleV2 | ConvertTo-json
                 +                           ~~~~~~~~~~~~~~
HistoryId      : 16

   HistoryId: 14

Message        : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found
StackTrace     :    at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet()
                    at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception      : System.Management.Automation.PSInvalidOperationException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 14

Message        : Operation returned an invalid status code 'NotFound'
StackTrace     :    at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.<GetWithHttpMessagesAsync>d__7.MoveNext()
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                    at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.<GetAsync>d__5.MoveNext()
Exception      : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException
InvocationInfo : {Get-AzMetricAlertRuleV2}
Line           : Get-AzMetricAlertRuleV2 -ResourceId 
                 /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm
Position       : At line:1 char:1
                 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ...
                 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 14

   HistoryId: 10

Message        : A parameter cannot be found that matches parameter name 'ResourceGroupName'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzAlert}
Line           : Get-AzAlert -ResourceGroupName "cluster01_group"
Position       : At line:1 char:13
                 + Get-AzAlert -ResourceGroupName "cluster01_group"
                 +             ~~~~~~~~~~~~~~~~~~
HistoryId      : 10

   HistoryId: 5

Message        : A parameter cannot be found that matches parameter name 'ResourceGroupName'.
StackTrace     :    at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments)
                    at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments)
                    at System.Management.Automation.CommandProcessor.BindCommandLineParameters()
                    at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues)
                    at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream)
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                 --- End of stack trace from previous location where exception was thrown ---
                    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
                    at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input)
                    at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] 
                 pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.ParameterBindingException
InvocationInfo : {Get-AzAlert}
Line           : Get-AzAlert -ResourceGroupName cluster01_group
Position       : At line:1 char:13
                 + Get-AzAlert -ResourceGroupName cluster01_group
                 +             ~~~~~~~~~~~~~~~~~~
HistoryId      : 5

   HistoryId: 1

Message        : No match was found for the specified search criteria and module name 'Az.AlertsManagement'. Try Get-PSRepository to see all available registered module repositories.
StackTrace     : 
Exception      : System.Exception
InvocationInfo : {Install-Package}
Line           :             $null = PackageManagement\Install-Package @PSBoundParameters

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
                 + ...          $null = PackageManagement\Install-Package @PSBoundParameters
                 +                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : 1

   HistoryId: -1

Message        : Unable to find type [System.Net.Http.HttpClient].
StackTrace     :    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line           :         [System.Net.Http.HttpClient]

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:6260 char:9
                 +         [System.Net.Http.HttpClient]
                 +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : -1

Message        : Unable to find type [System.Net.Http.HttpClient].
StackTrace     :    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line           :         [System.Net.Http.HttpClient]

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:6260 char:9
                 +         [System.Net.Http.HttpClient]
                 +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : -1

Message        : Unable to find type [Microsoft.PowerShell.Commands.PowerShellGet.Telemetry].
StackTrace     :    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line           :     $telemetryMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | Get-Member -Static).Name

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:715 char:26
                 + ... yMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | ...
                 +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : -1

DEBUG: AzureQoSEvent:  Module: Az.Accounts:2.11.0; CommandName: Resolve-AzError; PSVersion: 5.1.22000.1335; IsSuccess: True; Duration: 00:00:01.4629512
DEBUG: 3:17:11 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True].
DEBUG: 3:17:11 PM - ResolveError end processing.
ghost commented 1 year ago

Thank you for your feedback. This has been routed to the support team for assistance.

RakeshMohanMSFT commented 1 year ago

@aadisrt100 Thank you for reaching out to us, we are looking into it.

aadisrt100 commented 1 year ago

any update??

aadisrt100 commented 1 year ago

hii team ? any update on this?

RakeshMohanMSFT commented 1 year ago

@aadisrt100 The REST API (Service is not returning any result), the issue is not at the client (PowerShell). I will send this request to the Service Team.

For quicker solution/response, i suggest you open a support ticket. Also you can try using Azure Resource graph.

ghost commented 1 year ago

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

Issue Details
### Description I am trying to get the details of my alert rule using the command Get-AzAlertRule -TargetResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/windowsvm When i press enter it asks for the resource group details . After entering the details when i press enter it says WARNING: 3:10:41 PM - *** The namespace for all the model classes will change from Microsoft.Azure.Management.Monitor.Management.Models to Microsoft.Azure.Management.Monitor.Models in futur e releases. WARNING: 3:10:41 PM - *** The namespace for output classes will be uniform for all classes in future releases to make it independent of modifications in the model classes. WARNING: [Get-AzAlertRule] Parameter deprecation: The DetailedOutput parameter will be deprecated in a future breaking change release. It doesn't give any output to me and then completed the execution. ### Issue script & Debug output ```PowerShell PS C:\Users\aditya.mishra13> $DebugPreference='Continue' PS C:\Users\aditya.mishra13> Get-AzAlertRule -TargetResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/windowsvm cmdlet Get-AzAlertRule at command pipeline position 1 Supply values for the following parameters: (Type !? for Help.) ResourceGroupName: cluster01_group DEBUG: 3:14:53 PM - GetAzureRmAlertRuleCommand begin processing with ParameterSet 'GetByResourceUri'. DEBUG: 3:14:53 PM - using account id 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'... DEBUG: 3:14:53 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True]. WARNING: 3:14:53 PM - *** The namespace for all the model classes will change from Microsoft.Azure.Management.Monitor.Management.Models to Microsoft.Azure.Management.Monitor.Models in futur e releases. WARNING: 3:14:54 PM - *** The namespace for output classes will be uniform for all classes in future releases to make it independent of modifications in the model classes. WARNING: [Get-AzAlertRule] Parameter deprecation: The DetailedOutput parameter will be deprecated in a future breaking change release. DEBUG: [Common.Authentication]: Authenticating using Account: 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com', environment: 'AzureCloud', tenant: 'e1e71397-6e98-4894-b562-24ab601f0 a4c' DEBUG: 3:14:54 PM - [SilentAuthenticator] Calling SharedTokenCacheCredential.GetTokenAsync - TenantId:'e1e71397-6e98-4894-b562-24ab601f0a4c', Scopes:'https://management.core.windows.net//.d efault', AuthorityHost:'https://login.microsoftonline.com/', UserId:'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com' DEBUG: SharedTokenCacheCredential.GetToken invoked. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - a76fae14-e0f1-450f-bfda-2100cdd9c7ea] IsLegacyAdalCacheEnabled: yes DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] [WamBroker] WAM supported OS. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] [WamBroker] ListWindowsWorkAndSchoolAccounts option was not enabled. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - cb941bbe-7451-4817-8f26-e9ece1a3f619] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] Found 2 cache accounts and 0 broker accounts DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z] Returning 2 accounts DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] MSAL MSAL.Desktop with assembly version '4.49.1.0'. CorrelationId(77f4d78c-471e-459b-bf70-2ca075f70d19) DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === AcquireTokenSilent Parameters === DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] LoginHint provided: False DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Account provided: True DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] ForceRefresh: False DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === Request Data === Authority Provided? - True Scopes - https://management.core.windows.net//.default Extra Query Params Keys (space separated) - ApiId - AcquireTokenSilent IsConfidentialClient - False SendX5C - False LoginHint ? False IsBrokerConfigured - True HomeAccountId - False CorrelationId - 77f4d78c-471e-459b-bf70-2ca075f70d19 UserAssertion set: False LongRunningOboCacheKey set: False Region configured: DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === Token Acquisition (SilentRequest) started: Scopes: https://management.core.windows.net//.default Authority Host: login.microsoftonline.com DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Access token is not expired. Returning the found cac he entry. [Current time (01/12/2023 09:44:54) - Expiration Time (01/12/2023 10:43:25 +00:00) - Extended Expiration Time (01/12/2023 10:43:25 +00:00)] DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] Returning access token found in cache. RefreshOn exi sts ? False DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] [Region discovery] Not using a regional authority. DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] === Token Acquisition finished successfully: DEBUG: False MSAL 4.49.1.0 MSAL.Desktop 4.8 or later Windows 10 Enterprise [2023-01-12 09:44:54Z - 77f4d78c-471e-459b-bf70-2ca075f70d19] AT expiration time: 1/12/2023 10:43:25 AM +00:00, s copes: https://management.core.windows.net//user_impersonation https://management.core.windows.net//.default. source: Cache DEBUG: SharedTokenCacheCredential.GetToken succeeded. Scopes: [ https://management.core.windows.net//.default ] ParentRequestId: ExpiresOn: 2023-01-12T10:43:25.0000000+00:00 DEBUG: [Common.Authentication]: Received token with LoginType 'User', Tenant: 'e1e71397-6e98-4894-b562-24ab601f0a4c', UserId: 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com' DEBUG: ============================ HTTP REQUEST ============================ HTTP Method: GET Absolute Uri: https://management.azure.com/subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourcegroups/cluster01_group/providers/Microsoft.Insights/alertrules?api-version=2016-03-01 Headers: x-ms-client-request-id : 9f77d26f-d997-4405-93ab-11b0ba08e0db accept-language : en-US Body: DEBUG: ============================ HTTP RESPONSE ============================ Status Code: OK Headers: Pragma : no-cache x-ms-ratelimit-remaining-subscription-reads: 11993 x-ms-request-id : 16648e8a-18ef-480d-b0a8-6d876f401263 x-ms-correlation-request-id : 16648e8a-18ef-480d-b0a8-6d876f401263 x-ms-routing-request-id : JIOINDIAWEST:20230112T094454Z:16648e8a-18ef-480d-b0a8-6d876f401263 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Content-Type-Options : nosniff Cache-Control : no-cache Date : Thu, 12 Jan 2023 09:44:54 GMT Body: { "value": [] } DEBUG: AzureQoSEvent: Module: Az.Monitor:4.3.0; CommandName: Get-AzAlertRule; PSVersion: 5.1.22000.1335; IsSuccess: True; Duration: 00:00:01.2893595 DEBUG: 3:14:55 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True]. DEBUG: 3:14:55 PM - GetAzureRmAlertRuleCommand end processing. PS C:\Users\aditya.mishra13> ``` ### Environment data ```PowerShell PS C:\Users\aditya.mishra13> $PSVersionTable Name Value ---- ----- PSVersion 5.1.22000.1335 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.22000.1335 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 ``` ### Module versions ```PowerShell PS C:\Users\aditya.mishra13> Get-Module Az* ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 2.11.0 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...} Script 0.5.0 Az.AlertsManagement {Get-AzAlert, Get-AzAlertObjectHistory, Get-AzAlertProcessingRule, Get-AzSmartGroup...} Script 4.3.0 Az.Monitor {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Add-AzWebtestAlertRule...} Script 4.4.0 Az.Monitor {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Add-AzWebtestAlertRule...} ``` ### Error output ```PowerShell PS C:\Users\aditya.mishra13> Resolve-AzError DEBUG: 3:17:10 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'. DEBUG: 3:17:10 PM - using account id 'Aditya.mishra13@aashutoshbhaiyaoutlook.onmicrosoft.com'... DEBUG: 3:17:10 PM - [ConfigManager] Got nothing from [DisplayBreakingChangeWarning], Module = [], Cmdlet = []. Returning default value [True]. WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' : The `Resolve-Error` alias will be removed in a future release. Please change any scripts that use this alias to use `Resolve-AzError` instead. Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell. HistoryId: 35 Message : Get-Help could not find GetAzAlert in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at https:/go.microsoft.com/fwlink/?LinkID=107116. StackTrace : Exception : Microsoft.PowerShell.Commands.HelpNotFoundException InvocationInfo : {Get-Help} Line : get-help -Name GetAzAlert Position : At line:1 char:1 + get-help -Name GetAzAlert + ~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories. StackTrace : Exception : System.Exception InvocationInfo : {Get-PackageSource} Line : $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories. StackTrace : Exception : System.Exception InvocationInfo : {Get-PackageSource} Line : $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories. StackTrace : Exception : System.Exception InvocationInfo : {Get-PackageSource} Line : $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Unable to find repository 'Name'. Use Get-PSRepository to see all available repositories. StackTrace : Exception : System.Exception InvocationInfo : {Get-PackageSource} Line : $packageSources = PackageManagement\Get-PackageSource @PSBoundParameters Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4489 char:35 + ... ckageSources = PackageManagement\Get-PackageSource @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Cannot find a variable with the name 'SourceLocation'. StackTrace : Exception : System.Management.Automation.ItemNotFoundException InvocationInfo : {Get-Variable} Line : if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue) Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13 + if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Cannot find a variable with the name 'SourceLocation'. StackTrace : Exception : System.Management.Automation.ItemNotFoundException InvocationInfo : {Get-Variable} Line : if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue) Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13 + if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Cannot find a variable with the name 'SourceLocation'. StackTrace : Exception : System.Management.Automation.ItemNotFoundException InvocationInfo : {Get-Variable} Line : if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue) Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13 + if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 Message : Cannot find a variable with the name 'SourceLocation'. StackTrace : Exception : System.Management.Automation.ItemNotFoundException InvocationInfo : {Get-Variable} Line : if (Get-Variable -Name SourceLocation -ErrorAction SilentlyContinue) Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:4075 char:13 + if (Get-Variable -Name SourceLocation -ErrorAction SilentlyCo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 35 HistoryId: 34 Message : A parameter cannot be found that matches parameter name 'Scope'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Update-Module} Line : Update-Module -Name Az -Scope CurrentUser -Force Position : At line:1 char:24 + Update-Module -Name Az -Scope CurrentUser -Force + ~~~~~~ HistoryId : 34 HistoryId: 28 Message : A parameter cannot be found that matches parameter name 'TargetResourceScope'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceGroupName cluster01_group -TargetResourceScope "/subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm" -TargetResourceType "Microsoft.Compute/virtualMachines" Position : At line:1 char:61 + ... leV2 -ResourceGroupName cluster01_group -TargetResourceScope "/subsc ... + ~~~~~~~~~~~~~~~~~~~~ HistoryId : 28 HistoryId: 27 Message : A parameter cannot be found that matches parameter name 'TargetResourceId'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -TargetResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:25 + Get-AzMetricAlertRuleV2 -TargetResourceId /subscriptions/7ce7d15a-7f6 ... + ~~~~~~~~~~~~~~~~~ HistoryId : 27 HistoryId: 26 Message : A parameter cannot be found that matches parameter name 'RuleId'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -RuleId 39e47a9b-df87-4e74-bbac-1565d92324a5 Position : At line:1 char:25 + Get-AzMetricAlertRuleV2 -RuleId 39e47a9b-df87-4e74-bbac-1565d92324a5 + ~~~~~~~ HistoryId : 26 HistoryId: 25 Message : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found StackTrace : at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() Exception : System.Management.Automation.PSInvalidOperationException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 25 Message : Operation returned an invalid status code 'NotFound' StackTrace : at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.d__5.MoveNext() Exception : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 25 HistoryId: 24 Message : An item with the same key has already been added. StackTrace : at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() Exception : System.ArgumentException InvocationInfo : {ConvertTo-Json} Line : Get-AzMetricAlertRuleV2 | ConvertTo-Json Position : At line:1 char:27 + Get-AzMetricAlertRuleV2 | ConvertTo-Json + ~~~~~~~~~~~~~~ HistoryId : 24 HistoryId: 22 Message : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found StackTrace : at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() Exception : System.Management.Automation.PSInvalidOperationException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 22 Message : Operation returned an invalid status code 'NotFound' StackTrace : at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.d__5.MoveNext() Exception : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 22 HistoryId: 18 Message : The term 'Get-AzMetricAlertRuleV2Get-AzMetricDefinition' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. StackTrace : at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String commandName, CommandTypes commandTypes, SearchResolutionOptions searchResolutionOptions, CommandOrigin commandOrigin, ExecutionContext context) at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope) at System.Management.Automation.ExecutionContext.CreateCommand(String command, Boolean dotSource) at System.Management.Automation.PipelineOps.AddCommand(PipelineProcessor pipe, CommandParameterInternal[] commandElements, CommandBaseAst commandBaseAst, CommandRedirection[] redirections, ExecutionContext context) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.CommandNotFoundException InvocationInfo : {} Line : Get-AzMetricAlertRuleV2Get-AzMetricDefinition -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2Get-AzMetricDefinition -ResourceId /subscripti ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 18 HistoryId: 17 Message : An item with the same key has already been added. StackTrace : at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() Exception : System.ArgumentException InvocationInfo : {ConvertTo-Json} Line : Get-AzMetricAlertRuleV2 | ConvertTo-Json Position : At line:1 char:27 + Get-AzMetricAlertRuleV2 | ConvertTo-Json + ~~~~~~~~~~~~~~ HistoryId : 17 HistoryId: 16 Message : An item with the same key has already been added. StackTrace : at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessCustomObject[T](Object o, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.ProcessValue(Object obj, Int32 depth) at Microsoft.PowerShell.Commands.ConvertToJsonCommand.EndProcessing() at System.Management.Automation.CommandProcessorBase.Complete() Exception : System.ArgumentException InvocationInfo : {ConvertTo-Json} Line : Get-AzMetricAlertRuleV2 | ConvertTo-json Position : At line:1 char:27 + Get-AzMetricAlertRuleV2 | ConvertTo-json + ~~~~~~~~~~~~~~ HistoryId : 16 HistoryId: 14 Message : Exception type: ErrorResponseException, Message: Null/Empty, Code: Null, Status code:NotFound, Reason phrase: Not Found StackTrace : at Microsoft.Azure.Commands.Insights.MonitorCmdletBase.ExecuteCmdlet() at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord() Exception : System.Management.Automation.PSInvalidOperationException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 14 Message : Operation returned an invalid status code 'NotFound' StackTrace : at Microsoft.Azure.Management.Monitor.MetricAlertsOperations.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Azure.Management.Monitor.MetricAlertsOperationsExtensions.d__5.MoveNext() Exception : Microsoft.Azure.Management.Monitor.Models.ErrorResponseException InvocationInfo : {Get-AzMetricAlertRuleV2} Line : Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922-8636-8ceeade88284/resourceGroups/cluster01_group/providers/Microsoft.Compute/virtualMachines/WindowsVm Position : At line:1 char:1 + Get-AzMetricAlertRuleV2 -ResourceId /subscriptions/7ce7d15a-7f61-4922 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 14 HistoryId: 10 Message : A parameter cannot be found that matches parameter name 'ResourceGroupName'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Get-AzAlert} Line : Get-AzAlert -ResourceGroupName "cluster01_group" Position : At line:1 char:13 + Get-AzAlert -ResourceGroupName "cluster01_group" + ~~~~~~~~~~~~~~~~~~ HistoryId : 10 HistoryId: 5 Message : A parameter cannot be found that matches parameter name 'ResourceGroupName'. StackTrace : at System.Management.Automation.CmdletParameterBinderController.VerifyArgumentsProcessed(ParameterBindingException originalBindingException) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParametersNoValidation(Collection`1 arguments) at System.Management.Automation.CmdletParameterBinderController.BindCommandLineParameters(Collection`1 arguments) at System.Management.Automation.CommandProcessor.BindCommandLineParameters() at System.Management.Automation.CommandProcessor.Prepare(IDictionary psDefaultParameterValues) at System.Management.Automation.CommandProcessorBase.DoPrepare(IDictionary psDefaultParameterValues) at System.Management.Automation.Internal.PipelineProcessor.Start(Boolean incomingStream) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.ParameterBindingException InvocationInfo : {Get-AzAlert} Line : Get-AzAlert -ResourceGroupName cluster01_group Position : At line:1 char:13 + Get-AzAlert -ResourceGroupName cluster01_group + ~~~~~~~~~~~~~~~~~~ HistoryId : 5 HistoryId: 1 Message : No match was found for the specified search criteria and module name 'Az.AlertsManagement'. Try Get-PSRepository to see all available registered module repositories. StackTrace : Exception : System.Exception InvocationInfo : {Install-Package} Line : $null = PackageManagement\Install-Package @PSBoundParameters Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21 + ... $null = PackageManagement\Install-Package @PSBoundParameters + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : 1 HistoryId: -1 Message : Unable to find type [System.Net.Http.HttpClient]. StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.RuntimeException InvocationInfo : {} Line : [System.Net.Http.HttpClient] Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:6260 char:9 + [System.Net.Http.HttpClient] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : -1 Message : Unable to find type [System.Net.Http.HttpClient]. StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.RuntimeException InvocationInfo : {} Line : [System.Net.Http.HttpClient] Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:6260 char:9 + [System.Net.Http.HttpClient] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : -1 Message : Unable to find type [Microsoft.PowerShell.Commands.PowerShellGet.Telemetry]. StackTrace : at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Exception : System.Management.Automation.RuntimeException InvocationInfo : {} Line : $telemetryMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | Get-Member -Static).Name Position : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:715 char:26 + ... yMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ HistoryId : -1 DEBUG: AzureQoSEvent: Module: Az.Accounts:2.11.0; CommandName: Resolve-AzError; PSVersion: 5.1.22000.1335; IsSuccess: True; Duration: 00:00:01.4629512 DEBUG: 3:17:11 PM - [ConfigManager] Got nothing from [EnableDataCollection], Module = [], Cmdlet = []. Returning default value [True]. DEBUG: 3:17:11 PM - ResolveError end processing. ```
Author: aadisrt100
Assignees: -
Labels: `Service Attention`, `bug`, `Monitor - Alerts`, `customer-reported`
Milestone: -