MSAL client type
Public
Problem Statement
Currently, WAM returns error code in decimal, resulting in negative numbers, such as -2147023584, -2147221164. Their corresponding hexadecimal values are 0x80070520, 0x80040154.
Even https://aka.ms/errors recommends using hex:
🤔 Inverting error code: query was -2147221164 which is more commonly expressed as 0x80040154.
In a search engine, - usually means "not to include". Searching for -2147221164 gives no result:
https://www.google.com/search?q=-2147221164

Proposed solution
WAM should return error code in hexadecimal.