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! It's time to submit your entry. Live now!
When I am trying to push SQL query data into Power BI using Rest API with PowerShell, getting error says,
//Code Snippet
Please help me to get out of this...
Solved! Go to Solution.
Hi @erpeff ,
Try turning off the firewall and make sure to run it with TLS 1.2 in the script:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Best Regards
Lucien
Hi @erpeff ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien
Hi @erpeff ,
Try turning off the firewall and make sure to run it with TLS 1.2 in the script:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Best Regards
Lucien
Hello,
Where in the code should this be placed?
Thank you,
Brittany