Forum Discussion
Azure Guest Account - Invitation email is not receiving for invited user
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:
- 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.
- caidsoffice365Copper Contributor
Thank you so much VasilMichev 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:
Response:
- caidsoffice365Copper Contributor
Hi VasilMichev,
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.