MS provides the Azure Active Directory Authentication Libraries for obtaining tokens, so maybe there you can find some JS code to get that value via BrowserExecuteJavaScript.
↧