Resolve-AzError

Active Directory Auditing Tool

The Who, Where and When information is very important for an administrator to have complete knowledge of all activities that occur on their Active Directory. This helps them identify any desired / undesired activity happening. ADAudit Plus assists an administrator with this information in the form of reports. In real-time, ensure critical resources in the network like the Domain Controllers are audited, monitored and reported with the entire information on AD objects - Users, Groups, GPO, Computer, OU, DNS, AD Schema and Configuration changes with 200+ detailed event specific GUI reports and email alerts.

Object Access » Resolve-AzError

How to resolve Az errors using Azure PowerShell

Description:

Resolve-AzError cmdlet resolves and displays in-depth information about PowerShell such as where the error occurred in the script, all inner and aggregate exceptions, and stack trace. When it comes to Azure PowerShell errors, additional information is provided, such as in debugging service problems, including details about the request and server response that caused the error.

PowerShell Syntax:

Resolve-AzError [-Last] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

Example:

Resolve the error made last.

PS C:\> Resolve-AzError -Last HistoryId: 3
Message : Run Connect-AzAccount to login.
StackTrace :at Microsoft.Azure.Commands.ResourceManager .Common.AzureRMCmdlet.get_DefaultContext() in AzureRmCmdlet.cs:line 85  at Microsoft.Azure.Commands.ResourceManager .Common.AzureRMCmdlet.LogCmdletStartInvocationInfo() in AzureRmCmdlet.cs:line 269  at Microsoft.WindowsAzure.Commands.Utilities .Common.AzurePSCmdlet.BeginProcessing() inAzurePSCmdlet.cs:line 299  at Microsoft.Azure.Commands.ResourceManager .Common.AzureRMCmdlet.BeginProcessing() in AzureRmCmdlet.cs:line 320  at Microsoft.Azure.Commands.Profile .GetAzureRMSubscriptionCommand.BeginProcessing() in GetAzureRMSubscription.cs:line 49  at System.Management.Automation .Cmdlet.DoBeginProcessing()  at System.Management.Automation .CommandProcessorBase.DoBegin()
Exception : System.Management.Automation.PSInvalidOperationException
InvocationInfo : {Get-AzSubscription}
Line : Get-AzSubscription
Position : At line:1 char:1  + Get-AzSubscription  + ~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 3

About ADAudit Plus

ADAudit Plus is a real-time, web-based Windows Active Directory change reporting software that audits, tracks, reports and alerts on Windows (Active Directory, workstations logon/logoff, file servers and servers), NetApp filers and EMC servers to help meet the demands of the much-needed security, audit and compliance. With ADAudit Plus, track authorized/unauthorized AD management changes, access of users, GPO, groups, computer, OU. Track every file, folder modifications, access and permissions changes with 200+ detailed event-specific reports and get instant emails alerts. You can also export the results to XLS, HTML, PDF and CSV formats to assist in interpretation and computer forensics. For more information on ADAudit Plus, visit https://www.manageengine.com/active-directory-audit/.