I'm currently exploring the possibility of creating an email template for the MS Graph API. I am inviting users to join my Azure platform, but the default email they receive is not very visually appealing.
public async sendUserInvite(body: {email: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="dda9b8aea99dbab0bcb4b1f3beb2b0">[email protected]</a>}) {
await this.client.api('/invitations').post({
invitedUserEmailAddress: body.email,
inviteRedirectUrl: `http://localhost:3000/`,
sendInvitationMessage: true
})
}
This is the API method used to send invitation emails to users. Despite searching extensively online, I haven't been able to find a solution yet, so I'm hoping to get some insights here. 😊