I'm inviting a user to be added as a Member to my Active Directory using the Microsoft Graph REST API.
curl -X POST \
https://graph.microsoft.com/v1.0/invitations \
-H 'authorization: Bearer ey...Jg' \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"invitedUserEmailAddress": "userInvite@hotmail.com",
"inviteRedirectUrl": "https://example.com/afterInvite",
"sendInvitationMessage": false,
"invitedUserType":"Member"
}'
I do receive a correct response with the status field:
"status": "PendingAcceptance",
which of course is true as the user has just been invited. Is there a way to see if the user has redeemed the invitation yet?
Thanks a lot