cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
erpeff
Frequent Visitor

KeyBlocker error while Pushing Data to Power BI using PowerShell

When I am trying to push SQL query data into Power BI using Rest API with PowerShell, getting error says, 

 

erpeff_3-1657534555366.png

 

 

//Code Snippet

erpeff_2-1657534524788.png

Please help me to get out of this...

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

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

View solution in original post

3 REPLIES 3
v-luwang-msft
Community Support
Community Support

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

v-luwang-msft
Community Support
Community Support

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 

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.