Skip to content

Commit 3c11490

Browse files
committed
Add inline comments
1 parent 0183369 commit 3c11490

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

msal/wam.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def _convert_error(error, client_id):
3434
"MsalRuntime won't work unless this one more redirect_uri is registered to current app: "
3535
"ms-appx-web://Microsoft.AAD.BrokerPlugin/{}".format(client_id))
3636
return {
37-
"error": "broker_error",
37+
"error": "broker_error", # Note: Broker implies your device needs to be compliant.
38+
# You may use "dsregcmd /status" to check your device state
39+
# https://docs.microsoft.com/en-us/azure/active-directory/devices/troubleshoot-device-dsregcmd
3840
"error_description": "{}. Status: {}, Error code: {}, Tag: {}".format(
3941
context,
4042
error.get_status(), error.get_error_code(), error.get_tag()),

0 commit comments

Comments
 (0)