Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I need to progrmatically send data from notebook and my research shows possible techs are
1. Graph API
2. Azure Logic App
3. Azure Communication Services
4. outlook smtp through python - does not seem to be supported by outlook anymore.
5. Outlook Activity in data pipeline has no attachment option
6. Power Automate - When a HTTP request is recieved (POST to a listener)- has no attachment option for Sending Email
7. Are there any other options?
It seems enabling graph for sending email (outlook mail rest api) requires a lot of risk assesment by IT for application permission . I am guessing delegated permission will not be useful to send dynamic emails.
Can anyone shed some light on achieving this task using Azure Comm Services if they have used it for a similar need?
@zenisekd @jwinchell40 @FabianSchut @AndreyBear @AlexisOlson
Thank you in advance
Solved! Go to Solution.
@smpa01 - I haven't done this from a notebook yet in Fabric but in a prior role we used SendGrid from WebApps and Databricks. We didn't have to send a lot per day so the Free plan covered us.
Hi @smpa01 ,
Just checking in to see if you query is resolved and if any responses were helpful. If so, kindly consider marking the helpful reply as 'Accepted Solution' to help others with similar queries.
Otherwise, feel free to reach out for further assistance.
Thank you.
@smpa01 - I haven't done this from a notebook yet in Fabric but in a prior role we used SendGrid from WebApps and Databricks. We didn't have to send a lot per day so the Free plan covered us.
@jwinchell40 this is great. So SendGrid has an Api I guess, since you used it from databricks notebook. If yes, do you mind passing on the the documentation please. I will give this a spin. I am not entirely sure if I can limit ourselves to the daily threshold ( 20 reports x unknown dynamic daily offenders ) but I am willing to give this a try. Thanks for sharing.
@smpa01 - I no longer work for that company so I do not have access to the code. However, the documentation is pretty good and they have a Python example here:
https://www.twilio.com/docs/sendgrid/for-developers/sending-email/quickstart-python
We will also be starting to integrate this into a Web App we've built so I should have another working example soon-ish.
Just to make sure I can suggest an appropriate solution, can you describe your whole pipeline?
We currently hit graph api send email from fabric notebooks, as this was the only way to directly inject very large payloads into delegated dynamic emails - large enough to exceed fabric pipeline notebook activity output buffer, which is why we figured out a way to keep the entire process in a notebook.
This is, theoretically, the fastest and most capable way of doing anything involving graph api out of a fabric notebook - anything you can delegate consent for! However, that process requires setting up an azure app registration + azure key vault to handle caching for graph api tokens.
So, maybe there is a smaller/easier solve for your specific case. 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
9 | |
5 | |
4 | |
3 | |
3 |