Hi Peter Thurwachter (MINDTREE LIMITED) Thank you for reaching out on Microsoft Q&A! No charges are applied for utilizing the Microsoft Graph API. When you've got your solutions licensed Microsoft Graph comes with the package. However, you're refering to the cost of Microsoft Graph Data Connect, which is something different. This is a solution for providing your own (transactional) data in Microsoft Search. This is not what you use when calling the Graph API itself. Please click "Accept answer" if you find this helpful. Feel free to drop additional queries in the comments below!
When using Microsoft Graph API from Azure Functions, and trying to convert a file on OneDrive into a PDF, are any Microsoft Graph charges incurred?
Hello,
I found this blog: https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/using-microsoft-graph-api-to-convert-the-format-of-your/ba-p/510110 Where an example using Microsoft Graph API to convert the format of a document from One Drive to PDF is provided.
The only pricing for Microsoft Graph I could find was for Microsoft Graph Data Connect, here: https://azure.microsoft.com/en-us/pricing/details/graph-data-connect/ $0.375 per 1K objects extracted.
However, I am not sure if Microsoft Graph Data Connect is necessarily being used in the process to convert the One Drive file to PDF.
Regarding Microsoft Graph Data Connect, in this link: https://learn.microsoft.com/en-us/graph/data-connect-policies#billing it says:
"Microsoft Graph Data Connect consumption charges are billed monthly on a pay-as-you-go basis. The Data Connect billing unit is in a multiple of 1000s of objects, where 1 object maps to 1 individual instance of an entity in Microsoft 365. For example, 1 email == 1 object, 1 file == 1 object, 1 Teams chat message == 1 object, and so on."
If the process of using Microsoft Graph to convert a One Drive file to PDF uses Microsoft Graph Data Connect, and if converting 1 file, would this mean 1 file == 1 object, 1 object is being extracted in the process?
Or is Microsoft Graph Data Connect not applicable, and would there simply be No Microsoft Graph charges incurred?
(I ask if there are No Microsoft Graph charges because in this "Metered APIs and services in Microsoft Graph" doc: https://learn.microsoft.com/en-us/graph/metered-api-list it says: for API "SharePoint and OneDrive for Business", No charge while API is in preview)