diff --git a/adal/mex.py b/adal/mex.py index a2e3e75a..3ffa14e1 100644 --- a/adal/mex.py +++ b/adal/mex.py @@ -144,7 +144,7 @@ def _select_username_password_polices(self, xpath): policy_id = self._check_policy(policy_node) if policy_id: id_ref = '#' + policy_id - policies[id_ref] = {id:id_ref} + policies[id_ref] = {policy_id:id_ref} return policies if policies else None