@Ahmad Ali - Thanks for the question and using MS Q&A platform.
Unfortunately, Microsoft Graph API is not directly used to fetch data from Azure Event Hubs. Microsoft Graph API is a RESTful web API that enables you to access Microsoft Cloud service resources. On the other hand, Azure Event Hubs is a highly scalable data streaming platform and event ingestion service. It can receive and process millions of events per second.
If you want to fetch data from Azure Event Hubs, you can use Azure Stream Analytics to filter and ingest real-time data into Azure Data Lake Storage Gen2 or Azure Synapse SQL You can then use Power BI to create custom dashboards and reports based on the data stored in Azure Data Lake Storage Gen2 or Azure Synapse SQL.
Please let me know if you have any further questions or if you need more information on how to use Azure Stream Analytics with Azure Data Lake Storage Gen2 or Azure Synapse SQL.
For more details, refer to Build real-time dashboard with Power BI dataset produced from Stream Analytics no code editor.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.