Hello GP,
Thanks for reaching out. You can achieve sending an app generated file attachment using the Graph APIs 'fileAttachment' resource's 'contentBytes' property. The property takes a Base64 string as input so you will need to convert the file contents to Base64 first before sending the attachment. You can find more information in article [https://learn.microsoft.com/en-us/graph/api/resources/fileattachment?view=graph-rest-1.0](https://learn.microsoft.com/en-us/graph/api/resources/fileattachment?view=graph-rest-1.0) and example of sending a message using fileAttachment and 'contentBytes' in article [https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http).
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.
Thanks.