Hi, unfortunately this is not possible to do currently. This documentation details the available options you have for invitation messages. If you would like, you can submit a feature request here. Please let me know if I can help you with anything else!
Azure B2B Customize Email format for Guest Users
How can we customize email to html format while inviting guest users from Graph API ?
Reference: https://learn.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0&tabs=http
I have the html
InviteMessage= "<table border=\"2\" bgcolor=\"yellow\">" +
"<tr><td>Test Invite</td><td></td><td></td></tr>" +
"</table>";
and would like to send it using Graph api/SDK
invitation.InvitedUserMessageInfo = new InvitedUserMessageInfo
{
CustomizedMessageBody = InviteMessage
};
Whenever I try to send this, invitation body would appear as
<table border="2" bgcolor="yellow"> <tr><td>Test Invite</td><td></td><td></td></tr></table>
in the recipient email with no formatting. Am I missing something. ?
Also is it possible to remove "This message was provided by the sender and is not from Microsoft Corporation." and phishing part in the email
1 answer
Sort by: Most helpful
-
James Hamil 22,086 Reputation points Microsoft Employee
2020-09-16T20:20:11.81+00:00