Forum Discussion
Power bi On Prem Data Source Endpoint
- 1 year ago
Hi Rohitpowerbinew ,
To read the output of the endpoint /DataSources({Id}), send a GET request using a tool like Postman or PowerShell:
GET https://your-server/reports/api/v2.0/DataSources/{DataSourceId}
Name, Path: Identifies the data source
ConnectionString: Shows the backend DB connection
CredentialRetrieval: Tells how credentials are managed (Store, Integrated, etc.)
Extension: Specifies the data provider (e.g., "SQL")
Use the ConnectionString and Extension fields to validate what source is being used (SQL, Oracle, etc.), and match credentials via CredentialRetrieval.
Hi Rohitpowerbinew ,
To read the output of the endpoint /DataSources({Id}), send a GET request using a tool like Postman or PowerShell:
GET https://your-server/reports/api/v2.0/DataSources/{DataSourceId}
Name, Path: Identifies the data source
ConnectionString: Shows the backend DB connection
CredentialRetrieval: Tells how credentials are managed (Store, Integrated, etc.)
Extension: Specifies the data provider (e.g., "SQL")
Use the ConnectionString and Extension fields to validate what source is being used (SQL, Oracle, etc.), and match credentials via CredentialRetrieval.