Azure Guest Account - Invitation email is not receiving for invited user

Occasional Contributor

Hi,

We are trying to create guest accounts in Azure using Microsoft Graph API (https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http). But, we have observed that the invited user did not receive any email invitation which should happen automatically.

 

Sample POST request that we are using:

 

{
  "invitedUserEmailAddress""Email address",
  "inviteRedirectUrl""http://localhost"
}
 
Could you please help us in this regards.
 
Thank you in advance.
 
4 Replies
What does the response show? Does the user receive an email if you send the invite via the AAD UI? And of course make sure they check their spam folder.

Thank you so much @Vasil Michev  for your reply.

Yes it is working from AAD UI. But not using Microsoft graph API.

 

Here is the request and response of the REST API(https://graph.microsoft.com/v1.0/invitations).

Please let us know if we miss anything here.

Request:

{
  "invitedUserEmailAddress""email_address",
  "inviteRedirectUrl""http://localhost"
}

Response:

 

InviteUserResponse.png

 

 

Hi @Vasil Michev,

 

Its working after setting the "sendInvitationMessage" property with value 'true' to the invitation request body.

 

From the documentation https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http thought, sending invitation happens implicitly.

 

Thank you.

You can always leave feedback under the article, or edit it yourself.