none
Invite user - how to specify different email address? RRS feed

  • Question

  • Hello,

    Using the graph API v1.0 InviteUser command (described here: https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0) I can successfully invite users to our Azure AD tenant.

    However, we have a customer who constructs their user's domain account differently than their email account. So for John Smith, his username would be jsmith@testco.com, but his email address would be johns@testco.com.

    So in this scenario I need to invite the domain account jsmith@testco.com but send the invitation email to johns@testco.com. 

    The current api only lets you specify one address. It is called 'emailAddress' but it is used as both the domain and emailAddress.

    I think this is an oversight to assume a user's email address and domain address will always be the same. Hopefully the api will be changed to allow this but is there a workaround in the meantime? Thanks! 

    Wednesday, March 20, 2019 3:55 PM