Skip to content

Commit

Permalink
Add "mail" parameter to UserUpdateParameters in graphrbac (Azure#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
2 people authored and josuh committed Jan 6, 2021
1 parent 9f52bb6 commit b2387c3
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 b2387c3

Please sign in to comment.