March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello Everyone,
How to call API (To download attachment from Microsoft Team meetings) in Power BI Report.
Also, share
- API which can download attachement from Microsoft Teams meetings
- Steps to call the API from Power BI report.
Thanks Amit
@amsrivas , Download team means the file we load to team/group.
Refer : This blog on community how to use API, if this can help 2nd question -https://community.powerbi.com/t5/Community-Blog/Calling-REST-APIs-and-Parsing-JSON-made-simple-with-...
Hi @amitchandak
My requirement is to download an attachment from the Meetings of Microsoft Team.
Thanks
Amit
@amsrivas Are you wanting to import data that is stored on a Teams site? It is really a SharePoint Online site behind the scenes so just use the method for that if this is the case.
My requirement is to download an attachment from the Meetings of Microsoft Team.
If it is also sharepoint list, could you please let me know the location where it is stored.
Thanks
Amit
@amsrivas Missed that, you are going to need this reference here then if you have not already seen it. https://docs.microsoft.com/en-us/graph/choose-online-meeting-api
Thanks for sharing API detail, could you please guide me on how to call API in Power BI report as well.
Thanks
Amit
@amsrivas Ah, for that you should talk to @ImkeF or @edhans
Hi @amsrivas ,
for most endpoints of the Graph API you need a custom connector: https://www.thebiccountant.com/2019/04/17/graph-api-custom-connector-power-bi/
But first you have to search through the API documentation @Greg_Deckler has mentioned to find the endpoint that delivers what you're after.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Hi @ImkeF
Thanks for the Reply.
I am able to fetch the content of attachment by using API call but my requirement is to DOWNLOAD the attachment as a file from Teams Meeting.
I just wanted to download attachment as a file to some location.
Note - I tried with Power App/Power Flow with custom connector (premium connector) however i do not have Premium version, so i am looking some work around via Power BI (Pro version)
Thanks
Amit
Thanks for clarification @amsrivas .-
You can create GET and POST requests with Power Query.
So if you have a storage that you can write to using POST requests, you can use Power Query for it.
Just have in mind, that Power Query is not meant for that, as it will often execute the commands multiple times.
So you have to cater for the files to be overwritten.
The binary content of the downloaded file has to be passed into the Content-section of the body:
https://blog.crossjoin.co.uk/2014/04/19/web-services-and-post-requests-in-power-query/
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |