I am using the GraphServiceClient to create invitation to add Guest in Azure Ad and I need to add AdditionalData in the invitation.
var invitation = new Microsoft.Graph.Invitation
{
InvitedUserDisplayName = "John Doe",
InvitedUserEmailAddress = "john.doe@test.com",
InviteRedirectUrl = "https://test.com",
SendInvitationMessage = false,
AdditionalData = new Dictionary<string, object>
{
{"JobTitle", "Doctor"},
{"UsageLocation", "FR"}
}
};
await graphClient.Invitations
.Request()
.AddAsync(invitation);
John Doe is created as Guest in Azure Ad, but JobTitle and UsageLocation are null. Is it possible to add AdditionalData on invitation or only on user ?
Regards