Forum Discussion
Can we connect to Power BI's datamart using Python?
- 1 year ago
Hi OmarE,
Thank you for your response.
Please find below the key points when connecting Python to Power BI Datamarts, which may help in resolving the issue:
- SQL authentication (UID/PWD) is not supported for Power BI Datamarts.
- Users with Multi-Factor Authentication (MFA) must use Authentication=ActiveDirectoryInteractive, which will trigger a login pop-up for authentication.
- For users who do not have MFA enabled, Authentication=ActiveDirectoryPassword can be used. However, this method is only applicable if the organisation does not enforce MFA.
If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.
Thank you.
Hi OmarE,
We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.
If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.
Thank you.