Forum Discussion
Automating redemption of invitations
- Apr 04, 2017
Hello Clemence - thanks for your question!
I think you are asking for a stand alone portal that can perhaps perform self-service sign-up.
This is possible with our APIs as described in the documentation here: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-b2b-api
We are in the process of publishing code samples on Github that will show you one way to do this.
Here it is: https://github.com/Azure/active-directory-dotnet-graphapi-b2bportal-web
Please note - treat this as "Alpha" level code. We are still working on it and making updates.
i believe the question was about automating user redemption of Invite.
Ie automatically accepting the invite for users.
this is relative because when users are added to a Directory as guest; they cannot be added to SPO groups via an enabled people picker in SPO until they accept.
there is not alot documented on this invite process when the end app to consume the guest identity is SPO
I have been able to add external users to SharePoint groups immediately after sending an AAD invitation using the following script:
https://gallery.technet.microsoft.com/Add-a-User-to-SharePoint-c1e50012