8000 GitHub - alexverboon/AADSTSErrorInfo: Look up AADTS error codes
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexverboon/AADSTSErrorInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AADSTSErrorInfo

Minimum Supported PowerShell Version Minimum Supported PowerShell Version Cross Platform PowerShell Gallery Version PowerShell Gallery [License

Introduction

The AADSTSErrorInfo PowerShell Module provides a quick and easy way to lookup Azure AD Authentication and authorization error codes and retrieve AADSTS descriptions, fixes, and when available suggested workarounds or recommendations.

Error codes and messages are subject to change, the documentation here might not always be up to date. Using the AADSTSErrorInfo module will get you up to date information directly from the error page.

https://login.microsoftonline.com/error

Getting started

Run the following command to install the AADSTSErrorInfo PowerShell module

Install-Module -Name AADSTSErrorInfo -Scope CurrentUser

List the included functions (currently there is just one)

get-command -Module AADSTSErrorInfo

Lookup an error code

Get-AADSTSError -ErrorCode 50076 |fl

When the error code is found the script returns the Error Code, Description and Remediation information

ErrorCode   : 50076
Description : Due to a configuration change made by your administrator, or because you moved to a new location, you
              must use multi-factor authentication to access '{resource}'.
Remediation : User needs to perform multi-factor authentication. There could be multiple things requiring
              multi-factor, e.g. Conditional Access policies, per-user enforcement, requested by client, among others.

Release Notes

Version Date Notes
0.0.1 18.01.2021 Initial version
0.0.2 22.01.2021 minor updates
0.0.3 01.02.2021 Added support for PowerShell 7

Credits

@FredWeinmann This module was created using the PSModuleDevelopment

@PalmEmanuel for his blog post (https://www.pipehow.tech/invoke-webscrape/) that inspired me to build a workaround when i found out that the Invoke-WebRequest on PowerShell core does no longer return the ParsedHtml property

TODO

  • Build pipeline

About

Look up AADTS error codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0