Skip to content

Commit

Permalink
fix get curren user id azure-graphrbac Breaking change fixes #7839 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
a-santamaria authored and williexu committed Nov 16, 2018
1 parent 50fa3ef commit bfe8048
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ def _create_keyvault(cmd,
# pylint: disable=inconsistent-return-statements
def _get_current_user_object_id(graph_client):
try:
current_user = graph_client.objects.get_current_user()
current_user = graph_client.signed_in_user.get()
if current_user and current_user.object_id: # pylint:disable=no-member
return current_user.object_id # pylint:disable=no-member
except CloudError:
Expand Down

0 comments on commit bfe8048

Please sign in to comment.