Forum Discussion
invitedToGroups and invitedToApplications in Invitation API
Great find!
So how are you detecting that the user has accepted the invitation? As you can't add them to a group or application until they do.
I believe this is because they're not actually created in AzureAD until they complete the invitation process.
Thanks
Craig
- Sarat SubramaniamMay 01, 2017
Microsoft
When you invite using the Azure AD B2B API - the user is added right away and updated when the redemption happens.
So you can go ahead and add them to groups as soon as you invite them using our API.- Chad CarltonMay 11, 2017Copper Contributor
Hi, I'm still actually interested in the answer to Craig's question.
"how are you detecting that the user has accepted the invitation?"
I have need to know whether a guest user has redeemed an invitation or not.
If they have redeemed, further communications should not talk about invitations, etc). If they have not yet redeemed, I should be sending a "did you miss our invite? here's another..".
With further thought, I think this data should be interesting in both the Graph API, and the Azure Portal..
- Sarat SubramaniamMay 11, 2017
Microsoft
Hi Craig - we will be exposing the redemption state in the APIs in the coming months. This is already available in the Azure Portal in the "Source" property. And you can resend the invitation from the portal.