I am trying to invite a user in Azure B2B Active directory. I am not able to find a way to do that using Client SDK.
Is there a possible way to do that?
Thanks for your help in advance. :)
I am trying to invite a user in Azure B2B Active directory. I am not able to find a way to do that using Client SDK.
Is there a possible way to do that?
Thanks for your help in advance. :)
I can't find a method to invite a user with Microsoft.Azure.ActiveDirectory.GraphClient.
But we could do that with Microsoft.Graph. And Azure official document also recommend that you use Microsoft Graph instead of Azure AD Graph API.
I also do a demo for it. I works correctly on my side.
Before that I create the Web application in the Azure directory. Add required Invite guest users to the organization permission for Microsoft Graph
Demo code: