Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |