Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors