Feb 15 2022 06:13 PM - edited Feb 15 2022 06:13 PM
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:
Feb 15 2022 11:32 PM
Feb 16 2022 12:57 AM - edited Feb 16 2022 12:58 AM
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:
Response:
Feb 16 2022 06:26 AM - edited Feb 16 2022 06:29 AM
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.
Feb 16 2022 08:28 AM