Skip to content

Commit

Permalink
Add "mail" parameter to UserUpdateParameters in graphrbac (#12127)
Browse files Browse the repository at this point in the history
This patch adds a single optional field "mail" to UserUpdateParameters
schema. This makes it possible to update user's e-mail address using
the (Go) Azure SDK. Currently this is not possible.

I have curled the graphrbac API with the extra body parameter and it
works as expected.

Addition of the field will make it possible to support the mail property
on the azuread_user resource in terraform-provider-azuread.

Co-authored-by: David Čepelík <david.cepelik@showmax.com>
  • Loading branch information
dcepelik and David Čepelík authored Dec 30, 2020
1 parent b35ad91 commit e91876b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4097,6 +4097,10 @@
"mailNickname": {
"type": "string",
"description": "The mail alias for the user."
},
"mail": {
"type": "string",
"description": "The primary email address of the user."
}
},
"description": "Request parameters for updating an existing work or school account user."
Expand Down

0 comments on commit e91876b

Please sign in to comment.