Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am trying to use financial information like General Ledger Details from the Sage Intacct API (Oauth) as a data source in Power BI. I've seen reccomendations to use a Power Automate custom connector which I am able to get to function and connect to https://api.intacct.com/ia/xml/xmlgw.phtml and recieve the same results I see in postman.
My question is now that I have a custom connector in Power Automate how do I use Visual Studio to get the swagger file from the custom connector into a .mez to use in Power BI as a data source? Or is there maybe a better way to accomplish this?
here is the swagger file from the power automate custom connector with credentions as ******:
{
"swagger": "2.0",
"info": {
"title": "IntacctBlank",
"description": "blank",
"version": "1.0"
},
"host": "api.intacct.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/ia/xml/xmlgw.phtml": {
"post": {
"responses": {
"default": {
"description": "default",
"schema": {}
}
},
"summary": "GL",
"operationId": "GLDetail",
"parameters": [
{
"name": "Content-Type",
"in": "header",
"required": false,
"type": "string",
"default": "application/xml"
},
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "string",
"title": "detail",
"default": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <request> <control> <senderid>*******</senderid> <password>*******</password> <controlid></controlid> <uniqueid>false</uniqueid> <dtdversion>3.0</dtdversion> <includewhitespace>false</includewhitespace> </control> <operation> <authentication> <login> <userid>skaiser</userid> <companyid>******</companyid> <password>******</password> </login> </authentication> <content> <function controlid=\"{{$guid}}\"> <query> <object>GLDETAIL</object> <select> <field>RECORDNO</field> <field>MODULEKEY</field> </select> <filter> <equalto> <field>MODULEKEY</field> <value>11.CM</value> </equalto> </filter> </query> </function> </content> </operation> </request>"
}
}
],
"description": "test"
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": []
}
"I've seen reccomendations to use a Power Automate custom connector"
That is unfortunate. Power BI custom connectors are written in M, not in Swagger. You'll have to start over.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.